Skip to content

Turtlebot sim not moving: [map] does not exist #74

@DanielArnett

Description

@DanielArnett

I'm trying to drive the turtlebot in Gazebo. I've done this quite a few times, but now isn't working for some reason. I've done it before on Indigo, but struggling on Kinetic.

My installation procedure:

  1. Install ROS Kinetic on Ubuntu 16.04
  2. Install Catkin
  3. Install gazebo
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
sudo apt-get update
sudo apt-get install gazebo7
sudo apt-get install libgazebo7-*

Now I try to run gazebo

  1. Run turtlebot gazebo
    roslaunch turtlebot_gazebo turtlebot_world.launch
  2. Run teleop
    roslaunch turtlebot_teleop keyboard_teleop.launch

Now I send teleop commands but see no movement. So I check the topics and see if there is any movement:

  1. /turtlebot_node/cmd_vel is responding to my teleop commands, the x velocity smoothly accelerates from 0.0 to 0.2 as expected.
  2. /cmd_vel_mux/input/teleop does the same. With both of these I believe that turtlebot should now be moving.

Here's my rqt_graph
image

Here's my frames
image

Notice that there is no /map frame.

When I open rviz I see
image

and this continues for every frame. So I add a static transform to try to fix this.
rosrun tf static_tf_publisher 0 0 0 0 0 0 map base_footprint 100

Now that error goes away but there's weirdness. The wheels still don't have the correct transformation?
image

So that's essentially where I am. The tfs aren't working by default. I've tried uninstalling, reinstalling, using different installation instructions on fresh partitions but I keep running into this unmoving turtlebot. Any help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions