GT-RAIL / nav2djs

2D Navigation Widget
http://robotwebtools.org/
Other
51 stars 37 forks source link

robot pose and goal pose uses origin of map now.. #22

Closed jihoonl closed 11 years ago

rctoris commented 11 years ago

So the global scene in ros2d should take care of the offset of the map. It is possible I ignored/overlooked this. By the time nav2d gets anything (robot pose or click), the offset, rotation, resolution should all be known. That's what functions like https://github.com/RobotWebTools/ros2djs/blob/stable/src/Ros2D.js#L10

If this isn't working, it means I screwed something up in ros2d when maps come in. Very likely based on your other bug reports!

I will investigate, I was away the past few days!!

rctoris commented 11 years ago

@jihoonl does https://github.com/RobotWebTools/ros2djs/pull/16 resolve this?

jihoonl commented 11 years ago

@rctoris I coudnlt have a chance to test. But it should be resolved. Closing this