#include <controlBoardRemapper/ControlBoardRemappingEngine.h>
Inheritance diagram for ControlBoardRemappingEngine:Public Member Functions | |
| ControlBoardRemappingEngine ()=default | |
| ControlBoardRemappingEngine (const ControlBoardRemappingEngine &)=delete | |
| ControlBoardRemappingEngine (ControlBoardRemappingEngine &&)=delete | |
| ControlBoardRemappingEngine & | operator= (const ControlBoardRemappingEngine &)=delete |
| ControlBoardRemappingEngine & | operator= (ControlBoardRemappingEngine &&)=delete |
| ~ControlBoardRemappingEngine () override=default | |
| bool | getVerbose () const |
| Return the value of the verbose flag. | |
| void | setVerbose (bool v) |
| Set the value of the verbose flag. | |
| bool | detachAllDevices () |
| bool | attachAllDevices (const yarp::dev::PolyDriverList &l) |
| yarp::dev::ReturnValue | getAvailablePids (int j, std::vector< yarp::dev::PidControlTypeEnum > &avail) override |
| ControlBoard methods. | |
| yarp::dev::ReturnValue | setPid (const yarp::dev::PidControlTypeEnum &pidtype, int j, const yarp::dev::Pid &p) override |
| Set new PID value for a joint axis. | |
| yarp::dev::ReturnValue | setPids (const yarp::dev::PidControlTypeEnum &pidtype, const yarp::dev::Pid *ps) override |
| Set new PID value on multiple axes. | |
| yarp::dev::ReturnValue | setPidReference (const yarp::dev::PidControlTypeEnum &pidtype, int j, double ref) override |
| Set the controller reference for a given axis. | |
| yarp::dev::ReturnValue | setPidReferences (const yarp::dev::PidControlTypeEnum &pidtype, const double *refs) override |
| Set the controller reference, multiple axes. | |
| yarp::dev::ReturnValue | setPidErrorLimit (const yarp::dev::PidControlTypeEnum &pidtype, int j, double limit) override |
| Set the error limit for the controller on a specific joint. | |
| yarp::dev::ReturnValue | setPidErrorLimits (const yarp::dev::PidControlTypeEnum &pidtype, const double *limits) override |
| Get the error limit for the controller on all joints. | |
| yarp::dev::ReturnValue | getPidError (const yarp::dev::PidControlTypeEnum &pidtype, int j, double *err) override |
| Get the current error for a joint. | |
| yarp::dev::ReturnValue | getPidErrors (const yarp::dev::PidControlTypeEnum &pidtype, double *errs) override |
| Get the error of all joints. | |
| yarp::dev::ReturnValue | getPidOutput (const yarp::dev::PidControlTypeEnum &pidtype, int j, double *out) override |
| Get the output of the controller (e.g. | |
| yarp::dev::ReturnValue | getPidOutputs (const yarp::dev::PidControlTypeEnum &pidtype, double *outs) override |
| Get the output of the controllers (e.g. | |
| yarp::dev::ReturnValue | setPidOffset (const yarp::dev::PidControlTypeEnum &pidtype, int j, double v) override |
| Set an offset value for a given controller. | |
| yarp::dev::ReturnValue | setPidFeedforward (const yarp::dev::PidControlTypeEnum &pidtype, int j, double v) override |
| Set the feedforward value for the specified PID controller. | |
| yarp::dev::ReturnValue | getPidOffset (const yarp::dev::PidControlTypeEnum &pidtype, int j, double &v) override |
| Get the currently set offset value for the specified PID controller. | |
| yarp::dev::ReturnValue | getPidFeedforward (const yarp::dev::PidControlTypeEnum &pidtype, int j, double &v) override |
| Get the currently set feedforward value for the specified PID controller. | |
| yarp::dev::ReturnValue | getPid (const yarp::dev::PidControlTypeEnum &pidtype, int j, yarp::dev::Pid *p) override |
| Get current PID value for a specific joint. | |
| yarp::dev::ReturnValue | getPids (const yarp::dev::PidControlTypeEnum &pidtype, yarp::dev::Pid *pids) override |
| Get current PID value for a specific joint. | |
| yarp::dev::ReturnValue | getPidReference (const yarp::dev::PidControlTypeEnum &pidtype, int j, double *ref) override |
| Get the current reference of the PID controller for a specific joint. | |
| yarp::dev::ReturnValue | getPidReferences (const yarp::dev::PidControlTypeEnum &pidtype, double *refs) override |
| Get the current reference of all PID controllers. | |
| yarp::dev::ReturnValue | getPidErrorLimit (const yarp::dev::PidControlTypeEnum &pidtype, int j, double *limit) override |
| Get the error limit for the controller on a specific joint. | |
| yarp::dev::ReturnValue | getPidErrorLimits (const yarp::dev::PidControlTypeEnum &pidtype, double *limits) override |
| Get the error limit for all controllers. | |
| yarp::dev::ReturnValue | resetPid (const yarp::dev::PidControlTypeEnum &pidtype, int j) override |
| Reset the controller of a given joint, usually sets the current status of the joint as the reference value for the PID, and resets the integrator. | |
| yarp::dev::ReturnValue | disablePid (const yarp::dev::PidControlTypeEnum &pidtype, int j) override |
| Disable the PID computation for a joint. | |
| yarp::dev::ReturnValue | enablePid (const yarp::dev::PidControlTypeEnum &pidtype, int j) override |
| Enable the PID computation for a joint. | |
| yarp::dev::ReturnValue | isPidEnabled (const yarp::dev::PidControlTypeEnum &pidtype, int j, bool &enabled) override |
| Get the current status (enabled/disabled) of the PID. | |
| yarp::dev::ReturnValue | getPidExtraInfo (const yarp::dev::PidControlTypeEnum &pidtype, int j, yarp::dev::PidExtraInfo &units) override |
| Get PID extra info and measurement units for a specific joint. | |
| yarp::dev::ReturnValue | getPidExtraInfos (const yarp::dev::PidControlTypeEnum &pidtype, std::vector< yarp::dev::PidExtraInfo > &units) override |
| Get PID extra info and measurement units for a specific joint. | |
| yarp::dev::ReturnValue | getAxes (size_t &ax) override |
| Get the number of controlled axes. | |
| yarp::dev::ReturnValue | positionMove (int j, double ref) override |
| Set new reference point for a single axis. | |
| yarp::dev::ReturnValue | positionMove (const double *refs) override |
| Set new reference point for all axes. | |
| yarp::dev::ReturnValue | positionMove (const int n_joints, const int *joints, const double *refs) override |
| Set new reference point for a subset of joints. | |
| yarp::dev::ReturnValue | getTargetPosition (const int joint, double *ref) override |
| Get the last position reference for the specified axis. | |
| yarp::dev::ReturnValue | getTargetPositions (double *refs) override |
| Get the last position reference for all axes. | |
| yarp::dev::ReturnValue | getTargetPositions (const int n_joint, const int *joints, double *refs) override |
| Get the last position reference for the specified group of axes. | |
| yarp::dev::ReturnValue | relativeMove (int j, double delta) override |
| Set relative position. | |
| yarp::dev::ReturnValue | relativeMove (const double *deltas) override |
| Set relative position, all joints. | |
| yarp::dev::ReturnValue | relativeMove (const int n_joints, const int *joints, const double *deltas) override |
| Set relative position for a subset of joints. | |
| yarp::dev::ReturnValue | checkMotionDone (int j, bool &flag) override |
| Check if the current trajectory is terminated. | |
| yarp::dev::ReturnValue | checkMotionDone (bool &flag) override |
| Check if the current trajectory is terminated. | |
| yarp::dev::ReturnValue | checkMotionDone (const std::vector< int > &joints, bool &flags) override |
| Check if the current trajectory is terminated. | |
| yarp::dev::ReturnValue | setTrajSpeed (int j, double sp) override |
| Set reference speed for a joint, this is the speed used during the interpolation of the trajectory. | |
| yarp::dev::ReturnValue | setTrajSpeeds (const double *spds) override |
| Set reference speed on all joints. | |
| yarp::dev::ReturnValue | setTrajSpeeds (const int n_joints, const int *joints, const double *spds) override |
| Set reference speed on all joints. | |
| yarp::dev::ReturnValue | setTrajAcceleration (int j, double acc) override |
| Set reference acceleration for a joint. | |
| yarp::dev::ReturnValue | setTrajAccelerations (const double *accs) override |
| Set reference acceleration on all joints. | |
| yarp::dev::ReturnValue | setTrajAccelerations (const int n_joints, const int *joints, const double *accs) override |
| Set reference acceleration on all joints. | |
| yarp::dev::ReturnValue | getTrajSpeed (int j, double *ref) override |
| Get reference speed for a joint. | |
| yarp::dev::ReturnValue | getTrajSpeeds (double *spds) override |
| Get reference speed of all joints. | |
| yarp::dev::ReturnValue | getTrajSpeeds (const int n_joints, const int *joints, double *spds) override |
| Get reference speed of all joints. | |
| yarp::dev::ReturnValue | getTrajAcceleration (int j, double *acc) override |
| Get reference acceleration for a joint. | |
| yarp::dev::ReturnValue | getTrajAccelerations (double *accs) override |
| Get reference acceleration of all joints. | |
| yarp::dev::ReturnValue | getTrajAccelerations (const int n_joints, const int *joints, double *accs) override |
| Get reference acceleration for a joint. | |
| yarp::dev::ReturnValue | stop (int j) override |
| Stop motion, single joint. | |
| yarp::dev::ReturnValue | stop () override |
| Stop motion, multiple joints. | |
| yarp::dev::ReturnValue | stop (const int n_joints, const int *joints) override |
| Stop motion for subset of joints. | |
| yarp::dev::ReturnValue | getLastJointFault (int j, int &fault, std::string &message) override |
| yarp::dev::ReturnValue | velocityMove (int j, double v) override |
| Start motion at a given speed, single joint. | |
| yarp::dev::ReturnValue | velocityMove (const double *v) override |
| Start motion at a given speed, multiple joints. | |
| yarp::dev::ReturnValue | resetEncoder (int j) override |
| Reset encoder, single joint. | |
| yarp::dev::ReturnValue | resetEncoders () override |
| Reset encoders. | |
| yarp::dev::ReturnValue | setEncoder (int j, double val) override |
| Set the value of the encoder for a given joint. | |
| yarp::dev::ReturnValue | setEncoders (const double *vals) override |
| Set the value of all encoders. | |
| yarp::dev::ReturnValue | getEncoder (int j, double *v) override |
| Read the value of an encoder. | |
| yarp::dev::ReturnValue | getEncoders (double *encs) override |
| Read the position of all axes. | |
| yarp::dev::ReturnValue | getEncodersTimed (double *encs, double *t) override |
| Read the instantaneous acceleration of all axes. | |
| yarp::dev::ReturnValue | getEncoderTimed (int j, double *v, double *t) override |
| Read the instantaneous acceleration of all axes. | |
| yarp::dev::ReturnValue | getEncoderSpeed (int j, double *sp) override |
| Read the istantaneous speed of an axis. | |
| yarp::dev::ReturnValue | getEncoderSpeeds (double *spds) override |
| Read the instantaneous speed of all axes. | |
| yarp::dev::ReturnValue | getEncoderAcceleration (int j, double *acc) override |
| Read the instantaneous acceleration of an axis. | |
| yarp::dev::ReturnValue | getEncoderAccelerations (double *accs) override |
| Read the instantaneous acceleration of all axes. | |
| yarp::dev::ReturnValue | getNumberOfMotorEncoders (int *num) override |
| Get the number of available motor encoders. | |
| yarp::dev::ReturnValue | resetMotorEncoder (int m) override |
| Reset motor encoder, single motor. | |
| yarp::dev::ReturnValue | resetMotorEncoders () override |
| Reset motor encoders. | |
| yarp::dev::ReturnValue | setMotorEncoderCountsPerRevolution (int m, const double cpr) override |
| Sets number of counts per revolution for motor encoder m. | |
| yarp::dev::ReturnValue | getMotorEncoderCountsPerRevolution (int m, double *cpr) override |
| Gets number of counts per revolution for motor encoder m. | |
| yarp::dev::ReturnValue | setMotorEncoder (int m, const double val) override |
| Set the value of the motor encoder for a given motor. | |
| yarp::dev::ReturnValue | setMotorEncoders (const double *vals) override |
| Set the value of all motor encoders. | |
| yarp::dev::ReturnValue | getMotorEncoder (int m, double *v) override |
| Read the value of a motor encoder. | |
| yarp::dev::ReturnValue | getMotorEncoders (double *encs) override |
| Read the position of all motor encoders. | |
| yarp::dev::ReturnValue | getMotorEncodersTimed (double *encs, double *t) override |
| Read the instantaneous position of all motor encoders. | |
| yarp::dev::ReturnValue | getMotorEncoderTimed (int m, double *v, double *t) override |
| Read the instantaneous position of a motor encoder. | |
| yarp::dev::ReturnValue | getMotorEncoderSpeed (int m, double *sp) override |
| Read the instantaneous speed of a motor encoder. | |
| yarp::dev::ReturnValue | getMotorEncoderSpeeds (double *spds) override |
| Read the instantaneous speed of all motor encoders. | |
| yarp::dev::ReturnValue | getMotorEncoderAcceleration (int m, double *acc) override |
| Read the instantaneous acceleration of a motor encoder. | |
| yarp::dev::ReturnValue | getMotorEncoderAccelerations (double *accs) override |
| Read the instantaneous acceleration of all motor encoders. | |
| yarp::dev::ReturnValue | enableAmp (int j) override |
| Enable the amplifier on a specific joint. | |
| yarp::dev::ReturnValue | disableAmp (int j) override |
| Disable the amplifier on a specific joint. | |
| yarp::dev::ReturnValue | getAmpStatus (int *st) override |
| yarp::dev::ReturnValue | getAmpStatus (int j, int *v) override |
| yarp::dev::ReturnValue | setMaxCurrent (int j, double v) override |
| yarp::dev::ReturnValue | getMaxCurrent (int j, double *v) override |
| Returns the maximum electric current allowed for a given motor. | |
| yarp::dev::ReturnValue | getNominalCurrent (int m, double *val) override |
| yarp::dev::ReturnValue | setNominalCurrent (int m, const double val) override |
| yarp::dev::ReturnValue | getPeakCurrent (int m, double *val) override |
| yarp::dev::ReturnValue | setPeakCurrent (int m, const double val) override |
| yarp::dev::ReturnValue | getPWM (int m, double *val) override |
| yarp::dev::ReturnValue | getPWMLimit (int m, double *val) override |
| yarp::dev::ReturnValue | setPWMLimit (int m, const double val) override |
| yarp::dev::ReturnValue | getPowerSupplyVoltage (int m, double *val) override |
| yarp::dev::ReturnValue | setPosLimits (int j, 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. | |
| yarp::dev::ReturnValue | getPosLimits (int j, double *min, double *max) override |
| Get the software limits for a particular axis. | |
| yarp::dev::ReturnValue | setVelLimits (int j, 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. | |
| yarp::dev::ReturnValue | getVelLimits (int j, double *min, double *max) override |
| Get the software speed limits for a particular axis. | |
| yarp::dev::ReturnValue | getRemoteVariable (std::string key, yarp::os::Bottle &val) override |
| yarp::dev::ReturnValue | setRemoteVariable (std::string key, const yarp::os::Bottle &val) override |
| yarp::dev::ReturnValue | getRemoteVariablesList (yarp::os::Bottle *listOfKeys) override |
| yarp::dev::ReturnValue | isCalibratorDevicePresent (bool *isCalib) override |
| isCalibratorDevicePresent: check if a calibrator device has been set | |
| yarp::dev::IRemoteCalibrator * | getCalibratorDevice () override |
| getCalibratorDevice: return the pointer stored with the setCalibratorDevice | |
| yarp::dev::ReturnValue | calibrateSingleJoint (int j) override |
| calibrateSingleJoint: call the calibration procedure for the single joint | |
| yarp::dev::ReturnValue | calibrateWholePart () override |
| calibrateWholePart: call the procedure for calibrating the whole device | |
| yarp::dev::ReturnValue | homingSingleJoint (int j) override |
| homingSingleJoint: call the homing procedure for a single joint | |
| yarp::dev::ReturnValue | homingWholePart () override |
| homingWholePart: call the homing procedure for a the whole part/device | |
| yarp::dev::ReturnValue | parkSingleJoint (int j, bool _wait=true) override |
| parkSingleJoint(): start the parking procedure for the single joint | |
| yarp::dev::ReturnValue | parkWholePart () override |
| parkWholePart: start the parking procedure for the whole part | |
| yarp::dev::ReturnValue | quitCalibrate () override |
| quitCalibrate: interrupt the calibration procedure | |
| yarp::dev::ReturnValue | quitPark () override |
| quitPark: interrupt the park procedure | |
| yarp::dev::ReturnValue | calibrateAxisWithParams (int j, unsigned int ui, double v1, double v2, double v3) override |
| Start calibration, this method is very often platform specific. | |
| yarp::dev::ReturnValue | setCalibrationParameters (int j, const yarp::dev::CalibrationParameters ¶ms) override |
| Start calibration, this method is very often platform specific. | |
| yarp::dev::ReturnValue | calibrationDone (int j) override |
| Check if the calibration is terminated, on a particular joint. | |
| yarp::dev::ReturnValue | abortPark () override |
| yarp::dev::ReturnValue | abortCalibration () override |
| yarp::dev::ReturnValue | getNumberOfMotors (int *num) override |
| Retrieves the number of controlled motors from the current physical interface. | |
| yarp::dev::ReturnValue | getTemperature (int m, double *val) override |
| Get temperature of a motor. | |
| yarp::dev::ReturnValue | getTemperatures (double *vals) override |
| Get temperature of all the motors. | |
| yarp::dev::ReturnValue | getTemperatureLimit (int m, double *val) override |
| Retrieves the current temperature limit for a specific motor. | |
| yarp::dev::ReturnValue | setTemperatureLimit (int m, const double val) override |
| Set the temperature limit for a specific motor. | |
| yarp::dev::ReturnValue | getGearboxRatio (int m, double *val) override |
| Get the gearbox ratio for a specific motor. | |
| yarp::dev::ReturnValue | setGearboxRatio (int m, const double val) override |
| Set the gearbox ratio for a specific motor. | |
| yarp::dev::ReturnValue | getAxisName (int j, std::string &name) override |
| yarp::dev::ReturnValue | getJointType (int j, yarp::dev::JointTypeEnum &type) override |
| yarp::dev::ReturnValue | getRefTorques (double *refs) override |
| Get the reference value of the torque for all joints. | |
| yarp::dev::ReturnValue | getRefTorque (int j, double *t) override |
| Get the reference value of the torque for a given joint. | |
| yarp::dev::ReturnValue | setRefTorques (const double *t) override |
| Set the reference value of the torque for all joints. | |
| yarp::dev::ReturnValue | setRefTorque (int j, double t) override |
| Set the reference value of the torque for a given joint. | |
| yarp::dev::ReturnValue | setRefTorques (const int n_joint, const int *joints, const double *t) override |
| Set new torque reference for a subset of joints. | |
| yarp::dev::ReturnValue | getMotorTorqueParams (int j, yarp::dev::MotorTorqueParameters *params) override |
| Get a subset of motor parameters (bemf, ktau etc) useful for torque control. | |
| yarp::dev::ReturnValue | setMotorTorqueParams (int j, const yarp::dev::MotorTorqueParameters params) override |
| Set a subset of motor parameters (bemf, ktau etc) useful for torque control. | |
| yarp::dev::ReturnValue | setImpedance (int j, double stiff, double damp) override |
| Set current impedance gains (stiffness,damping) for a specific joint. | |
| yarp::dev::ReturnValue | setImpedanceOffset (int j, double offset) override |
| Set current force Offset for a specific joint. | |
| yarp::dev::ReturnValue | getTorque (int j, double *t) override |
| Get the value of the torque on a given joint (this is the feedback if you have a torque sensor). | |
| yarp::dev::ReturnValue | getTorques (double *t) override |
| Get the value of the torque for all joints (this is the feedback if you have torque sensors). | |
| yarp::dev::ReturnValue | getTorqueRange (int j, double *min, double *max) override |
| Get the full scale of the torque sensor of a given joint. | |
| yarp::dev::ReturnValue | getTorqueRanges (double *min, double *max) override |
| Get the full scale of the torque sensors of all joints. | |
| yarp::dev::ReturnValue | getImpedance (int j, double *stiff, double *damp) override |
| Get current impedance gains (stiffness,damping,offset) for a specific joint. | |
| yarp::dev::ReturnValue | getImpedanceOffset (int j, double *offset) override |
| Get current force Offset for a specific joint. | |
| yarp::dev::ReturnValue | getCurrentImpedanceLimit (int j, double *min_stiff, double *max_stiff, double *min_damp, double *max_damp) override |
| Get the current impedance limits for a specific joint. | |
| yarp::dev::ReturnValue | getAvailableControlModes (int j, std::vector< yarp::dev::SelectableControlModeEnum > &avail) override |
| Return a list of available control mode for the given joint. | |
| yarp::dev::ReturnValue | getControlMode (int j, yarp::dev::ControlModeEnum &mode) override |
| Get the current control mode. | |
| yarp::dev::ReturnValue | getControlModes (const std::vector< int > &joints, std::vector< yarp::dev::ControlModeEnum > &modes) override |
| Get the current control mode for a subset of axes. | |
| yarp::dev::ReturnValue | getControlModes (std::vector< yarp::dev::ControlModeEnum > &mode) override |
| Get the current control mode (multiple joints). | |
| yarp::dev::ReturnValue | setControlMode (int j, yarp::dev::SelectableControlModeEnum mode) override |
| Set the current control mode. | |
| yarp::dev::ReturnValue | setControlModes (const std::vector< int > &joints, const std::vector< yarp::dev::SelectableControlModeEnum > &modes) override |
| Set the current control mode for a subset of axes. | |
| yarp::dev::ReturnValue | setControlModes (const std::vector< yarp::dev::SelectableControlModeEnum > &mode) override |
| Set the current control mode (multiple joints). | |
| yarp::dev::ReturnValue | setPosition (int j, double ref) override |
| Set new position for a single axis. | |
| yarp::dev::ReturnValue | setPositions (const int n_joints, const int *joints, const double *dpos) override |
| Set new reference point for all axes. | |
| yarp::dev::ReturnValue | setPositions (const double *refs) override |
| Set new position for a set of axis. | |
| yarp::dev::ReturnValue | getRefPosition (const int joint, double *ref) override |
| Get the last position reference for the specified axis. | |
| yarp::dev::ReturnValue | getRefPositions (double *refs) override |
| Get the last position reference for all axes. | |
| yarp::dev::ReturnValue | getRefPositions (const int n_joint, const int *joints, double *refs) override |
| Get the last position reference for the specified group of axes. | |
| yarp::os::Stamp | getLastInputStamp () override |
| Return the time stamp relative to the last acquisition. | |
| yarp::dev::ReturnValue | velocityMove (const int n_joints, const int *joints, const double *spds) override |
| Start motion at a given speed for a subset of joints. | |
| yarp::dev::ReturnValue | getTargetVelocity (const int joint, double *vel) override |
| Get the last reference speed set by velocityMove for single joint. | |
| yarp::dev::ReturnValue | getTargetVelocities (double *vels) override |
| Get the last reference speed set by velocityMove for all joints. | |
| yarp::dev::ReturnValue | getTargetVelocities (const int n_joint, const int *joints, double *vels) override |
| Get the last reference speed set by velocityMove for a group of joints. | |
| yarp::dev::ReturnValue | getInteractionMode (int j, yarp::dev::InteractionModeEnum &mode) override |
| Get the current interaction mode of the robot, values can be stiff or compliant. | |
| yarp::dev::ReturnValue | getInteractionModes (const std::vector< int > &joints, std::vector< yarp::dev::InteractionModeEnum > &modes) override |
| Get the current interaction mode of the robot for a set of joints, values can be stiff or compliant. | |
| yarp::dev::ReturnValue | getInteractionModes (std::vector< yarp::dev::InteractionModeEnum > &modes) override |
| Get the current interaction mode of the robot for a all the joints, values can be stiff or compliant. | |
| yarp::dev::ReturnValue | setInteractionMode (int j, yarp::dev::InteractionModeEnum mode) override |
| Set the interaction mode of the robot, values can be stiff or compliant. | |
| yarp::dev::ReturnValue | setInteractionModes (const std::vector< int > &joints, const std::vector< yarp::dev::InteractionModeEnum > &modes) override |
| Set the interaction mode of the robot for a set of joints, values can be stiff or compliant. | |
| yarp::dev::ReturnValue | setInteractionModes (const std::vector< yarp::dev::InteractionModeEnum > &modes) override |
| Set the interaction mode of the robot for a all the joints, values can be stiff or compliant. | |
| yarp::dev::ReturnValue | setRefDutyCycle (int m, double ref) override |
| Sets the reference dutycycle to a single motor. | |
| yarp::dev::ReturnValue | setRefDutyCycles (const double *refs) override |
| Sets the reference dutycycle for all the motors. | |
| yarp::dev::ReturnValue | getRefDutyCycle (int m, double *ref) override |
| Gets the last reference sent using the setRefDutyCycle function. | |
| yarp::dev::ReturnValue | getRefDutyCycles (double *refs) override |
| Gets the last reference sent using the setRefDutyCycles function. | |
| yarp::dev::ReturnValue | getDutyCycle (int m, double *val) override |
| Gets the current dutycycle of the output of the amplifier (i.e. | |
| yarp::dev::ReturnValue | getDutyCycles (double *vals) override |
| Gets the current dutycycle of the output of the amplifier (i.e. | |
| yarp::dev::ReturnValue | getCurrent (int m, double *curr) override |
| Get the instantaneous current measurement for a single motor. | |
| yarp::dev::ReturnValue | getCurrents (double *currs) override |
| Get the instantaneous current measurement for all motors. | |
| yarp::dev::ReturnValue | getCurrentRange (int m, double *min, double *max) override |
| Get the full scale of the current measurement for a given motor (e.g. | |
| yarp::dev::ReturnValue | getCurrentRanges (double *min, double *max) override |
| Get the full scale of the current measurements for all motors motor (e.g. | |
| yarp::dev::ReturnValue | setRefCurrents (const double *currs) override |
| Set the reference value of the currents for all motors. | |
| yarp::dev::ReturnValue | setRefCurrent (int m, double curr) override |
| Set the reference value of the current for a single motor. | |
| yarp::dev::ReturnValue | setRefCurrents (const int n_motor, const int *motors, const double *currs) override |
| Set the reference value of the current for a group of motors. | |
| yarp::dev::ReturnValue | getRefCurrents (double *currs) override |
| Get the reference value of the currents for all motors. | |
| yarp::dev::ReturnValue | getRefCurrent (int m, double *curr) override |
| Get the reference value of the current for a single motor. | |
| yarp::dev::ReturnValue | isJointBraked (int j, bool &braked) const override |
| Check is the joint brake is currently active. | |
| yarp::dev::ReturnValue | setManualBrakeActive (int j, bool active) override |
| Enables/Disables manually the joint brake. | |
| yarp::dev::ReturnValue | setAutoBrakeEnabled (int j, bool enabled) override |
| Enables/Disables the automatic joint brake. | |
| yarp::dev::ReturnValue | getAutoBrakeEnabled (int j, bool &enabled) const override |
| checks if the automatic joint brake mode is enabled or disabled. | |
| yarp::dev::ReturnValue | setRefVelocity (int jnt, double vel) override |
| Set the velocity of single joint. | |
| yarp::dev::ReturnValue | setRefVelocity (const std::vector< double > &vels) override |
| Set the velocity of all joints. | |
| yarp::dev::ReturnValue | setRefVelocity (const std::vector< int > &jnts, const std::vector< double > &vels) override |
| Set the velocity of a subset of joints. | |
| yarp::dev::ReturnValue | getRefVelocity (const int jnt, double &vel) override |
| Get the last reference velocity set by setRefVelocity() for a single joint. | |
| yarp::dev::ReturnValue | getRefVelocity (std::vector< double > &vels) override |
| Get the last reference velocity set by setRefVelocity() for all joints. | |
| yarp::dev::ReturnValue | getRefVelocity (const std::vector< int > &jnts, std::vector< double > &vels) override |
| Get the last reference velocity set by setRefVelocity() for a group of joints. | |
Public Member Functions inherited from yarp::dev::IPidControl | |
| virtual | ~IPidControl () |
| Destructor. | |
Public Member Functions inherited from yarp::dev::IPositionControl | |
| virtual | ~IPositionControl () |
| Destructor. | |
Public Member Functions inherited from yarp::dev::IPositionDirect | |
| virtual | ~IPositionDirect () |
| Destructor. | |
Public Member Functions inherited from yarp::dev::IVelocityControl | |
| virtual | ~IVelocityControl () |
| Destructor. | |
Public Member Functions inherited from yarp::dev::IVelocityDirect | |
| virtual | ~IVelocityDirect () |
| Destructor. | |
Public Member Functions inherited from yarp::dev::IPWMControl | |
| virtual | ~IPWMControl () |
Public Member Functions inherited from yarp::dev::ICurrentControl | |
| virtual | ~ICurrentControl () |
| Destructor. | |
Public Member Functions inherited from yarp::dev::IEncodersTimed | |
| virtual | ~IEncodersTimed () |
| Destructor. | |
Public Member Functions inherited from yarp::dev::IEncoders | |
| virtual | ~IEncoders () |
| Destructor. | |
Public Member Functions inherited from yarp::dev::IMotor | |
| virtual | ~IMotor () |
| Destructor. | |
Public Member Functions inherited from yarp::dev::IMotorEncoders | |
| virtual | ~IMotorEncoders () |
| Destructor. | |
Public Member Functions inherited from yarp::dev::IAmplifierControl | |
| virtual | ~IAmplifierControl () |
| Destructor. | |
Public Member Functions inherited from yarp::dev::IControlLimits | |
| virtual | ~IControlLimits () |
| Destructor. | |
Public Member Functions inherited from yarp::dev::IRemoteCalibrator | |
| IRemoteCalibrator () | |
| This interface is meant to remotize the access of the calibration device in order to allow users to remotely call the calibration procedure for a single joint or the whole device and let the calibrator do the job. | |
| virtual | ~IRemoteCalibrator ()=default |
| virtual yarp::dev::ReturnValue | setCalibratorDevice (yarp::dev::IRemoteCalibrator *dev) |
| setCalibratorDevice: store the pointer to the calibrator device. | |
| virtual yarp::dev::ReturnValue | releaseCalibratorDevice () |
| releaseCalibratorDevice: reset the internal pointer to NULL when stop using the calibrator | |
Public Member Functions inherited from yarp::dev::IControlCalibration | |
| IControlCalibration () | |
| virtual | ~IControlCalibration () |
| Destructor. | |
| virtual yarp::dev::ReturnValue | setCalibrator (ICalibrator *c) |
| Set the calibrator object to be used to calibrate the robot. | |
| virtual yarp::dev::ReturnValue | calibrateRobot () |
| Calibrate robot by using an external calibrator. | |
| virtual yarp::dev::ReturnValue | park (bool wait=true) |
Public Member Functions inherited from yarp::dev::ITorqueControl | |
| virtual | ~ITorqueControl () |
| Destructor. | |
Public Member Functions inherited from yarp::dev::IImpedanceControl | |
| virtual | ~IImpedanceControl () |
| Destructor. | |
Public Member Functions inherited from yarp::dev::IControlMode | |
| virtual | ~IControlMode () |
| virtual yarp::dev::ReturnValue | getControlMode (int j, int *mode) |
| virtual yarp::dev::ReturnValue | setControlMode (const int j, const int mode) |
Public Member Functions inherited from yarp::dev::IAxisInfo | |
| virtual | ~IAxisInfo () |
| Destructor. | |
Public Member Functions inherited from yarp::dev::IPreciselyTimed | |
| virtual | ~IPreciselyTimed () |
Public Member Functions inherited from yarp::dev::IInteractionMode | |
| virtual | ~IInteractionMode () |
| Destructor. | |
Public Member Functions inherited from yarp::dev::IRemoteVariables | |
| virtual | ~IRemoteVariables () |
| Destructor. | |
Public Member Functions inherited from yarp::dev::IJointFault | |
| virtual | ~IJointFault () |
Public Member Functions inherited from yarp::dev::IJointBrake | |
| virtual | ~IJointBrake () |
Protected Member Functions | |
| void | setNrOfControlledAxes (const size_t nrOfControlledAxes) |
| Set the number of controlled axes, resizing appropriately all the necessary buffers. | |
| void | setAxesNames (const std::vector< std::string > &axesNames) |
Definition at line 28 of file ControlBoardRemappingEngine.h.
|
default |
|
delete |
|
delete |
|
overridedefault |
|
overridevirtual |
Reimplemented from yarp::dev::IControlCalibration.
Definition at line 3096 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Reimplemented from yarp::dev::IControlCalibration.
Definition at line 3090 of file ControlBoardRemappingEngine.cpp.
| bool ControlBoardRemappingEngine::attachAllDevices | ( | const yarp::dev::PolyDriverList & | l | ) |
Definition at line 36 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Start calibration, this method is very often platform specific.
Implements yarp::dev::IControlCalibration.
Definition at line 3041 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
calibrateSingleJoint: call the calibration procedure for the single joint
| j | joint to be calibrated |
Implements yarp::dev::IRemoteCalibrator.
Definition at line 2843 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
calibrateWholePart: call the procedure for calibrating the whole device
Implements yarp::dev::IRemoteCalibrator.
Definition at line 2869 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Check if the calibration is terminated, on a particular joint.
Non blocking.
Implements yarp::dev::IControlCalibration.
Definition at line 3070 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Check if the current trajectory is terminated.
Non blocking.
| flag | is a pointer to return value ("and" of all joints) |
Implements yarp::dev::IPositionControl.
Definition at line 1096 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Check if the current trajectory is terminated.
Non blocking.
| joints | array of joint numbers |
| flag | logical "and" of all set of joints |
Implements yarp::dev::IPositionControl.
Definition at line 1128 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Check if the current trajectory is terminated.
Non blocking.
| j | is the axis number |
| flag | is a pointer to return value |
Implements yarp::dev::IPositionControl.
Definition at line 1076 of file ControlBoardRemappingEngine.cpp.
| bool ControlBoardRemappingEngine::detachAllDevices | ( | ) |
Definition at line 214 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Disable the amplifier on a specific joint.
All computations within the board will be carried out normally, but the output will be disabled.
Implements yarp::dev::IAmplifierControl.
Definition at line 2495 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Disable the PID computation for a joint.
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| j | joint number |
Implements yarp::dev::IPidControl.
Definition at line 738 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Enable the amplifier on a specific joint.
Be careful, check that the output of the controller is appropriate (usually zero), to avoid generating abrupt movements.
Implements yarp::dev::IAmplifierControl.
Definition at line 2475 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Enable the PID computation for a joint.
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| j | joint number |
Implements yarp::dev::IPidControl.
Definition at line 753 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Implements yarp::dev::IAmplifierControl.
Definition at line 2500 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Implements yarp::dev::IAmplifierControl.
Definition at line 2530 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
checks if the automatic joint brake mode is enabled or disabled.
| j | joint number |
| enabled | is true the automatic joint brake mode is enabled |
Implements yarp::dev::IJointBrake.
Definition at line 4525 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Return a list of available control mode for the given joint.
| j | joint number |
| avail | a vector that will contain the list of available control modes for joint j. |
Implements yarp::dev::IControlMode.
Definition at line 3499 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
ControlBoard methods.
Implements yarp::dev::IPidControl.
Definition at line 235 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the number of controlled axes.
This command asks the number of controlled axes for the current physical interface.
| ax | pointer to storage |
Implements yarp::dev::IPositionControl.
Definition at line 843 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Implements yarp::dev::IAxisInfo.
Definition at line 3104 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
getCalibratorDevice: return the pointer stored with the setCalibratorDevice
Reimplemented from yarp::dev::IRemoteCalibrator.
Definition at line 2833 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the current control mode.
| j | joint number |
| mode | a vocab of the current control mode for joint j. |
Implements yarp::dev::IControlMode.
Definition at line 3521 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the current control mode for a subset of axes.
| n_joints | how many joints this command is referring to |
| joints | list of joint numbers, the size of this array is n_joints |
| modes | array containing the new controlmodes, one value for each joint, the size is n_joints. The first value will be the new reference for the joint joints[0]. for example: n_joint 3 joints 0 2 4 modes VOCAB_CM_POSITION VOCAB_CM_VELOCITY VOCAB_CM_POSITION |
Implements yarp::dev::IControlMode.
Definition at line 3574 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the current control mode (multiple joints).
| modes | a vector containing vocabs for the current control modes of the joints. |
Implements yarp::dev::IControlMode.
Definition at line 3544 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the instantaneous current measurement for a single motor.
| m | motor number |
| curr | pointer to the result value. Value is expressed in amperes. |
Implements yarp::dev::ICurrentControl.
Definition at line 4273 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the current impedance limits for a specific joint.
Implements yarp::dev::IImpedanceControl.
Definition at line 3479 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the full scale of the current measurement for a given motor (e.g.
-20A +20A) Reference values set by user with methods such as setRefCurrent() should be in this range. This method is not related to the current overload protection methods belonging to the iAmplifierControl interface.
| m | motor number |
| min | minimum current of the motor m |
| max | maximum current of the motor m |
Implements yarp::dev::ICurrentControl.
Definition at line 4320 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the full scale of the current measurements for all motors motor (e.g.
-20A +20A) Reference values set by user with methods such as setRefCurrent() should be in this range. This method is not related to the current overload protection methods belonging to the iAmplifierControl interface.
| min | pointer to the array that will store minimum currents |
| max | pointer to the array that will store maximum currents |
Implements yarp::dev::ICurrentControl.
Definition at line 4337 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the instantaneous current measurement for all motors.
| currs | pointer to the array that will store the output. Values are expressed in amperes. |
Implements yarp::dev::ICurrentControl.
Definition at line 4290 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Gets the current dutycycle of the output of the amplifier (i.e.
pwm value sent to the motor)
| m | motor number |
| val | pointer to storage for return value, expressed as percentage (-100% +100%) |
Implements yarp::dev::IPWMControl.
Definition at line 4226 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Gets the current dutycycle of the output of the amplifier (i.e.
pwm values sent to all motors)
| vals | pointer to the vector that will store the values, expressed as percentage (-100% +100%) |
Implements yarp::dev::IPWMControl.
Definition at line 4243 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Read the value of an encoder.
| j | encoder number |
| v | pointer to storage for the return value |
Implements yarp::dev::IEncoders.
Definition at line 1709 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Read the instantaneous acceleration of an axis.
| j | axis number |
| spds | pointer to the array that will contain the output |
Implements yarp::dev::IEncoders.
Definition at line 1856 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Read the instantaneous acceleration of all axes.
| accs | pointer to the array that will contain the output |
Implements yarp::dev::IEncoders.
Definition at line 1876 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Read the position of all axes.
| encs | pointer to the array that will contain the output |
Implements yarp::dev::IEncoders.
Definition at line 1729 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Read the istantaneous speed of an axis.
| j | axis number |
| sp | pointer to storage for the output |
Implements yarp::dev::IEncoders.
Definition at line 1807 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Read the instantaneous speed of all axes.
| spds | pointer to storage for the output values |
Implements yarp::dev::IEncoders.
Definition at line 1827 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Read the instantaneous acceleration of all axes.
| encs | pointer to the array that will contain the output |
| time | pointer to the array that will contain individual timestamps |
Implements yarp::dev::IEncodersTimed.
Definition at line 1758 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Read the instantaneous acceleration of all axes.
| j | axis index |
| encs | encoder value (pointer to) |
| time | corresponding timestamp (pointer to) |
Implements yarp::dev::IEncodersTimed.
Definition at line 1787 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the gearbox ratio for a specific motor.
| m | motor number |
| val | retrieved gearbox ratio |
Implements yarp::dev::IMotor.
Definition at line 1998 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get current impedance gains (stiffness,damping,offset) for a specific joint.
Implements yarp::dev::IImpedanceControl.
Definition at line 3439 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get current force Offset for a specific joint.
Implements yarp::dev::IImpedanceControl.
Definition at line 3459 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the current interaction mode of the robot, values can be stiff or compliant.
| axis | joint number |
| mode | contains the requested information about interaction mode of the joint |
Implements yarp::dev::IInteractionMode.
Definition at line 3992 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the current interaction mode of the robot for a set of joints, values can be stiff or compliant.
| n_joints | how many joints this command is referring to |
| joints | list of joints controlled. The size of this array is n_joints |
| modes | array containing the requested information about interaction mode, one value for each joint, the size is n_joints. for example: n_joint 3 joints 0 2 4 refs VOCAB_IM_STIFF VOCAB_IM_STIFF VOCAB_IM_COMPLIANT |
Implements yarp::dev::IInteractionMode.
Definition at line 4012 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the current interaction mode of the robot for a all the joints, values can be stiff or compliant.
| mode | array containing the requested information about interaction mode, one value for each joint. |
Implements yarp::dev::IInteractionMode.
Definition at line 4044 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Reimplemented from yarp::dev::IAxisInfo.
Definition at line 3124 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Return the time stamp relative to the last acquisition.
Implements yarp::dev::IPreciselyTimed.
Definition at line 3754 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Implements yarp::dev::IJointFault.
Definition at line 1544 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Returns the maximum electric current allowed for a given motor.
Exceeding this value will trigger instantaneous hardware fault.
| j | motor number |
| v | the return value |
Implements yarp::dev::IAmplifierControl.
Definition at line 2570 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Read the value of a motor encoder.
| m | motor encoder number |
| v | pointer to storage for the return value |
Implements yarp::dev::IMotorEncoders.
Definition at line 2275 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Read the instantaneous acceleration of a motor encoder.
| m | motor number |
| acc | pointer to the array that will contain the output |
Implements yarp::dev::IMotorEncoders.
Definition at line 2417 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Read the instantaneous acceleration of all motor encoders.
| accs | pointer to the array that will contain the output |
Implements yarp::dev::IMotorEncoders.
Definition at line 2437 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Gets number of counts per revolution for motor encoder m.
| m | motor number |
| cpr | vals pointer to the new value |
Implements yarp::dev::IMotorEncoders.
Definition at line 2255 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Read the position of all motor encoders.
| encs | pointer to the array that will contain the output |
Implements yarp::dev::IMotorEncoders.
Definition at line 2295 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Read the instantaneous speed of a motor encoder.
| m | motor number |
| sp | pointer to storage for the output |
Implements yarp::dev::IMotorEncoders.
Definition at line 2368 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Read the instantaneous speed of all motor encoders.
| spds | pointer to storage for the output values |
Implements yarp::dev::IMotorEncoders.
Definition at line 2388 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Read the instantaneous position of all motor encoders.
| encs | pointer to the array that will contain the output |
| time | pointer to the array that will contain individual timestamps |
Implements yarp::dev::IMotorEncoders.
Definition at line 2319 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Read the instantaneous position of a motor encoder.
| m | motor index |
| encs | encoder value (pointer to) |
| time | corresponding timestamp (pointer to) |
Implements yarp::dev::IMotorEncoders.
Definition at line 2348 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get a subset of motor parameters (bemf, ktau etc) useful for torque control.
| j | joint number |
| params | a struct containing the motor parameters to be retrieved |
Implements yarp::dev::ITorqueControl.
Definition at line 3260 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Implements yarp::dev::IAmplifierControl.
Definition at line 2590 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the number of available motor encoders.
| m | pointer to a value representing the number of available motor encoders. |
Implements yarp::dev::IMotorEncoders.
Definition at line 2468 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Retrieves the number of controlled motors from the current physical interface.
| number | returns the number of controlled motors. |
Implements yarp::dev::IPWMControl.
Definition at line 1906 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Implements yarp::dev::IAmplifierControl.
Definition at line 2610 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get current PID value for a specific joint.
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| j | joint number |
| pid | pointer to storage for the return value. |
Implements yarp::dev::IPidControl.
Definition at line 573 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the current error for a joint.
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| j | joint number |
| err | pointer to the storage for the return value |
Implements yarp::dev::IPidControl.
Definition at line 402 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the error limit for the controller on a specific joint.
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| j | joint number |
| limit | pointer to storage |
Implements yarp::dev::IPidControl.
Definition at line 669 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the error limit for all controllers.
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| limits | pointer to the array that will store the output |
Implements yarp::dev::IPidControl.
Definition at line 688 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the error of all joints.
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| errs | pointer to the vector that will store the errors |
Implements yarp::dev::IPidControl.
Definition at line 422 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get PID extra info and measurement units for a specific joint.
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| j | joint number |
| info | the measurement units for the specified PID. |
Implements yarp::dev::IPidControl.
Definition at line 793 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get PID extra info and measurement units for a specific joint.
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| info | vector that will store the info about of the pids. |
Implements yarp::dev::IPidControl.
Definition at line 813 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the currently set feedforward value for the specified PID controller.
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| j | joint number |
| v | the feedforward value |
Implements yarp::dev::IPidControl.
Definition at line 554 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the currently set offset value for the specified PID controller.
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| j | joint number |
| v | the offset value |
Implements yarp::dev::IPidControl.
Definition at line 516 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the output of the controller (e.g.
pwm value)
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| j | joint number |
| out | pointer to storage for return value |
Implements yarp::dev::IPidControl.
Definition at line 450 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the output of the controllers (e.g.
pwm value)
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| outs | pointer to the vector that will store the output values |
Implements yarp::dev::IPidControl.
Definition at line 469 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the current reference of the PID controller for a specific joint.
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| j | joint number |
| ref | pointer to storage for return value |
Implements yarp::dev::IPidControl.
Definition at line 621 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the current reference of all PID controllers.
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| refs | vector that will store the output. |
Implements yarp::dev::IPidControl.
Definition at line 640 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get current PID value for a specific joint.
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| pids | vector that will store the values of the pids. |
Implements yarp::dev::IPidControl.
Definition at line 592 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the software limits for a particular axis.
| axis | joint number |
| pointer | to store the value of the lower limit |
| pointer | to store the value of the upper limit |
Implements yarp::dev::IControlLimits.
Definition at line 2772 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Implements yarp::dev::IAmplifierControl.
Definition at line 2729 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Implements yarp::dev::IAmplifierControl.
Definition at line 2670 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Implements yarp::dev::IAmplifierControl.
Definition at line 2689 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the reference value of the current for a single motor.
| m | motor number |
| curr | the current reference value for motor m. Value is expressed in amperes. |
Implements yarp::dev::ICurrentControl.
Definition at line 4430 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the reference value of the currents for all motors.
| currs | pointer to the array to be filled with reference current values. Values are expressed in amperes. |
Implements yarp::dev::ICurrentControl.
Definition at line 4447 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Gets the last reference sent using the setRefDutyCycle function.
| m | motor number |
| ref | pointer to storage for return value, expressed as percentage (-100% +100%) |
Implements yarp::dev::IPWMControl.
Definition at line 4179 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Gets the last reference sent using the setRefDutyCycles function.
| refs | pointer to the vector that will store the values, expressed as percentage (-100% +100%) |
Implements yarp::dev::IPWMControl.
Definition at line 4196 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the last position reference for the specified axis.
This is the dual of setPositionsRaw and shall return only values sent using IPositionDirect interface. If other interfaces like IPositionControl are implemented by the device, this call must ignore their values, i.e. this call must never return a reference sent using IPositionControl::PositionMove.
| ref | last reference sent using setPosition(s) functions |
Implements yarp::dev::IPositionDirect.
Definition at line 3792 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the last position reference for the specified group of axes.
This is the dual of setPositionsRaw and shall return only values sent using IPositionDirect interface. If other interfaces like IPositionControl are implemented by the device, this call must ignore their values, i.e. this call must never return a reference sent using IPositionControl::PositionMove.
| ref | array containing last reference sent using setPosition(s) functions |
Implements yarp::dev::IPositionDirect.
Definition at line 3844 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the last position reference for all axes.
This is the dual of setPositionsRaw and shall return only values sent using IPositionDirect interface. If other interfaces like IPositionControl are implemented by the device, this call must ignore their values, i.e. this call must never return a reference sent using IPositionControl::PositionMove.
| ref | array containing last reference sent using setPosition(s) functions |
Implements yarp::dev::IPositionDirect.
Definition at line 3813 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the reference value of the torque for a given joint.
This is NOT the feedback (see getTorque instead).
| j | joint number |
| t | the returned reference torque of joint j |
Implements yarp::dev::ITorqueControl.
Definition at line 3173 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the reference value of the torque for all joints.
This is NOT the feedback (see getTorques instead).
| t | pointer to the array of torque values |
Implements yarp::dev::ITorqueControl.
Definition at line 3144 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the last reference velocity set by setRefVelocity() for a single joint.
| jnt | joint number |
| vel | returns the velocity reference for the specified joint. |
Implements yarp::dev::IVelocityDirect.
Definition at line 4604 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the last reference velocity set by setRefVelocity() for a group of joints.
| jnts | vector containing the ids of the joints to control. |
| vels | vector containing the velocity references of the joints belonging to the required subset. |
Implements yarp::dev::IVelocityDirect.
Definition at line 4638 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the last reference velocity set by setRefVelocity() for all joints.
| vels | vector containing the velocity references of all joints. |
Implements yarp::dev::IVelocityDirect.
Definition at line 4617 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Implements yarp::dev::IRemoteVariables.
Definition at line 2039 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Implements yarp::dev::IRemoteVariables.
Definition at line 2114 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the last position reference for the specified axis.
This is the dual of PositionMove and shall return only values sent using IPositionControl interface. If other interfaces like IPositionDirect are implemented by the device, this call must ignore their values, i.e. this call must never return a reference sent using IPositionDirect::SetPosition
| ref | last reference sent using PositionMove functions |
Implements yarp::dev::IPositionControl.
Definition at line 921 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the last position reference for the specified group of axes.
This is the dual of PositionMove and shall return only values sent using IPositionControl interface. If other interfaces like IPositionDirect are implemented by the device, this call must ignore their values, i.e. this call must never return a reference sent using IPositionDirect::SetPosition
| ref | last reference sent using PositionMove functions |
Implements yarp::dev::IPositionControl.
Definition at line 973 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the last position reference for all axes.
This is the dual of PositionMove and shall return only values sent using IPositionControl interface. If other interfaces like IPositionDirect are implemented by the device, this call must ignore their values, i.e. this call must never return a reference sent using IPositionDirect::SetPosition
| ref | last reference sent using PositionMove functions |
Implements yarp::dev::IPositionControl.
Definition at line 942 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the last reference speed set by velocityMove for a group of joints.
| n_joint | how many joints this command is referring to |
| joints | of joints controlled. The size of this array is n_joints |
| vels | pointer to the array containing the requested values, one value for each joint. The size of the array is n_joints. |
Implements yarp::dev::IVelocityControl.
Definition at line 3959 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the last reference speed set by velocityMove for all joints.
| vels | pointer to the array containing the new speed values, one value for each joint |
Implements yarp::dev::IVelocityControl.
Definition at line 3929 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the last reference speed set by velocityMove for single joint.
| j | joint number |
| vel | returns the requested reference. |
Implements yarp::dev::IVelocityControl.
Definition at line 3907 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get temperature of a motor.
| m | motor number |
| val | retrieved motor temperature |
Implements yarp::dev::IMotor.
Definition at line 1912 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Retrieves the current temperature limit for a specific motor.
The specific behavior of the motor when the temperature limit is exceeded depends on the implementation (power off recommended)
| m | motor number |
| temp | the current temperature limit. |
Implements yarp::dev::IMotor.
Definition at line 1958 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get temperature of all the motors.
| vals | pointer to an array containing all motor temperatures |
Implements yarp::dev::IMotor.
Definition at line 1932 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the value of the torque on a given joint (this is the feedback if you have a torque sensor).
| j | joint number |
| t | pointer to the result value |
Implements yarp::dev::ITorqueControl.
Definition at line 3340 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the full scale of the torque sensor of a given joint.
| j | joint number |
| min | minimum torque of the joint j |
| max | maximum torque of the joint j |
Implements yarp::dev::ITorqueControl.
Definition at line 3390 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the full scale of the torque sensors of all joints.
| min | pointer to the array that will store minimum torques of the joints |
| max | pointer to the array that will store maximum torques of the joints |
Implements yarp::dev::ITorqueControl.
Definition at line 3410 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the value of the torque for all joints (this is the feedback if you have torque sensors).
| t | pointer to the array that will store the output |
Implements yarp::dev::ITorqueControl.
Definition at line 3360 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get reference acceleration for a joint.
Returns the acceleration used to generate the trajectory profile.
| j | joint number |
| acc | pointer to storage for the return value |
Implements yarp::dev::IPositionControl.
Definition at line 1390 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get reference acceleration for a joint.
Returns the acceleration used to generate the trajectory profile.
| joints | pointer to the array of joint numbers |
| accs | pointer to the array that will store the acceleration values |
Implements yarp::dev::IPositionControl.
Definition at line 1440 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get reference acceleration of all joints.
These are the values used during the interpolation of the trajectory.
| accs | pointer to the array that will store the acceleration values. |
Implements yarp::dev::IPositionControl.
Definition at line 1410 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get reference speed for a joint.
Returns the speed used to generate the trajectory profile.
| j | joint number |
| ref | pointer to storage for the return value |
Implements yarp::dev::IPositionControl.
Definition at line 1307 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get reference speed of all joints.
These are the values used during the interpolation of the trajectory.
| joints | pointer to the array of joint numbers |
| spds | pointer to the array that will store the speed values. |
Implements yarp::dev::IPositionControl.
Definition at line 1357 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get reference speed of all joints.
These are the values used during the interpolation of the trajectory.
| spds | pointer to the array that will store the speed values. |
Implements yarp::dev::IPositionControl.
Definition at line 1327 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the software speed limits for a particular axis.
| axis | joint number |
| min | pointer to store the value of the lower limit |
| max | pointer to store the value of the upper limit |
Implements yarp::dev::IControlLimits.
Definition at line 2812 of file ControlBoardRemappingEngine.cpp.
|
inline |
Return the value of the verbose flag.
Definition at line 111 of file ControlBoardRemappingEngine.h.
|
overridevirtual |
homingSingleJoint: call the homing procedure for a single joint
| j | joint to be calibrated |
Implements yarp::dev::IRemoteCalibrator.
Definition at line 2895 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
homingWholePart: call the homing procedure for a the whole part/device
Implements yarp::dev::IRemoteCalibrator.
Definition at line 2921 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
isCalibratorDevicePresent: check if a calibrator device has been set
Reimplemented from yarp::dev::IRemoteCalibrator.
Definition at line 2838 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Check is the joint brake is currently active.
| j | joint number |
| braked | is true if the joint is currently braked |
Implements yarp::dev::IJointBrake.
Definition at line 4480 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the current status (enabled/disabled) of the PID.
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| j | joint number |
| enabled | the current status of the PID controller. |
Implements yarp::dev::IPidControl.
Definition at line 773 of file ControlBoardRemappingEngine.cpp.
|
delete |
|
delete |
|
overridevirtual |
parkSingleJoint(): start the parking procedure for the single joint
Implements yarp::dev::IRemoteCalibrator.
Definition at line 2940 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
parkWholePart: start the parking procedure for the whole part
Implements yarp::dev::IRemoteCalibrator.
Definition at line 2966 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set new reference point for all axes.
| refs | array, new reference points. |
Implements yarp::dev::IPositionControl.
Definition at line 869 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set new reference point for a subset of joints.
| joints | pointer to the array of joint numbers |
| refs | pointer to the array specifying the new reference points |
Implements yarp::dev::IPositionControl.
Definition at line 895 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set new reference point for a single axis.
| j | joint number |
| ref | specifies the new ref point |
Implements yarp::dev::IPositionControl.
Definition at line 849 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
quitCalibrate: interrupt the calibration procedure
Implements yarp::dev::IRemoteCalibrator.
Definition at line 2987 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
quitPark: interrupt the park procedure
Implements yarp::dev::IRemoteCalibrator.
Definition at line 3013 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set relative position, all joints.
| deltas | pointer to the relative commands |
Implements yarp::dev::IPositionControl.
Definition at line 1026 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set relative position for a subset of joints.
| joints | pointer to the array of joint numbers |
| deltas | pointer to the array of relative commands |
Implements yarp::dev::IPositionControl.
Definition at line 1051 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set relative position.
The command is relative to the current position of the axis.
| j | joint axis number |
| delta | relative command |
Implements yarp::dev::IPositionControl.
Definition at line 1006 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Reset encoder, single joint.
Set the encoder value to zero
| j | encoder number |
Implements yarp::dev::IEncoders.
Definition at line 1613 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Reset encoders.
Set the encoders value to zero
Implements yarp::dev::IEncoders.
Definition at line 1632 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Reset motor encoder, single motor.
Set the encoder value to zero.
| m | motor number |
Implements yarp::dev::IMotorEncoders.
Definition at line 2136 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Reset motor encoders.
Set the motor encoders value to zero.
Implements yarp::dev::IMotorEncoders.
Definition at line 2156 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Reset the controller of a given joint, usually sets the current status of the joint as the reference value for the PID, and resets the integrator.
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| j | joint number |
Implements yarp::dev::IPidControl.
Definition at line 718 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Enables/Disables the automatic joint brake.
If enabled, the firmware can automatically choose when to enable the joint brake (for example when the joint is in hardware_fault mode).
| j | joint number |
| enabled | true to enable the automatic joint brake |
Implements yarp::dev::IJointBrake.
Definition at line 4510 of file ControlBoardRemappingEngine.cpp.
|
protected |
Definition at line 23 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Start calibration, this method is very often platform specific.
Implements yarp::dev::IControlCalibration.
Definition at line 3055 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the current control mode.
| j | joint number |
| mode | a vocab of the desired control mode for joint j. |
Implements yarp::dev::IControlMode.
Definition at line 3606 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the current control mode for a subset of axes.
| n_joints | how many joints this command is referring to |
| joints | list of joint numbers, the size of this array is n_joints |
| modes | array containing the new controlmodes, one value for each joint, the size is n_joints. The first value will be the new reference for the joint joints[0]. for example: n_joint 3 joints 0 2 4 modes VOCAB_CM_POSITION VOCAB_CM_VELOCITY VOCAB_CM_POSITION |
Implements yarp::dev::IControlMode.
Definition at line 3632 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the current control mode (multiple joints).
| modes | a vector containing vocabs for the desired control modes of the joints. |
Implements yarp::dev::IControlMode.
Definition at line 3657 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the value of the encoder for a given joint.
| j | encoder number |
| val | new value |
Implements yarp::dev::IEncoders.
Definition at line 1660 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the value of all encoders.
| vals | pointer to the new values |
Implements yarp::dev::IEncoders.
Definition at line 1680 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the gearbox ratio for a specific motor.
| m | motor number |
| gearbox | ratio to be set |
Implements yarp::dev::IMotor.
Definition at line 2018 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set current impedance gains (stiffness,damping) for a specific joint.
Implements yarp::dev::IImpedanceControl.
Definition at line 3300 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set current force Offset for a specific joint.
Implements yarp::dev::IImpedanceControl.
Definition at line 3320 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the interaction mode of the robot, values can be stiff or compliant.
Please note that some robot may not implement certain types of interaction, so always check the return value.
| axis | joint number |
| mode | the desired interaction mode |
Implements yarp::dev::IInteractionMode.
Definition at line 4073 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the interaction mode of the robot for a set of joints, values can be stiff or compliant.
Please note that some robot may not implement certain types of interaction, so always check the return value.
| n_joints | how many joints this command is referring to |
| joints | list of joints controlled. The size of this array is n_joints |
| modes | array containing the desired interaction mode, one value for each joint, the size is n_joints. for example: n_joint 3 joints 0 2 4 refs VOCAB_IM_STIFF VOCAB_IM_STIFF VOCAB_IM_COMPLIANT |
Implements yarp::dev::IInteractionMode.
Definition at line 4093 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the interaction mode of the robot for a all the joints, values can be stiff or compliant.
Some robot may not implement some types of interaction, so always check the return value
| mode | array with the desired interaction mode for all joints, length is the total number of joints for the part |
Implements yarp::dev::IInteractionMode.
Definition at line 4112 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Enables/Disables manually the joint brake.
| j | joint number |
| active | true to enable the joint brake |
Implements yarp::dev::IJointBrake.
Definition at line 4495 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Implements yarp::dev::IAmplifierControl.
Definition at line 2550 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the value of the motor encoder for a given motor.
| m | motor number |
| val | new value |
Implements yarp::dev::IMotorEncoders.
Definition at line 2185 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Sets number of counts per revolution for motor encoder m.
| m | motor number |
| cpr | new value |
Implements yarp::dev::IMotorEncoders.
Definition at line 2235 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the value of all motor encoders.
| vals | pointer to the new values |
Implements yarp::dev::IMotorEncoders.
Definition at line 2205 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set a subset of motor parameters (bemf, ktau etc) useful for torque control.
| j | joint number |
| params | a struct containing the motor parameters to be set |
Implements yarp::dev::ITorqueControl.
Definition at line 3280 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Implements yarp::dev::IAmplifierControl.
Definition at line 2650 of file ControlBoardRemappingEngine.cpp.
|
protected |
Set the number of controlled axes, resizing appropriately all the necessary buffers.
Definition at line 29 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Implements yarp::dev::IAmplifierControl.
Definition at line 2630 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set new PID value for a joint axis.
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| j | joint number |
| pid | new PID value |
Implements yarp::dev::IPidControl.
Definition at line 257 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the error limit for the controller on a specific joint.
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| j | joint number |
| limit | limit value |
Implements yarp::dev::IPidControl.
Definition at line 354 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Get the error limit for the controller on all joints.
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| limits | pointer to the vector with the new limits |
Implements yarp::dev::IPidControl.
Definition at line 373 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the feedforward value for the specified PID controller.
This value will be multiplied by the PID feedforward gain.
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| j | joint number |
| v | the feedforward value |
Implements yarp::dev::IPidControl.
Definition at line 535 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set an offset value for a given controller.
The value will added to the output of the PID controller
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| j | joint number |
| v | the offset value |
Implements yarp::dev::IPidControl.
Definition at line 497 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the controller reference for a given axis.
Warning this method can result in very large torques and should be used carefully. If you do not understand this warning you should avoid using this method. Have a look at other interfaces (e.g. position control).
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| j | joint number |
| ref | new reference point |
Implements yarp::dev::IPidControl.
Definition at line 305 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the controller reference, multiple axes.
Warning this method can result in very large torques and should be used carefully. If you do not understand this warning you should avoid using this method. Have a look at other interfaces (e.g. position control).
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| refs | pointer to the vector that contains the new reference points. |
Implements yarp::dev::IPidControl.
Definition at line 325 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set new PID value on multiple axes.
| pidtype | the id of the PID that will be affected by the command (e.g. position, velocity etc) |
| pids | pointer to a vector of pids |
Implements yarp::dev::IPidControl.
Definition at line 276 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set new position for a single axis.
| j | joint number |
| ref | specifies the new ref point |
Implements yarp::dev::IPositionDirect.
Definition at line 3682 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set new position for a set of axis.
| refs | specifies the new reference points |
Implements yarp::dev::IPositionDirect.
Definition at line 3728 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set new reference point for all axes.
| n_joint | how many joints this command is referring to |
| joints | list of joints controlled. The size of this array is n_joints |
| refs | array, new reference points, one value for each joint, the size is n_joints. The first value will be the new reference for the joint joints[0]. for example: n_joint 3 joints 0 2 4 refs 10 30 40 |
Implements yarp::dev::IPositionDirect.
Definition at line 3702 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the software limits for a particular axis, the behavior of the control card when these limits are exceeded, depends on the implementation.
| axis | joint number (why am I telling you this) |
| min | the value of the lower limit |
| max | the value of the upper limit |
Implements yarp::dev::IControlLimits.
Definition at line 2752 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Implements yarp::dev::IAmplifierControl.
Definition at line 2709 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the reference value of the current for a single motor.
| m | motor number |
| curr | the current reference value for motor m. Value is expressed in amperes. |
Implements yarp::dev::ICurrentControl.
Definition at line 4367 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the reference value of the currents for all motors.
| currs | the array containing the reference current values. Values are expressed in amperes. |
Implements yarp::dev::ICurrentControl.
Definition at line 4410 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the reference value of the current for a group of motors.
| n_motor | size of motors ans currs arrays |
| motors | pointer to the array containing the list of motor numbers |
| currs | pointer to the array specifying the new current references |
Implements yarp::dev::ICurrentControl.
Definition at line 4384 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Sets the reference dutycycle to a single motor.
| m | motor number |
| ref | the dutycycle, expressed as percentage (-100% +100%) |
Implements yarp::dev::IPWMControl.
Definition at line 4132 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Sets the reference dutycycle for all the motors.
| refs | the dutycycle, expressed as percentage (-100% +100%) |
Implements yarp::dev::IPWMControl.
Definition at line 4149 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the reference value of the torque for a given joint.
| j | joint number |
| t | new value |
Implements yarp::dev::ITorqueControl.
Definition at line 3222 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the reference value of the torque for all joints.
| t | pointer to the array of torque values |
Implements yarp::dev::ITorqueControl.
Definition at line 3192 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set new torque reference for a subset of joints.
| joints | pointer to the array of joint numbers |
| refs | pointer to the array specifying the new torque reference |
Implements yarp::dev::ITorqueControl.
Definition at line 3240 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the velocity of all joints.
| vels | vector containing joint velocities for all joints |
Implements yarp::dev::IVelocityDirect.
Definition at line 4555 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the velocity of a subset of joints.
| jnts | vector containing the ids of the joints to control. |
| vels | vector containing the joint velocities for the required subset. |
Implements yarp::dev::IVelocityDirect.
Definition at line 4579 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the velocity of single joint.
| jnt | joint number |
| vel | speed value |
Implements yarp::dev::IVelocityDirect.
Definition at line 4542 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Implements yarp::dev::IRemoteVariables.
Definition at line 2073 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the temperature limit for a specific motor.
The specific behavior of the motor when the temperature limit is exceeded depends on the implementation (power off recommended)
| m | motor number |
| temp | the temperature limit to be set |
Implements yarp::dev::IMotor.
Definition at line 1978 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set reference acceleration for a joint.
This value is used during the trajectory generation.
| j | joint number |
| acc | acceleration value |
Implements yarp::dev::IPositionControl.
Definition at line 1235 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set reference acceleration on all joints.
This is the value that is used during the generation of the trajectory.
| accs | pointer to the array of acceleration values |
Implements yarp::dev::IPositionControl.
Definition at line 1255 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set reference acceleration on all joints.
This is the value that is used during the generation of the trajectory.
| joints | pointer to the array of joint numbers |
| accs | pointer to the array with acceleration values |
Implements yarp::dev::IPositionControl.
Definition at line 1281 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set reference speed for a joint, this is the speed used during the interpolation of the trajectory.
| j | joint number |
| sp | speed value |
Implements yarp::dev::IPositionControl.
Definition at line 1163 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set reference speed on all joints.
These values are used during the interpolation of the trajectory.
| spds | pointer to the array of speed values. |
Implements yarp::dev::IPositionControl.
Definition at line 1183 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set reference speed on all joints.
These values are used during the interpolation of the trajectory.
| joints | pointer to the array of joint numbers |
| spds | pointer to the array with speed values. |
Implements yarp::dev::IPositionControl.
Definition at line 1209 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Set the software speed limits for a particular axis, the behavior of the control card when these limits are exceeded, depends on the implementation.
| axis | joint number |
| min | the value of the lower limit |
| max | the value of the upper limit |
Implements yarp::dev::IControlLimits.
Definition at line 2792 of file ControlBoardRemappingEngine.cpp.
|
inline |
Set the value of the verbose flag.
Definition at line 116 of file ControlBoardRemappingEngine.h.
|
overridevirtual |
Stop motion, multiple joints.
Implements yarp::dev::IPositionControl.
Definition at line 1492 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Stop motion for subset of joints.
| joints | pointer to the array of joint numbers |
Implements yarp::dev::IPositionControl.
Definition at line 1516 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Stop motion, single joint.
| j | joint number |
Implements yarp::dev::IPositionControl.
Definition at line 1472 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Start motion at a given speed, multiple joints.
| sp | pointer to the array containing the new speed values |
Implements yarp::dev::IVelocityControl.
Definition at line 1586 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Start motion at a given speed for a subset of joints.
| n_joint | how many joints this command is referring to |
| joints | of joints controlled. The size of this array is n_joints |
| spds | pointer to the array containing the new speed values, one value for each joint, the size of the array is n_joints. The first value will be the new reference for the joint joints[0]. for example: n_joint 3 joints 0 2 4 spds 10 30 40 |
Implements yarp::dev::IVelocityControl.
Definition at line 3880 of file ControlBoardRemappingEngine.cpp.
|
overridevirtual |
Start motion at a given speed, single joint.
| j | joint number |
| sp | speed value |
Implements yarp::dev::IVelocityControl.
Definition at line 1566 of file ControlBoardRemappingEngine.cpp.