Skip to content
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

Navigation in Gazebo not working with realistic update rate of laser scanner #349

Closed
shahin-y opened this issue Nov 22, 2018 · 4 comments
Closed
Assignees
Labels

Comments

@shahin-y
Copy link

shahin-y commented Nov 22, 2018

Hi,

I try to run the Turtlebot3 navigation demo in Gazebo as described in the e-manual.
However, with the normal configuration of the Turtlebot3 Bruger Gazebo model I always run into the following problem:
screenshot from 2018-11-22 15-37-29
However, if I change from <update_rate>5</update_rate> to a higher value like 25 Hz this issue does not arise. Probably this didn't occur with the update rate at 1800 Hz as well which was changed in #258. As 5 Hz is the frequency of the real sensor it should run with this value. Do you run into this problem as well?

It should be reproducible by following the steps in the e-manual:

  1. Launch simulation: 'export TURTLEBOT3_MODEL=burger' then 'roslaunch turtlebot3_gazebo turtlebot3_world.launch'
  2. Launch navigation: 'export TURTLEBOT3_MODEL=burger' then 'roslaunch turtlebot3_navigation turtlebot3_navigation.launch map_file:=/home/some_dir/catkin_ws/src/turtlebot3/turtlebot3_navigation/maps/map.yaml' (If you installed from source specify the file location accordingly)

My setup:
ROS Melodic, Gazebo version 9.0.0 on Ubuntu 18.04
I installed this (meta)package from source.
The only changes I made were in fixing the map.yaml (like: #348) and removing the leading slashes from the frames specified in the global and local costmap parameter files. As the ROS navigation stack switched to tf2 we need to remove the leading slashes to comply with tf2.

Do you encounter this problem as well? Any help appreciated, thanks!

@kijongGil kijongGil self-assigned this Nov 23, 2018
@kijongGil
Copy link
Contributor

Hi @shahin-y :)
Unfortunately, we not support ROS Melodic, Gazebo version 9.0.0 on Ubuntu 18.04 yet.
We support ROS Kinetic, gazebo 8 and Ubuntu 16.04. How about change your environments? Or please wait for our new release about ROS melodic and ubuntu 18.04 in next year.

Thanks,
Gilbert

@shahin-y
Copy link
Author

shahin-y commented Nov 23, 2018

Hi @kijongGil ,
Thanks for your swift reply! Switching to Ubuntu 16.04 and Kinetic is probably the easiest way for now.
However, as everything else runs fine in Melodic I didn't want to move to Kinetic.
Switching to the current Kinetic version of the navigation stack (with a small fix) did the trick for me. Thanks for the hint. This issue might be related to some changes in Costmap2D and its observation buffer - perhaps you'll encounter it as well when preparing the Melodic release.
Do you already have an idea when in 2019 you'll release it?

@kijongGil
Copy link
Contributor

I'm sorry for late reply. We have not been ready to release yet. So, If we'll encounter this issue, let's talk again.

@kijongGil
Copy link
Contributor

This issue will be closed since there were no actions for a while. You can reopen this issue to show this issue to the users whenever. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants