GT-RAIL / nav2djs

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

2D navigation with orientation #28

Closed kunzel closed 11 years ago

kunzel commented 11 years ago

Hi,

I've extended the nav2djs interface with the possibility to send the robot to a goal position at a particular orientation. The double-click behavior is still the the default behavior of the tool. However, if you set the option withOrientation you can switch to a click-and-point behavior, that is, you click a mouse button, point into the desired direction while the mouse button is still pressed, and release it when you are happy with the orientation. Below you find a screenshot of the interface.

Please note that I am new to webtools and JavaScript in general. So any feedback is more than welcome. Thanks for the nice tools that you have provided!

cheers, Lars

rctoris commented 11 years ago

:+1:

Was unable to auto merge (conflict with the changed revision number at https://github.com/WPI-RAIL/nav2djs/pull/28/files#L0L6), so I manually merged and pulled in with https://github.com/WPI-RAIL/nav2djs/pull/29

Changes have been released and r2 is now up on the CNDs (give it a few minutes for the /current to switch over on the CDN servers).