A Drive Object controls a single axis. It is responsible for keeping track of its status (enabled, disabled).
More...
#include <DriveInterface.hpp>
A Drive Object controls a single axis. It is responsible for keeping track of its status (enabled, disabled).
Definition at line 56 of file DriveInterface.hpp.
virtual RTT::dev::DriveInterface::~DriveInterface |
( |
| ) |
|
|
inlinevirtual |
virtual void RTT::dev::DriveInterface::addOffset |
( |
double |
addoffset | ) |
|
|
pure virtual |
Add an offset to the current drive value. Use this value to compensate for drift when the drive is enabled.
virtual bool RTT::dev::DriveInterface::disableDrive |
( |
| ) |
|
|
pure virtual |
virtual double RTT::dev::DriveInterface::driveGet |
( |
| ) |
const |
|
pure virtual |
Returns the current drive velocity.
virtual bool RTT::dev::DriveInterface::driveSet |
( |
double |
v | ) |
|
|
pure virtual |
Sets a new velocity.
- Parameters
-
- Returns
- false if not enabled.
virtual bool RTT::dev::DriveInterface::enableDrive |
( |
| ) |
|
|
pure virtual |
virtual double RTT::dev::DriveInterface::getOffset |
( |
| ) |
|
|
pure virtual |
virtual bool RTT::dev::DriveInterface::isEnabled |
( |
| ) |
const |
|
pure virtual |
Query if the drive is enabled or not.
virtual void RTT::dev::DriveInterface::limit |
( |
double |
lower, |
|
|
double |
higher, |
|
|
const internal::Signal< void(std::string)> & |
ev |
|
) |
| |
|
pure virtual |
Limit the velocity of the drive.
virtual double RTT::dev::DriveInterface::maxDriveGet |
( |
| ) |
const |
|
pure virtual |
Returns the maximum drive velocity without limitations.
virtual double RTT::dev::DriveInterface::minDriveGet |
( |
| ) |
const |
|
pure virtual |
Returns the minimum drive velocity without limitations.
The documentation for this class was generated from the following file: