YARP
Yet Another Robot Platform
yarp::dev::Nav2D::INavigation2DTargetActions Class Referenceabstract

#include <yarp/dev/INavigation2D.h>

+ Inheritance diagram for yarp::dev::Nav2D::INavigation2DTargetActions:

Public Member Functions

virtual ~INavigation2DTargetActions ()
 Destructor. More...
 
virtual bool gotoTargetByAbsoluteLocation (yarp::dev::Nav2D::Map2DLocation loc)=0
 Ask the robot to reach a position defined in the world reference frame. More...
 
virtual bool getAbsoluteLocationOfCurrentTarget (yarp::dev::Nav2D::Map2DLocation &loc)=0
 Gets the last navigation target in the world reference frame. More...
 
virtual bool gotoTargetByRelativeLocation (double x, double y)=0
 Ask the robot to reach a position defined in the robot reference frame. More...
 
virtual bool gotoTargetByRelativeLocation (double x, double y, double theta)=0
 Ask the robot to reach a position defined in the robot reference frame. More...
 
virtual bool getRelativeLocationOfCurrentTarget (double &x, double &y, double &theta)=0
 Gets the last navigation target in the robot reference frame. More...
 

Detailed Description

Definition at line 93 of file INavigation2D.h.

Constructor & Destructor Documentation

◆ ~INavigation2DTargetActions()

virtual yarp::dev::Nav2D::INavigation2DTargetActions::~INavigation2DTargetActions ( )
inlinevirtual

Destructor.

Definition at line 99 of file INavigation2D.h.

Member Function Documentation

◆ getAbsoluteLocationOfCurrentTarget()

virtual bool yarp::dev::Nav2D::INavigation2DTargetActions::getAbsoluteLocationOfCurrentTarget ( yarp::dev::Nav2D::Map2DLocation loc)
pure virtual

Gets the last navigation target in the world reference frame.

Parameters
locthe location of the robot
Returns
true/false

Implemented in Navigation2D_nwc_yarp, and fakeNavigation.

◆ getRelativeLocationOfCurrentTarget()

virtual bool yarp::dev::Nav2D::INavigation2DTargetActions::getRelativeLocationOfCurrentTarget ( double &  x,
double &  y,
double &  theta 
)
pure virtual

Gets the last navigation target in the robot reference frame.

Parameters
x
y
theta
Returns
true/false

Implemented in fakeNavigation, and Navigation2D_nwc_yarp.

◆ gotoTargetByAbsoluteLocation()

virtual bool yarp::dev::Nav2D::INavigation2DTargetActions::gotoTargetByAbsoluteLocation ( yarp::dev::Nav2D::Map2DLocation  loc)
pure virtual

Ask the robot to reach a position defined in the world reference frame.

Parameters
locthe location to be reached
Returns
true/false

Implemented in fakeNavigation, and Navigation2D_nwc_yarp.

◆ gotoTargetByRelativeLocation() [1/2]

virtual bool yarp::dev::Nav2D::INavigation2DTargetActions::gotoTargetByRelativeLocation ( double  x,
double  y 
)
pure virtual

Ask the robot to reach a position defined in the robot reference frame.

The final orientation of the goal is unspecified.

Parameters
x
y
Returns
true/false

Implemented in fakeNavigation, and Navigation2D_nwc_yarp.

◆ gotoTargetByRelativeLocation() [2/2]

virtual bool yarp::dev::Nav2D::INavigation2DTargetActions::gotoTargetByRelativeLocation ( double  x,
double  y,
double  theta 
)
pure virtual

Ask the robot to reach a position defined in the robot reference frame.

Parameters
x
y
theta
Returns
true/false

Implemented in fakeNavigation, and Navigation2D_nwc_yarp.


The documentation for this class was generated from the following file: