#include <yarp/dev/INavigation2D.h>
Public Member Functions | |
virtual | ~INavigation2DControlActions () |
Destructor. | |
virtual yarp::dev::ReturnValue | getNavigationStatus (NavigationStatusEnum &status)=0 |
Gets the current status of the navigation task. | |
virtual yarp::dev::ReturnValue | stopNavigation ()=0 |
Terminates the current navigation task. | |
virtual yarp::dev::ReturnValue | 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. | |
virtual yarp::dev::ReturnValue | resumeNavigation ()=0 |
Resume a previously suspended navigation task. | |
virtual yarp::dev::ReturnValue | recomputeCurrentNavigationPath ()=0 |
Forces the navigation system to recompute the path from the current robot position to the current goal. | |
virtual yarp::dev::ReturnValue | getAllNavigationWaypoints (yarp::dev::Nav2D::TrajectoryTypeEnum trajectory_type, yarp::dev::Nav2D::Map2DPath &waypoints)=0 |
Returns the list of waypoints generated by the navigation algorithm. | |
virtual yarp::dev::ReturnValue | getCurrentNavigationWaypoint (yarp::dev::Nav2D::Map2DLocation &curr_waypoint)=0 |
Returns the current waypoint pursued by the navigation algorithm. | |
virtual yarp::dev::ReturnValue | getCurrentNavigationMap (yarp::dev::Nav2D::NavigationMapTypeEnum map_type, yarp::dev::Nav2D::MapGrid2D &map)=0 |
Returns the current navigation map processed by the navigation algorithm. | |
Definition at line 150 of file INavigation2D.h.
|
inlinevirtual |
Destructor.
Definition at line 156 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 FakeNavigation, and Navigation2D_nwc_yarp.
|
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 FakeNavigation, and Navigation2D_nwc_yarp.
|
pure virtual |
Returns the current waypoint pursued by the navigation algorithm.
curr_waypoint | the current waypoint pursued by the navigation algorithm |
Implemented in FakeNavigation, and Navigation2D_nwc_yarp.
|
pure virtual |
Gets the current status of the navigation task.
Implemented in FakeNavigation, and Navigation2D_nwc_yarp.
|
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 FakeNavigation, and Navigation2D_nwc_yarp.
|
pure virtual |
Resume a previously suspended navigation task.
Implemented in FakeNavigation, and Navigation2D_nwc_yarp.
|
pure virtual |
Terminates the current navigation task.
Cannot be resumed.
Implemented in FakeNavigation, and Navigation2D_nwc_yarp.
|
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 Navigation2D_nwc_yarp, and FakeNavigation.