YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
yarp::dev::Nav2D::INavigation2DTargetActions Class Referenceabstract

#include <yarp/dev/INavigation2D.h>

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

Public Member Functions

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

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

◆ followPath()

virtual bool yarp::dev::Nav2D::INavigation2DTargetActions::followPath ( const yarp::dev::Nav2D::Map2DPath path)
pure virtual

Ask the robot to navigate through a set of locations defined in the world reference frame.

Parameters
paththe locations to be reached
Returns
true/false

Implemented in Navigation2D_nwc_yarp, and FakeNavigation.

◆ 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: