Robotics StackExchange | Archived questions

Pinoneer slam mapping issue

I am following this tutorial in my attempts to learn about autonomous navigation.

When run roslaunch turtlebot_gazebo gmapping_demo.launch and all the other nodes necessary to begin mapping the default playground world, I find the map that is generated is not as "smooth" as the tutorial illustrates, the obstacles do not seem to be accounted for and my robot just does not move when I attempt to use the map for navigation.

The image below is a screenshot of my most recent mapping attempt:

image description

Notice how RVIZ doesn't show the obstacle nearest to the pioneer robot. Compare mine to the following image from the tutorial:

image description

And when navigating, the robot in RVIZ tends to "jump" around.

I don't know what's wrong. Can anyone help, please?

UPDATE:

A step I missed earlier: According to the tutorial, the local and global maps topics need to be set to /map which I've now done but I get the error illustrated in the image below:

image description

However, the tutorial says to select /map from the dropdown list but it isn't an option. However, it does allow new values to be typed into it so I provided /map as the value as per the instructions.

UPDATE:

The error reads as follows:

Error subscribing: Tried to subscribe to a topic with the same name but different md5sum as a topic that was already subscribed [navmsgs/Path/6227e2b7e9cce15051f669a5e197bbf7 vs. navmsgs/OccupancyGrid/3381f2d731d4076ec5c71b0759edbe4e]

Asked by sisko on 2017-12-22 09:41:26 UTC

Comments

Can you copy and paste the error message from RViz? The image doesn't show the entire error.

Asked by jayess on 2017-12-23 15:42:12 UTC

@jayess: I have put the full error at the end of my original question.

Asked by sisko on 2017-12-25 03:02:07 UTC

If you're moving too fast you'll get bad maps such as the ones you posted. Try slowing down, especially while turning.

Asked by jayess on 2017-12-25 19:39:28 UTC

@Jayess: The trouble is the turtlebot barely seems to respond to most of the controls. It's very slow/sluggish as is. So, it's pretty slow already. Could working on OSX host & Ubuntu guest via Parallels have anything to do with these issues?

Asked by sisko on 2017-12-26 05:38:50 UTC

Perhaps. Do you have access to a computer that has Ubuntu installed on it (not virtualized)?

Asked by jayess on 2017-12-26 11:41:25 UTC

No, unfortunately I don't. Do you recommend that as a way forward? If so, how best to create an Ubuntu operating system computer?

Asked by sisko on 2017-12-26 13:21:26 UTC

Answers