Closed EricSun787 closed 3 years ago
RViz Display
Check QoS settings and make sure its being properly published. I don't think there's anything broken about this in Nav2, no one's reported it and so far things are working fine on my end. Did you try with the Nav2 provided rviz configuration file?
ros2 launch nav2_bringup tb3_simulation_launch.py
on foxy binaries,
looks OK to me...
That's weird , I tried with the Nav2 default rviz configuration file,It also doesn't show particlecloud. You mentioned the QoS setting. Where is this parameter , it is in the launch file or in the parameter configuration file (I used the default nav2_bringup parameter configuration file). Besides, I cannot run tb3_simulation_launch.py in the virtual machine to test if this is normal on my VM , because Gazebo cannot be started. It may be because of the poor performance of my VM. I use a real robot to provide Odom data and Scan data, and TF is also correct. Thank you very much for your reply !
I found there is no messages published on /particlecloud topic.
Please try our demo, I see another map so I don't know what else has been changed. Use the local demo to debug any such issues. If it works there, try to work back the issue yourself. On QoS please refer to ROS2 docs, I can't explain ROS2 basics in this ticket.
any update?
Yes, I changed the location where the navigation runs. I launch the navigation on the VM before. If it launch on the robot side, particlecloud can be displayed normally. This may be related to the quality of my network environment. I did not find a detailed reason.
Actually this issue can be closed now,but I still hope to find the exact reason.
Thanks
Bug report
Required Info:
Steps to reproduce issue
I started the map_server node and amcl node (with lifecycle) , everything looks fine, but in Rviz, amcl particlecloud is not displayed ( Display plugin has been added )
launch file:
Terminal Output: