#include <yarp/dev/INavigation2D.h>
Public Member Functions | |
virtual | ~INavigation2DControlActions () |
Destructor. More... | |
virtual bool | getNavigationStatus (NavigationStatusEnum &status)=0 |
Gets the current status of the navigation task. More... | |
virtual bool | stopNavigation ()=0 |
Terminates the current navigation task. More... | |
virtual bool | suspendNavigation (const double time_s=std::numeric_limits< double >::infinity())=0 |
Ask to the robot to suspend the current navigation task for a defined amount of time. More... | |
virtual bool | resumeNavigation ()=0 |
Resume a previously suspended navigation task. More... | |
virtual bool | recomputeCurrentNavigationPath ()=0 |
Forces the navigation system to recompute the path from the current robot position to the current goal. More... | |
virtual bool | getAllNavigationWaypoints (yarp::dev::Nav2D::TrajectoryTypeEnum trajectory_type, yarp::dev::Nav2D::Map2DPath &waypoints)=0 |
Returns the list of waypoints generated by the navigation algorithm. More... | |
virtual bool | getCurrentNavigationWaypoint (yarp::dev::Nav2D::Map2DLocation &curr_waypoint)=0 |
Returns the current waypoint pursued by the navigation algorithm. More... | |
virtual bool | getCurrentNavigationMap (yarp::dev::Nav2D::NavigationMapTypeEnum map_type, yarp::dev::Nav2D::MapGrid2D &map)=0 |
Returns the current navigation map processed by the navigation algorithm. More... | |
Definition at line 129 of file INavigation2D.h.
|
inlinevirtual |
Destructor.
Definition at line 135 of file INavigation2D.h.
|
pure virtual |
Returns the list of waypoints generated by the navigation algorithm.
trajectory_type | specifies if we are requesting the waypoints of the global trajectory or the waypoints of the local trajectory |
waypoints | the list of waypoints generated by the navigation algorithm |
Implemented in Navigation2DClient, and fakeNavigation.
|
pure virtual |
Returns the current navigation map processed by the navigation algorithm.
map_type | the map to be requested (e.g. global, local, etc.) |
map | the map, currently used by the navigation algorithm |
Implemented in Navigation2DClient, and fakeNavigation.
|
pure virtual |
Returns the current waypoint pursued by the navigation algorithm.
curr_waypoint | the current waypoint pursued by the navigation algorithm |
Implemented in Navigation2DClient, and fakeNavigation.
|
pure virtual |
Gets the current status of the navigation task.
Implemented in Navigation2DClient, and fakeNavigation.
|
pure virtual |
Forces the navigation system to recompute the path from the current robot position to the current goal.
If no goal has been set, the command has no effect.
Implemented in Navigation2DClient, and fakeNavigation.
|
pure virtual |
Resume a previously suspended navigation task.
Implemented in Navigation2DClient, and fakeNavigation.
|
pure virtual |
Terminates the current navigation task.
Cannot be resumed.
Implemented in Navigation2DClient, and fakeNavigation.
|
pure virtual |
Ask to the robot to suspend the current navigation task for a defined amount of time.
Can be resumed by resume().
time_s |
Implemented in fakeNavigation, and Navigation2DClient.