Comments (8)
Hi,
Can you ensure your branch of traffic_editor
has incorporated this fix open-rmf/rmf_traffic_editor#151
I'm assuming you're seeing this error from the beginning? Can you check if the spawn waypoint of the magni is connected to its navigation graph? Posing a screenshot of your rviz visualizer would be very helpful.
from rmf_demos.
Here is how it looks like in the traffic editor. My rviz currently does not display anything.
I was on ign_plugins branch which does not have the fix. I just switched to master branch but the problem persists
from rmf_demos.
- Can you share the output of
ros2 topic echo /robot_state
for "magni1"? - Are you passing the correct navigation graph to the fleet adapter?
rmf_demos/demos/launch/office.launch.xml
Line 39 in 326382d
- Also can you try performing a clean build after switching to
master
? i.e., removingbuild/
log/
andinstall
folders and runningcolcon build
again. In the latest traffic_editormaster
, bidirectional lanes do not have double sided arrows as seen in your image. - Are you not able to see robots or lanes in the visualizer even when you pan around? Zooming out and in might help locate where things are visualized. The view can then be saved in the config for subsequent launches. Make sure that
Map Name
in theSchedule Panel
in Rviz is set to "guest_level" as you've created in map.
from rmf_demos.
from rmf_demos.
The latest
traffic-editor
does not render bidirectional arrows; it only renders unidirectional arrows (two-way lanes are painted a solid color to try to de-clutter the UI a bit). So from looking at the screenshot, it seems that the build oftraffic-editor
is not fully up-to-date.
…
On Sat, Jun 27, 2020 at 3:03 PM Yadu @.***> wrote: - Can you share the output of ros2 topic echo /robot_state for "magni1"? - Are you passing the correct navigation graph to the fleet adapter?- Also can you try performing a clean build after switching to master? i.e., removing build/ log/ and install folders and running colcon build again. In the latest traffic_editor master, bidirectional lanes do not have double sided arrows as seen in your image. - Are you not able to see robots or lanes in the visualizer even when you pan around? Zooming out and in might help locate where things are visualized. The view can then be saved in the config for subsequent launches. Make sure that Map Name in the Schedule Panel in Rviz is set to "guest_level" as you've created in map. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#91 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIFDWT3DYQ3R75X64UOYTDRYWKUJANCNFSM4OJ4IKDQ .rmf_demos/demos/launch/office.launch.xml
Line 39 in 326382d
I am editing with another traffic editor outside the rmf_demos_ws which I did not upgrade. In the work space I pulled the latest version
from rmf_demos.
When my rviz starts, it only loads one robot on the map though the map name is correct. I have to manually retype the map name to get the whole map to load correctly. I think that is why the robots would get lost, but I am confused why rviz does not load the navigation graph at the beginning.
from rmf_demos.
The Rviz problems you describe are related to setting up the rviz config file and not pertaining to the original issue of the robot being "lost".
The original problem could be due to the robot not reporting its state information correctly. Hence, it would be helpful if you could share your terminal output of ros2 topic echo /robot_state
as suggested previously. If you're using an older implementation of slotcar
plugin, the level_name
field may not be populated in the publishing RobotState message. It would be helpful to verify this.
With regards to seeing the lanes in rviz at launch, you can to ensure:
- Your launch file that includes the
visualizer.xml
file, passes the correct "map_name" argument for your map. Inrmf_demos
here is a reference for doing thisrmf_demos/demos/launch/common.launch.xml
Line 24 in 7e60aea
- When RViz launches, the "Map Name" field in the SchedulePanel will probably differ from the name supplied above. This is because the Panel does not use the same launch parameters. You should overwrite the field with the appropriate map name and save the Rviz config file so that subsequent launches will load the correct map name.
from rmf_demos.
The Rviz problems you describe are related to setting up the rviz config file and not pertaining to the original issue of the robot being "lost".
The original problem could be due to the robot not reporting its state information correctly. Hence, it would be helpful if you could share your terminal output of
ros2 topic echo /robot_state
as suggested previously. If you're using an older implementation ofslotcar
plugin, thelevel_name
field may not be populated in the publishing RobotState message. It would be helpful to verify this.With regards to seeing the lanes in rviz at launch, you can to ensure:
- Your launch file that includes the
visualizer.xml
file, passes the correct "map_name" argument for your map. Inrmf_demos
here is a reference for doing thisrmf_demos/demos/launch/common.launch.xml
Line 24 in 7e60aea
- When RViz launches, the "Map Name" field in the SchedulePanel will probably differ from the name supplied above. This is because the Panel does not use the same launch parameters. You should overwrite the field with the appropriate map name and save the Rviz config file so that subsequent launches will load the correct map name.
Thank you for the suggestion on RViz, now I get the map load when it starts.
For the floor map error, I cloned the packages again and rebuilt my workspace. Now I don't have the error. I think probably something did not update when I pulled before.
from rmf_demos.
Related Issues (20)
- Improve visualization of the maps HOT 1
- Specify enclaves for ros nodes started by plugins on gzclient HOT 1
- rmf_demos installation - colcon build error (stderr: test_maps...) HOT 2
- Handshake timed out on SROS 2 HOT 2
- Robot gets stuck on task if dispenser is set incorrectly HOT 4
- Gazebo segfaults when launching rmf demos HOT 5
- package that spawns tinyrobot HOT 15
- gzclient crashes when launching airport_temrinal or clinic worlds
- Unable to connect to RMF Panel HOT 15
- How to publish robot's current floor name in the level name field of its RobotState? HOT 6
- Loop request fails for a certain waypoint HOT 7
- Error while running office_traffic_light_test.launch.xml HOT 3
- Is it required to customized your own RViz? HOT 2
- How to send loop request via RMF Panel in RViz HOT 4
- Feature request: Add a dispatch_loop script to rmf_demo_tasks HOT 1
- npm building process in rmf_pannel needs improvement
- rmf_demos installation - colcon build error (stderr: rmf_schedule_visualizer ) HOT 3
- Cleaning Task in airport_terminal and clinic demos not working HOT 2
- RMF Panel report an error HOT 4
- Could not checkout ref 'master': fatal: invalid reference: master HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rmf_demos.