Class: Navigator

NAV2D. Navigator

A navigator can be used to add click-to-navigate options to an object. If withOrientation is set to true, the user can also specify the orientation of the robot by clicking at the goal position and pointing into the desired direction (while holding the button pressed).
Parameters:
Name Type Description
options object with following keys: * ros - the ROSLIB.Ros connection handle * serverName (optional) - the action server name to use for navigation, like '/move_base' * actionName (optional) - the navigation action name, like 'move_base_msgs/MoveBaseAction' * rootObject (optional) - the root object to add the click listeners to and render robot markers to * withOrientation (optional) - if the Navigator should consider the robot orientation (default: false)
Source:

Methods

<inner> sendGoal(pose)

Send a goal to the navigation stack with the given pose.
Parameters:
Name Type Description
pose the goal pose
Source: