|
| FakeBot () |
|
bool | open (yarp::os::Searchable &config) override |
| Open the DeviceDriver. More...
|
|
bool | getImage (yarp::sig::ImageOf< yarp::sig::PixelRgb > &image) override |
| Get an image from the frame grabber. More...
|
|
int | height () const override |
| Return the height of each frame. More...
|
|
int | width () const override |
| Return the width of each frame. More...
|
|
bool | getAxes (int *ax) override |
| Get the number of controlled axes. More...
|
|
bool | positionMove (int j, double ref) override |
| Set new reference point for a single axis. More...
|
|
bool | positionMove (const double *refs) override |
| Set new reference point for all axes. More...
|
|
bool | relativeMove (int j, double delta) override |
| Set relative position. More...
|
|
bool | relativeMove (const double *deltas) override |
| Set relative position, all joints. More...
|
|
bool | checkMotionDone (int j, bool *flag) override |
| Check if the current trajectory is terminated. More...
|
|
bool | checkMotionDone (bool *flag) override |
| Check if the current trajectory is terminated. More...
|
|
bool | setRefSpeed (int j, double sp) override |
| Set reference speed for a joint, this is the speed used during the interpolation of the trajectory. More...
|
|
bool | setRefSpeeds (const double *spds) override |
| Set reference speed on all joints. More...
|
|
bool | setRefAcceleration (int j, double acc) override |
| Set reference acceleration for a joint. More...
|
|
bool | setRefAccelerations (const double *accs) override |
| Set reference acceleration on all joints. More...
|
|
bool | getRefSpeed (int j, double *ref) override |
| Get reference speed for a joint. More...
|
|
bool | getRefSpeeds (double *spds) override |
| Get reference speed of all joints. More...
|
|
bool | getRefAcceleration (int j, double *acc) override |
| Get reference acceleration for a joint. More...
|
|
bool | getRefAccelerations (double *accs) override |
| Get reference acceleration of all joints. More...
|
|
bool | stop (int j) override |
| Stop motion, single joint. More...
|
|
bool | stop () override |
| Stop motion, multiple joints. More...
|
|
bool | close () override |
| Close the DeviceDriver. More...
|
|
bool | resetEncoder (int j) override |
| Reset encoder, single joint. More...
|
|
bool | resetEncoders () override |
| Reset encoders. More...
|
|
bool | setEncoder (int j, double val) override |
| Set the value of the encoder for a given joint. More...
|
|
bool | setEncoders (const double *vals) override |
| Set the value of all encoders. More...
|
|
bool | getEncoder (int j, double *v) override |
| Read the value of an encoder. More...
|
|
bool | getEncoders (double *encs) override |
| Read the position of all axes. More...
|
|
bool | getEncoderSpeed (int j, double *sp) override |
| Read the istantaneous speed of an axis. More...
|
|
bool | getEncoderSpeeds (double *spds) override |
| Read the instantaneous speed of all axes. More...
|
|
bool | getEncoderAcceleration (int j, double *spds) override |
| Read the instantaneous acceleration of an axis. More...
|
|
bool | getEncoderAccelerations (double *accs) override |
| Read the instantaneous acceleration of all axes. More...
|
|
bool | positionMove (const int n_joint, const int *joints, const double *refs) override |
| Set new reference point for a subset of joints. More...
|
|
bool | relativeMove (const int n_joint, const int *joints, const double *deltas) override |
| Set relative position for a subset of joints. More...
|
|
bool | checkMotionDone (const int n_joint, const int *joints, bool *flags) override |
| Check if the current trajectory is terminated. More...
|
|
bool | setRefSpeeds (const int n_joint, const int *joints, const double *spds) override |
| Set reference speed on all joints. More...
|
|
bool | setRefAccelerations (const int n_joint, const int *joints, const double *accs) override |
| Set reference acceleration on all joints. More...
|
|
bool | getRefSpeeds (const int n_joint, const int *joints, double *spds) override |
| Get reference speed of all joints. More...
|
|
bool | getRefAccelerations (const int n_joint, const int *joints, double *accs) override |
| Get reference acceleration for a joint. More...
|
|
bool | stop (const int n_joint, const int *joints) override |
| Stop motion for subset of joints. More...
|
|
bool | getEncodersTimed (double *encs, double *time) override |
| Read the instantaneous acceleration of all axes. More...
|
|
bool | getEncoderTimed (int j, double *enc, double *time) override |
| Read the instantaneous acceleration of all axes. More...
|
|
bool | velocityMove (int j, double sp) override |
| Start motion at a given speed, single joint. More...
|
|
bool | velocityMove (const double *sp) override |
| Start motion at a given speed, multiple joints. More...
|
|
bool | velocityMove (const int n_joint, const int *joints, const double *spds) override |
| Start motion at a given speed for a subset of joints. More...
|
|
bool | enableAmp (int j) override |
| Enable the amplifier on a specific joint. More...
|
|
bool | disableAmp (int j) override |
| Disable the amplifier on a specific joint. More...
|
|
bool | getCurrent (int j, double *val) override |
|
bool | getCurrents (double *vals) override |
|
bool | getMaxCurrent (int j, double *v) override |
| Returns the maximum electric current allowed for a given motor. More...
|
|
bool | setMaxCurrent (int j, double v) override |
|
bool | getAmpStatus (int *st) override |
|
bool | getAmpStatus (int k, int *v) override |
|
bool | calibrateAxisWithParams (int j, unsigned int iv, double v1, double v2, double v3) override |
| Start calibration, this method is very often platform specific. More...
|
|
bool | calibrationDone (int j) override |
| Check if the calibration is terminated, on a particular joint. More...
|
|
bool | getLimits (int axis, double *min, double *max) override |
| Get the software limits for a particular axis. More...
|
|
bool | setLimits (int axis, double min, double max) override |
| Set the software limits for a particular axis, the behavior of the control card when these limits are exceeded, depends on the implementation. More...
|
|
bool | setVelLimits (int axis, double min, double max) override |
| Set the software speed limits for a particular axis, the behavior of the control card when these limits are exceeded, depends on the implementation. More...
|
|
bool | getVelLimits (int axis, double *min, double *max) override |
| Get the software speed limits for a particular axis. More...
|
|
void | run () override |
| Main body of the new thread. More...
|
|
| DeviceDriver () |
|
| DeviceDriver (const DeviceDriver &other)=delete |
|
| DeviceDriver (DeviceDriver &&other) noexcept=delete |
|
DeviceDriver & | operator= (const DeviceDriver &other)=delete |
|
DeviceDriver & | operator= (DeviceDriver &&other) noexcept=delete |
|
| ~DeviceDriver () override |
|
bool | open (yarp::os::Searchable &config) override |
| Open the DeviceDriver. More...
|
|
bool | close () override |
| Close the DeviceDriver. More...
|
|
virtual std::string | id () const |
| Return the id assigned to the PolyDriver. More...
|
|
virtual void | setId (const std::string &id) |
| Set the id for this device. More...
|
|
template<class T > |
bool | view (T *&x) |
| Get an interface to the device driver. More...
|
|
virtual DeviceDriver * | getImplementation () |
| Some drivers are bureaucrats, pointing at others. More...
|
|
virtual | ~IConfig () |
| Destructor. More...
|
|
virtual bool | open (Searchable &config) |
| Initialize the object. More...
|
|
virtual bool | close () |
| Shut the object down. More...
|
|
virtual bool | configure (Searchable &config) |
| Change online parameters. More...
|
|
virtual | ~IPositionControl () |
| Destructor. More...
|
|
virtual bool | getAxes (int *ax)=0 |
| Get the number of controlled axes. More...
|
|
virtual bool | positionMove (int j, double ref)=0 |
| Set new reference point for a single axis. More...
|
|
virtual bool | positionMove (const double *refs)=0 |
| Set new reference point for all axes. More...
|
|
virtual bool | relativeMove (int j, double delta)=0 |
| Set relative position. More...
|
|
virtual bool | relativeMove (const double *deltas)=0 |
| Set relative position, all joints. More...
|
|
virtual bool | checkMotionDone (int j, bool *flag)=0 |
| Check if the current trajectory is terminated. More...
|
|
virtual bool | checkMotionDone (bool *flag)=0 |
| Check if the current trajectory is terminated. More...
|
|
virtual bool | setRefSpeed (int j, double sp)=0 |
| Set reference speed for a joint, this is the speed used during the interpolation of the trajectory. More...
|
|
virtual bool | setRefSpeeds (const double *spds)=0 |
| Set reference speed on all joints. More...
|
|
virtual bool | setRefAcceleration (int j, double acc)=0 |
| Set reference acceleration for a joint. More...
|
|
virtual bool | setRefAccelerations (const double *accs)=0 |
| Set reference acceleration on all joints. More...
|
|
virtual bool | getRefSpeed (int j, double *ref)=0 |
| Get reference speed for a joint. More...
|
|
virtual bool | getRefSpeeds (double *spds)=0 |
| Get reference speed of all joints. More...
|
|
virtual bool | getRefAcceleration (int j, double *acc)=0 |
| Get reference acceleration for a joint. More...
|
|
virtual bool | getRefAccelerations (double *accs)=0 |
| Get reference acceleration of all joints. More...
|
|
virtual bool | stop (int j)=0 |
| Stop motion, single joint. More...
|
|
virtual bool | stop ()=0 |
| Stop motion, multiple joints. More...
|
|
virtual bool | positionMove (const int n_joint, const int *joints, const double *refs)=0 |
| Set new reference point for a subset of joints. More...
|
|
virtual bool | relativeMove (const int n_joint, const int *joints, const double *deltas)=0 |
| Set relative position for a subset of joints. More...
|
|
virtual bool | checkMotionDone (const int n_joint, const int *joints, bool *flag)=0 |
| Check if the current trajectory is terminated. More...
|
|
virtual bool | setRefSpeeds (const int n_joint, const int *joints, const double *spds)=0 |
| Set reference speed on all joints. More...
|
|
virtual bool | setRefAccelerations (const int n_joint, const int *joints, const double *accs)=0 |
| Set reference acceleration on all joints. More...
|
|
virtual bool | getRefSpeeds (const int n_joint, const int *joints, double *spds)=0 |
| Get reference speed of all joints. More...
|
|
virtual bool | getRefAccelerations (const int n_joint, const int *joints, double *accs)=0 |
| Get reference acceleration for a joint. More...
|
|
virtual bool | stop (const int n_joint, const int *joints)=0 |
| Stop motion for subset of joints. More...
|
|
virtual bool | getTargetPosition (const int joint, double *ref) |
| Get the last position reference for the specified axis. More...
|
|
virtual bool | getTargetPositions (double *refs) |
| Get the last position reference for all axes. More...
|
|
virtual bool | getTargetPositions (const int n_joint, const int *joints, double *refs) |
| Get the last position reference for the specified group of axes. More...
|
|
virtual | ~IVelocityControl () |
| Destructor. More...
|
|
virtual bool | getAxes (int *axes)=0 |
| Get the number of controlled axes. More...
|
|
virtual bool | velocityMove (int j, double sp)=0 |
| Start motion at a given speed, single joint. More...
|
|
virtual bool | velocityMove (const double *sp)=0 |
| Start motion at a given speed, multiple joints. More...
|
|
virtual bool | setRefAcceleration (int j, double acc)=0 |
| Set reference acceleration for a joint. More...
|
|
virtual bool | setRefAccelerations (const double *accs)=0 |
| Set reference acceleration on all joints. More...
|
|
virtual bool | getRefAcceleration (int j, double *acc)=0 |
| Get reference acceleration for a joint. More...
|
|
virtual bool | getRefAccelerations (double *accs)=0 |
| Get reference acceleration of all joints. More...
|
|
virtual bool | stop (int j)=0 |
| Stop motion, single joint. More...
|
|
virtual bool | stop ()=0 |
| Stop motion, multiple joints. More...
|
|
virtual bool | velocityMove (const int n_joint, const int *joints, const double *spds)=0 |
| Start motion at a given speed for a subset of joints. More...
|
|
virtual bool | getRefVelocity (const int joint, double *vel) |
| Get the last reference speed set by velocityMove for single joint. More...
|
|
virtual bool | getRefVelocities (double *vels) |
| Get the last reference speed set by velocityMove for all joints. More...
|
|
virtual bool | getRefVelocities (const int n_joint, const int *joints, double *vels) |
| Get the last reference speed set by velocityMove for a group of joints. More...
|
|
virtual bool | setRefAccelerations (const int n_joint, const int *joints, const double *accs)=0 |
| Set reference acceleration for a subset of joints. More...
|
|
virtual bool | getRefAccelerations (const int n_joint, const int *joints, double *accs)=0 |
| Get reference acceleration for a subset of joints. More...
|
|
virtual bool | stop (const int n_joint, const int *joints)=0 |
| Stop motion for a subset of joints. More...
|
|
virtual | ~IAmplifierControl () |
| Destructor. More...
|
|
virtual bool | enableAmp (int j)=0 |
| Enable the amplifier on a specific joint. More...
|
|
virtual bool | disableAmp (int j)=0 |
| Disable the amplifier on a specific joint. More...
|
|
virtual bool | getAmpStatus (int *st)=0 |
|
virtual bool | getAmpStatus (int j, int *v)=0 |
|
virtual bool | getCurrents (double *vals)=0 |
|
virtual bool | getCurrent (int j, double *val)=0 |
|
virtual bool | getMaxCurrent (int j, double *v)=0 |
| Returns the maximum electric current allowed for a given motor. More...
|
|
virtual bool | setMaxCurrent (int j, double v)=0 |
|
virtual bool | getNominalCurrent (int m, double *val) |
|
virtual bool | setNominalCurrent (int m, const double val) |
|
virtual bool | getPeakCurrent (int m, double *val) |
|
virtual bool | setPeakCurrent (int m, const double val) |
|
virtual bool | getPWM (int j, double *val) |
|
virtual bool | getPWMLimit (int j, double *val) |
|
virtual bool | setPWMLimit (int j, const double val) |
|
virtual bool | getPowerSupplyVoltage (int j, double *val) |
|
virtual | ~IEncodersTimed () |
| Destructor. More...
|
|
virtual bool | getEncodersTimed (double *encs, double *time)=0 |
| Read the instantaneous acceleration of all axes. More...
|
|
virtual bool | getEncoderTimed (int j, double *encs, double *time)=0 |
| Read the instantaneous acceleration of all axes. More...
|
|
virtual | ~IEncoders () |
| Destructor. More...
|
|
virtual bool | getAxes (int *ax)=0 |
| Get the number of controlled axes. More...
|
|
virtual bool | resetEncoder (int j)=0 |
| Reset encoder, single joint. More...
|
|
virtual bool | resetEncoders ()=0 |
| Reset encoders. More...
|
|
virtual bool | setEncoder (int j, double val)=0 |
| Set the value of the encoder for a given joint. More...
|
|
virtual bool | setEncoders (const double *vals)=0 |
| Set the value of all encoders. More...
|
|
virtual bool | getEncoder (int j, double *v)=0 |
| Read the value of an encoder. More...
|
|
virtual bool | getEncoders (double *encs)=0 |
| Read the position of all axes. More...
|
|
virtual bool | getEncoderSpeed (int j, double *sp)=0 |
| Read the istantaneous speed of an axis. More...
|
|
virtual bool | getEncoderSpeeds (double *spds)=0 |
| Read the instantaneous speed of all axes. More...
|
|
virtual bool | getEncoderAcceleration (int j, double *spds)=0 |
| Read the instantaneous acceleration of an axis. More...
|
|
virtual bool | getEncoderAccelerations (double *accs)=0 |
| Read the instantaneous acceleration of all axes. More...
|
|
virtual bool | getImage (yarp::sig::ImageOf< yarp::sig::PixelRgb > &image)=0 |
| Get an image from the frame grabber. More...
|
|
virtual bool | getImageCrop (cropType_id_t cropType, yarp::sig::VectorOf< std::pair< int, int > > vertices, yarp::sig::ImageOf< yarp::sig::PixelRgb > &image) |
| Get a crop of the image from the frame grabber. More...
|
|
virtual | ~IFrameGrabberImageBase () |
| Destructor. More...
|
|
virtual int | height () const =0 |
| Return the height of each frame. More...
|
|
virtual int | width () const =0 |
| Return the width of each frame. More...
|
|
| IControlCalibration () |
|
virtual | ~IControlCalibration () |
| Destructor. More...
|
|
virtual bool | calibrateAxisWithParams (int axis, unsigned int type, double p1, double p2, double p3)=0 |
| Start calibration, this method is very often platform specific. More...
|
|
virtual bool | setCalibrationParameters (int axis, const CalibrationParameters ¶ms) |
| Start calibration, this method is very often platform specific. More...
|
|
virtual bool | calibrationDone (int j)=0 |
| Check if the calibration is terminated, on a particular joint. More...
|
|
virtual bool | setCalibrator (ICalibrator *c) |
| Set the calibrator object to be used to calibrate the robot. More...
|
|
virtual bool | calibrateRobot () |
| Calibrate robot by using an external calibrator. More...
|
|
virtual bool | park (bool wait=true) |
|
virtual bool | abortCalibration () |
|
virtual bool | abortPark () |
|
virtual | ~IControlLimits () |
| Destructor. More...
|
|
virtual bool | setLimits (int axis, double min, double max)=0 |
| Set the software limits for a particular axis, the behavior of the control card when these limits are exceeded, depends on the implementation. More...
|
|
virtual bool | getLimits (int axis, double *min, double *max)=0 |
| Get the software limits for a particular axis. More...
|
|
virtual bool | setVelLimits (int axis, double min, double max)=0 |
| Set the software speed limits for a particular axis, the behavior of the control card when these limits are exceeded, depends on the implementation. More...
|
|
virtual bool | getVelLimits (int axis, double *min, double *max)=0 |
| Get the software speed limits for a particular axis. More...
|
|
| DeviceResponder () |
| Constructor. More...
|
|
void | addUsage (const char *txt, const char *explain=nullptr) |
| Add information about a message that the respond() method understands. More...
|
|
void | addUsage (const yarp::os::Bottle &bot, const char *explain=nullptr) |
| Add information about a message that the respond() method understands. More...
|
|
virtual bool | respond (const yarp::os::Bottle &command, yarp::os::Bottle &reply) |
| Respond to a message. More...
|
|
bool | read (yarp::os::ConnectionReader &connection) override |
| Handler for reading messages from the network, and passing them on to the respond() method. More...
|
|
void | onRead (yarp::os::Bottle &v) override |
| Alternative handler for reading messages from the network, and passing them on to the respond() method. More...
|
|
void | makeUsage () |
| Regenerate usage information. More...
|
|
void | attach (yarp::os::TypedReader< yarp::os::Bottle > &source) |
| Attach this object to a source of messages. More...
|
|
virtual | ~PortReader () |
| Destructor. More...
|
|
virtual bool | read (ConnectionReader &reader)=0 |
| Read this object from a network connection. More...
|
|
virtual Type | getReadType () const |
|
virtual | ~TypedReaderCallback () |
| Destructor. More...
|
|
virtual void | onRead (yarp::os::Bottle &datum) |
| Callback method. More...
|
|
virtual void | onRead (yarp::os::Bottle &datum, const yarp::os::TypedReader< yarp::os::Bottle > &reader) |
| Callback method. More...
|
|
| Thread () |
| Constructor. More...
|
|
virtual | ~Thread () |
| Destructor. More...
|
|
virtual void | run ()=0 |
| Main body of the new thread. More...
|
|
virtual void | onStop () |
| Call-back, called while halting the thread (before join). More...
|
|
bool | start () |
| Start the new thread running. More...
|
|
bool | stop () |
| Stop the thread. More...
|
|
virtual void | beforeStart () |
| Called just before a new thread starts. More...
|
|
virtual void | afterStart (bool success) |
| Called just after a new thread starts (or fails to start), this is executed by the same thread that calls start(). More...
|
|
virtual bool | threadInit () |
| Initialization method. More...
|
|
virtual void | threadRelease () |
| Release method. More...
|
|
bool | isStopping () |
| Returns true if the thread is stopping (Thread::stop has been called). More...
|
|
bool | isRunning () |
| Returns true if the thread is running (Thread::start has been called successfully and the thread has not stopped). More...
|
|
long int | getKey () |
| Get a unique identifier for the thread. More...
|
|
int | setPriority (int priority, int policy=-1) |
| Set the priority and scheduling policy of the thread, if the OS supports that. More...
|
|
int | getPriority () |
| Query the current priority of the thread, if the OS supports that. More...
|
|
int | getPolicy () |
| Query the current scheduling policy of the thread, if the OS supports that. More...
|
|
bool | join (double seconds=-1) |
| The function returns when the thread execution has completed. More...
|
|
void | setOptions (int stackSize=0) |
| Set the stack size for the new thread. More...
|
|