|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
36 virtual void run()
override;
58 virtual bool close()
override;
157 virtual bool applyVelocityCommand(
double x_vel,
double y_vel,
double theta_vel,
double timeout = 0.1)
override;
bool resumeNavigation() override
//Resumes a previously paused navigation task.
A base class for nested structures that can be searched.
virtual void threadRelease() override
Release method.
bool stopNavigation() override
//Stops the current navigation task.
bool getAbsoluteLocationOfCurrentTarget(yarp::dev::Nav2D::Map2DLocation &target) override
//Gets the last target set through a setNewAbsTarget() command.
Interface implemented by all device drivers.
fakeNavigationThread * navThread
virtual bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
define control board standard interfaces
virtual void run() override
Loop function.
virtual bool threadInit() override
Initialization method.
bool recomputeCurrentNavigationPath() override
Forces the navigation system to recompute the path from the current robot position to the current goa...
bool gotoTargetByAbsoluteLocation(yarp::dev::Nav2D::Map2DLocation loc) override
Sets a new navigation target, expressed in the absolute (map) coordinate frame.
fakeNavigation: Documentation to be added
bool getCurrentNavigationMap(yarp::dev::Nav2D::NavigationMapTypeEnum map_type, yarp::dev::Nav2D::MapGrid2D &map) override
Returns the current navigation map processed by the navigation algorithm.
An abstraction for a periodic thread.
bool suspendNavigation(double time) override
//Pauses the current navigation task.
bool getNavigationStatus(yarp::dev::Nav2D::NavigationStatusEnum &status) override
//Gets the status of the current navigation task.
virtual bool close() override
Close the DeviceDriver.
fakeNavigationThread(double _period, yarp::os::Searchable &_cfg)
bool gotoTargetByRelativeLocation(double x, double y, double theta) override
//Sets a new relative target, expressed in local (robot) coordinate frame.
bool getAllNavigationWaypoints(yarp::dev::Nav2D::TrajectoryTypeEnum trajectory_type, yarp::dev::Nav2D::Map2DPath &waypoints) override
Returns the list of waypoints generated by the navigation algorithm.
bool getCurrentNavigationWaypoint(yarp::dev::Nav2D::Map2DLocation &curr_waypoint) override
Returns the current waypoint pursued by the navigation algorithm.
bool getRelativeLocationOfCurrentTarget(double &x, double &y, double &theta) override
//Gets the last target set through a setNewRelTarget command, expressed in absolute coordinates.
virtual bool applyVelocityCommand(double x_vel, double y_vel, double theta_vel, double timeout=0.1) override
Apply a velocity command.