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

Map frame not being published in tutorial #9

Open
dallinbriggs opened this issue Nov 8, 2022 · 2 comments
Open

Map frame not being published in tutorial #9

dallinbriggs opened this issue Nov 8, 2022 · 2 comments

Comments

@dallinbriggs
Copy link

I have been following the tutorial for basic navigation and it appears that whatever node is supposed to be publishing the map frame isn't doing it. Steps to reproduce:

  • Installed the dependencies in a docker container running ros melodic.
  • Built the package.
export TURTLEBOT3_MODEL=burger
roslaunch turtlebot3_gazebo turtlebot3_world.launch
roslaunch mbf_beginner amcl_demo_relay_subscriber.launch
roslaunch mbf_beginner rviz.launch

At this point, I get the following error:

[ WARN] [1667867096.158526508, 1743.710000000]: Timed out waiting for transform from base_footprint to odom to become available before running costmap, tf error: canTransform: target_frame odom does not exist.. canTransform returned after 0.1 timeout was 0.1.
[ WARN] [1667867100.330887632, 1747.876000000]: No laser scan received (and thus no pose updates have been published) for 1747.876000 seconds.  Verify that data is being published on the /scan topic.

Indeed, the scan topic is not being published. I'm not sure if that is the root of the map issue or not.

@dallinbriggs
Copy link
Author

Of course, I found a solution 5 minutes after posting this issue. I ended up needing to install ros-melodic-desktop-full which installed the following packages:

  fltk1.3-doc fluid libfltk-cairo1.3 libfltk-forms1.3 libfltk-gl1.3 libfltk-images1.3 libfltk1.3 libfltk1.3-dev
  ros-melodic-camera-calibration ros-melodic-camera-calibration-parsers ros-melodic-camera-info-manager ros-melodic-gazebo-plugins
  ros-melodic-gazebo-ros-control ros-melodic-gazebo-ros-pkgs ros-melodic-image-common ros-melodic-image-pipeline ros-melodic-image-proc
  ros-melodic-image-publisher ros-melodic-image-rotate ros-melodic-image-view ros-melodic-joint-limits-interface
  ros-melodic-laser-assembler ros-melodic-laser-filters ros-melodic-laser-pipeline ros-melodic-perception ros-melodic-perception-pcl
  ros-melodic-polled-camera ros-melodic-position-controllers ros-melodic-simulators ros-melodic-stage ros-melodic-stage-ros
  ros-melodic-stereo-image-proc ros-melodic-transmission-interface ros-melodic-urdf-sim-tutorial ros-melodic-vision-opencv

I'll work to try to find which package was the one that actually fixed the issue and then list it here so it can be added to the dependencies of mbf_beginner.

@dallinbriggs
Copy link
Author

#10

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

No branches or pull requests

1 participant