kinematics-dynamics
Public Member Functions | List of all members
roboticslab::InvalidDevice Class Reference

Represents an invalid device. More...

#include <StreamingDevice.hpp>

Inheritance diagram for roboticslab::InvalidDevice:
roboticslab::StreamingDevice

Public Member Functions

 InvalidDevice ()
 Creates an invalid device.
 
bool acquireInterfaces () override
 Acquires plugin interfaces. More...
 
bool acquireData () override
 Acquires data from remote device. More...
 
void sendMovementCommand (double timestamp) override
 Sends movement command to the cartesian controller. More...
 
void stopMotion () override
 Sends a movement command that would stop motion.
 
- Public Member Functions inherited from roboticslab::StreamingDevice
 StreamingDevice (yarp::os::Searchable &config)
 Constructor. More...
 
virtual ~StreamingDevice ()
 Destructor.
 
virtual bool initialize (bool usingStreamingPreset)
 Perform any custom initialization needed. This method is called after the successful creation of the device and once all interface handles are acquired. More...
 
virtual bool transformData (double scaling)
 Performs required operations on stored data. More...
 
virtual int getActuatorState ()
 If actuator command data is available, return its current state. More...
 
virtual bool hasValidMovementData () const
 Checks whether the device may forward acquired and processed data to the controller. More...
 
void setCartesianControllerHandle (ICartesianControl *iCartesianControl)
 Stores handle to an ICartesianControl instance. More...
 

Additional Inherited Members

- Protected Attributes inherited from roboticslab::StreamingDevice
ICartesianControliCartesianControl
 
std::vector< double > data
 
std::vector< bool > fixedAxes
 
int actuatorState
 

Detailed Description

A call to isValid() and other interface methods should yield false.

Member Function Documentation

◆ acquireData()

bool roboticslab::InvalidDevice::acquireData ( )
inlineoverridevirtual
Returns
true on success, false otherwise

Implements roboticslab::StreamingDevice.

◆ acquireInterfaces()

bool roboticslab::InvalidDevice::acquireInterfaces ( )
inlineoverridevirtual
Returns
true on success, false otherwise

Implements roboticslab::StreamingDevice.

◆ sendMovementCommand()

void roboticslab::InvalidDevice::sendMovementCommand ( double  timestamp)
inlineoverridevirtual
Parameters
timestampCurrent timestamp.

Implements roboticslab::StreamingDevice.


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