GT-RAIL / rms

RMS (Robot Management System)
http://wiki.ros.org/rms
Other
28 stars 24 forks source link

90Deg rotated NAV2DJS's goal display? #27

Closed inkyusa closed 9 years ago

inkyusa commented 9 years ago

Hello, RMS

I am trying to use NAV2D (revision 0.3.0) with enabling a parameter "withOrientation".

Clicking and moving a mouse cursor changes the orientation of a goal (Still holding a mouse button). Once I release the mouse button, the goal is 90 degree rotated from the previous clicking-moving goal. (It sounds bit confusing though.) So I added the following line to rotate the clicking-moving goal.

orientationMarker.rotation = thetaDegrees+90;

It then draws a clicking-moving goal as expected.

Is there any foreseeable issues on this?

Best,

rctoris commented 9 years ago

Hmmm this shouldn't be happening. What version of ros2djs are you using?

inkyusa commented 9 years ago

I am using revision 2 for ros2djs. Update it to 0.5.0 and resolved the issue. Thank you.

rctoris commented 9 years ago

The latest ros2djs (0.5.0) should fix the issue.