-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rviz2 not receiving map (tutorial example) #78
Comments
To add to this post: I got to the point where I decided to simply clone the repo, but still run into the same issues. |
@PVBrodersen hi! I'm facing the same problem too. |
Any update on this? |
I am also having this problem. I use humble |
I also can't solve this problem. |
I am running ROS2 Humble on Ubuntu 22.04 LTS |
However, after reading into this issue a bit more, I suspect that it may be due to the fact that the default parameter of navigation.launch.py do NOT contain the parameters specified for nav2_costmap_2d as otherwise stated in the guide. I will keep you posted if modifying this changes anything. |
Sadly a reconfiguration did not seem to fix the issue |
OK, after looking around, I have found that this issue is the same as described in another thread on the github: #64 Essentially, the joint state publisher needs to be setup with the sim_time parameter. After doing this, and launching everything from the same launch file I have gotten my solution to work. |
I have been following along with this tutorial, and gotten to the section regarding visualization of costmaps. However, at this point, I run into 2 issues:
As the section suggests, rviz2 is unable to receive any maps from the respective costmaps topics, even though I can confirm that data is published using topic echo:
"
ros2 topic echo /global_costmap/costmap
header:
stamp:
sec: 1702383893
nanosec: 146251016
frame_id: map
info:
map_load_time:
sec: 0
nanosec: 0
resolution: 0.05000000074505806
width: 44
height: 36
origin:
position:
x: -1.1546438506086725
y: -0.6746192693179669
z: 0.0
orientation:
x: 0.0
y: 0.0
z: 0.0
w: 1.0
"
After running "display.launch.py" it opens rviz2 and gazebo as expected, but after sometime the terminal starts outputting the following:
Which is also represented by a drifting map frame in rviz i.e. the frame starts moving up the z-axis.
Any suggestions as to what this might be caused by?
The text was updated successfully, but these errors were encountered: