Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I'm not sure what you mean by "plotted with respect to origin".

Are they absolute to the origin? Do they appear at the place in the map, where they actually belong (i.e. do they match the map)? In that case this is the correct and expected behaviour. If you want to see it differently, i.e. focused around the robot, set the Fixed Frame to /base_link.

Are all laser scans displayed at the origin while the robot moves (correctly)? In that case something is set up wrong, probably with tf. When setting the fixed frame to /laser the scans should stay centered (like in a pure laser viewer). With fixed frame to /odom, /map they should move. You can check how the tf information looks with the tf plugin.