#include <gotoRobotController.h>
Inherits SubController.

Public Member Functions | |
| GotoRobotController (const std::string &name, srCore::RobotActorBase *robotActor) | |
| CtrlMsg * | Act (CtrlMsg *message) |
| Transforms visual indicated locations into wheel commands. | |
This file gotoRobotController.h is created at Almende B.V. It is open-source software and part of the Common Hybrid Agent Platform (CHAP). A toolbox with a lot of open-source tools. Ranging from thread pools, and TCP/IP components to control architectures and learning algorithms.
There are no licenses involved.
This class is a subcontroller. It assumes a LOCATION_IN_VIEW signal as input to the Act function and outputs a series of WHEEL_COMMANDS. Those outputs can be subsumed by another module in the overall controller, for example to actually dock to a robot.
Definition at line 30 of file gotoRobotController.h.
| GotoRobotController::GotoRobotController | ( | const std::string & | name, | |
| srCore::RobotActorBase * | robotActor | |||
| ) |
| name | ||
| robotActor |
Definition at line 39 of file gotoRobotController.cpp.
Transforms visual indicated locations into wheel commands.
This function uses the output of the DetectRobotVisually class. That class uses the visual information to detect where there is a robot-like blob. First using a low-resolution saliency model and next by using SIFT object detection. This class uses this information to actually control the robot to navigate towards this detected object in the visual field.
Location is between -1.0 and +1.0
The wheels are driven by the location (only forwards)
Overwrite the outgoing message that will be sent
Reimplemented from SubController.
Definition at line 56 of file gotoRobotController.cpp.
References SubController::outgoingMsg.
1.6.1