iCub-main
Loading...
Searching...
No Matches
yarp::dev::CanBusMotionControl Class Reference

canbusmotioncontrol : driver for motor control boards on a CAN bus. More...

#include <CanBusMotionControl.h>

Inheritance diagram for yarp::dev::CanBusMotionControl:

Public Member Functions

 CanBusMotionControl ()
 Default constructor.
virtual ~CanBusMotionControl ()
 Destructor.
virtual bool open (yarp::os::Searchable &config)
 Open the device driver and start communication with the hardware.
bool open (const CanBusMotionControlParameters &par)
 Open the device driver.
virtual bool close (void)
 Closes the device driver.
yarp::dev::DeviceDriver * createDevice (yarp::os::Searchable &config)
void setServerLogger (const IServerLogger *server)
virtual ReturnValue getAvailablePidsRaw (int j, std::vector< PidControlTypeEnum > &avail) override
virtual ReturnValue setPidRaw (const PidControlTypeEnum &pidtype, int j, const Pid &pid) override
virtual ReturnValue setPidsRaw (const PidControlTypeEnum &pidtype, const Pid *pids) override
virtual ReturnValue setPidReferenceRaw (const PidControlTypeEnum &pidtype, int j, double ref) override
 cmd is a SingleAxis poitner with 1 double arg
virtual ReturnValue setPidReferencesRaw (const PidControlTypeEnum &pidtype, const double *refs) override
 cmd is an array of double (LATER: to be optimized).
virtual ReturnValue setPidErrorLimitRaw (const PidControlTypeEnum &pidtype, int j, double limit) override
virtual ReturnValue setPidErrorLimitsRaw (const PidControlTypeEnum &pidtype, const double *limits) override
virtual ReturnValue getPidErrorRaw (const PidControlTypeEnum &pidtype, int j, double *err) override
virtual ReturnValue getPidErrorsRaw (const PidControlTypeEnum &pidtype, double *errs) override
virtual ReturnValue getPidOutputRaw (const PidControlTypeEnum &pidtype, int j, double *out) override
virtual ReturnValue getPidOutputsRaw (const PidControlTypeEnum &pidtype, double *outs) override
virtual ReturnValue getPidRaw (const PidControlTypeEnum &pidtype, int j, Pid *pid) override
virtual ReturnValue getPidsRaw (const PidControlTypeEnum &pidtype, Pid *pids) override
virtual ReturnValue getPidReferenceRaw (const PidControlTypeEnum &pidtype, int j, double *ref) override
virtual ReturnValue getPidReferencesRaw (const PidControlTypeEnum &pidtype, double *refs) override
virtual ReturnValue getPidErrorLimitRaw (const PidControlTypeEnum &pidtype, int j, double *limit) override
virtual ReturnValue getPidErrorLimitsRaw (const PidControlTypeEnum &pidtype, double *limits) override
virtual ReturnValue resetPidRaw (const PidControlTypeEnum &pidtype, int j) override
virtual ReturnValue disablePidRaw (const PidControlTypeEnum &pidtype, int j) override
virtual ReturnValue enablePidRaw (const PidControlTypeEnum &pidtype, int j) override
virtual ReturnValue setPidOffsetRaw (const PidControlTypeEnum &pidtype, int j, double v) override
virtual ReturnValue isPidEnabledRaw (const PidControlTypeEnum &pidtype, int j, bool &enabled) override
virtual ReturnValue getPidExtraInfoRaw (const PidControlTypeEnum &pidtype, int j, PidExtraInfo &info) override
virtual ReturnValue getPidExtraInfosRaw (const PidControlTypeEnum &pidtype, std::vector< PidExtraInfo > &info) override
virtual ReturnValue setPidFeedforwardRaw (const PidControlTypeEnum &pidtype, int j, double v) override
virtual ReturnValue getPidOffsetRaw (const PidControlTypeEnum &pidtype, int j, double &v) override
virtual ReturnValue getPidFeedforwardRaw (const PidControlTypeEnum &pidtype, int j, double &v) override
virtual ReturnValue positionMoveRaw (int j, double ref) override
 POSITION CONTROL INTERFACE RAW.
virtual ReturnValue positionMoveRaw (const double *refs) override
virtual ReturnValue relativeMoveRaw (int j, double delta) override
virtual ReturnValue relativeMoveRaw (const double *deltas) override
virtual ReturnValue checkMotionDoneRaw (bool &flag) override
 ret is a pointer to a bool
virtual ReturnValue checkMotionDoneRaw (int j, bool &flag) override
 check motion done, single axis.
virtual ReturnValue setTrajSpeedRaw (int j, double sp) override
virtual ReturnValue setTrajSpeedsRaw (const double *spds) override
virtual ReturnValue setTrajAccelerationRaw (int j, double acc) override
virtual ReturnValue setTrajAccelerationsRaw (const double *accs) override
virtual ReturnValue getTrajSpeedRaw (int j, double *ref) override
virtual ReturnValue getTrajSpeedsRaw (double *spds) override
 cmd is an array of double (LATER: to be optimized).
virtual ReturnValue getTrajAccelerationRaw (int j, double *acc) override
 cmd is an array of double (LATER: to be optimized).
virtual ReturnValue getTrajAccelerationsRaw (double *accs) override
 cmd is an array of double (LATER: to be optimized).
virtual ReturnValue stopRaw (int j) override
virtual ReturnValue stopRaw () override
bool helper_setPosPidRaw (int j, const Pid &pid)
bool helper_getPosPidRaw (int j, Pid *pid)
virtual ReturnValue getRefTorqueRaw (int j, double *ref_trq) override
 TORQUE CONTROL INTERFACE RAW.
virtual ReturnValue getRefTorquesRaw (double *ref_trqs) override
 cmd is an array of double (LATER: to be optimized).
virtual ReturnValue setRefTorqueRaw (int j, double ref_trq) override
 cmd is a SingleAxis poitner with 1 double arg
virtual ReturnValue setRefTorquesRaw (const double *ref_trqs) override
 cmd is an array of double (LATER: to be optimized).
virtual ReturnValue setRefTorquesRaw (const int n_joint, const int *joints, const double *t) override
virtual ReturnValue getTorqueRaw (int j, double *trq) override
 cmd is a SingleAxis pointer with 1 double arg
virtual ReturnValue getTorquesRaw (double *trqs) override
 cmd is an array of double (LATER: to be optimized).
virtual ReturnValue getTorqueRangeRaw (int j, double *min, double *max) override
virtual ReturnValue getTorqueRangesRaw (double *min, double *max) override
virtual ReturnValue getMotorTorqueParamsRaw (int j, MotorTorqueParameters *params) override
virtual ReturnValue setMotorTorqueParamsRaw (int j, const MotorTorqueParameters params) override
bool getFilterTypeRaw (int j, int *type)
bool setFilterTypeRaw (int j, int type)
bool helper_setTrqPidRaw (int j, const Pid &pid)
bool helper_getTrqPidRaw (int j, Pid *pid)
virtual ReturnValue getImpedanceRaw (int j, double *stiff, double *damp) override
 IMPEDANCE CONTROL INTERFACE RAW.
virtual ReturnValue setImpedanceRaw (int j, double stiff, double damp) override
virtual ReturnValue getImpedanceOffsetRaw (int j, double *offs) override
virtual ReturnValue setImpedanceOffsetRaw (int j, double offs) override
virtual ReturnValue getCurrentImpedanceLimitRaw (int j, double *min_stiff, double *max_stiff, double *min_damp, double *max_damp) override
virtual ReturnValue getAvailableControlModesRaw (int j, std::vector< yarp::dev::SelectableControlModeEnum > &avail) override
virtual ReturnValue getControlModeRaw (int j, yarp::dev::ControlModeEnum &mode) override
virtual ReturnValue getControlModesRaw (std::vector< yarp::dev::ControlModeEnum > &mode) override
virtual ReturnValue getControlModesRaw (const std::vector< int > &joints, std::vector< yarp::dev::ControlModeEnum > &mode) override
virtual ReturnValue setControlModeRaw (int j, yarp::dev::SelectableControlModeEnum mode) override
virtual ReturnValue setControlModesRaw (const std::vector< int > &joints, const std::vector< yarp::dev::SelectableControlModeEnum > &modes) override
virtual ReturnValue setControlModesRaw (const std::vector< yarp::dev::SelectableControlModeEnum > &modes) override
virtual ReturnValue getRemoteVariableRaw (std::string key, yarp::os::Bottle &val) override
virtual ReturnValue setRemoteVariableRaw (std::string key, const yarp::os::Bottle &val) override
virtual ReturnValue getRemoteVariablesListRaw (yarp::os::Bottle *listOfKeys) override
virtual ReturnValue velocityMoveRaw (int j, double sp) override
 Velocity control interface raw.
virtual ReturnValue velocityMoveRaw (const double *sp) override
 cmd is an array of double of length njoints specifying speed for each axis
bool setVelocityShiftRaw (int j, double val)
bool setVelocityTimeoutRaw (int j, double val)
bool setSpeedEstimatorShiftRaw (int j, double jnt_speed, double jnt_acc, double mot_speed, double mot_acc)
virtual ReturnValue resetEncoderRaw (int j) override
virtual ReturnValue resetEncodersRaw () override
virtual ReturnValue setEncoderRaw (int j, double val) override
virtual ReturnValue setEncodersRaw (const double *vals) override
virtual ReturnValue getEncoderRaw (int j, double *v) override
virtual ReturnValue getEncodersRaw (double *encs) override
virtual ReturnValue getEncoderSpeedRaw (int j, double *sp) override
virtual ReturnValue getEncoderSpeedsRaw (double *spds) override
virtual ReturnValue getEncoderAccelerationRaw (int j, double *spds) override
virtual ReturnValue getEncoderAccelerationsRaw (double *accs) override
virtual ReturnValue getEncodersTimedRaw (double *v, double *t) override
virtual ReturnValue getEncoderTimedRaw (int j, double *v, double *t) override
virtual ReturnValue getNumberOfMotorEncodersRaw (int *num) override
virtual ReturnValue resetMotorEncoderRaw (int m) override
virtual ReturnValue resetMotorEncodersRaw () override
virtual ReturnValue setMotorEncoderRaw (int m, const double val) override
virtual ReturnValue setMotorEncodersRaw (const double *vals) override
virtual ReturnValue getMotorEncoderRaw (int m, double *v) override
virtual ReturnValue getMotorEncodersRaw (double *encs) override
virtual ReturnValue getMotorEncoderCountsPerRevolutionRaw (int m, double *cpr) override
virtual ReturnValue setMotorEncoderCountsPerRevolutionRaw (int m, const double cpr) override
virtual ReturnValue getMotorEncoderSpeedRaw (int m, double *sp) override
virtual ReturnValue getMotorEncoderSpeedsRaw (double *spds) override
virtual ReturnValue getMotorEncoderAccelerationRaw (int m, double *spds) override
virtual ReturnValue getMotorEncoderAccelerationsRaw (double *accs) override
virtual ReturnValue getMotorEncodersTimedRaw (double *v, double *t) override
virtual ReturnValue getMotorEncoderTimedRaw (int m, double *v, double *t) override
virtual ReturnValue enableAmpRaw (int j) override
virtual ReturnValue disableAmpRaw (int j) override
virtual ReturnValue getCurrentsRaw (double *vals) override
virtual ReturnValue getCurrentRaw (int j, double *val) override
virtual ReturnValue setMaxCurrentRaw (int j, double val) override
virtual ReturnValue getMaxCurrentRaw (int j, double *val) override
virtual ReturnValue getAmpStatusRaw (int *st) override
virtual ReturnValue getAmpStatusRaw (int j, int *st) override
virtual ReturnValue getPWMRaw (int j, double *val) override
virtual ReturnValue getPWMLimitRaw (int j, double *val) override
virtual ReturnValue setPWMLimitRaw (int j, const double val) override
virtual ReturnValue getPowerSupplyVoltageRaw (int j, double *val) override
virtual ReturnValue getNumberOfMotorsRaw (int *m) override
 IMotor.
virtual ReturnValue getTemperatureRaw (int m, double *val) override
virtual ReturnValue getTemperaturesRaw (double *vals) override
virtual ReturnValue getTemperatureLimitRaw (int m, double *temp) override
virtual ReturnValue setTemperatureLimitRaw (int m, const double temp) override
virtual ReturnValue getPeakCurrentRaw (int m, double *val) override
virtual ReturnValue setPeakCurrentRaw (int m, const double val) override
virtual ReturnValue getNominalCurrentRaw (int m, double *val) override
virtual ReturnValue setNominalCurrentRaw (int m, const double val) override
virtual ReturnValue setGearboxRatioRaw (int m, const double val) override
virtual ReturnValue getGearboxRatioRaw (int m, double *val) override
virtual ReturnValue getAxes (size_t &axes) override
 IAxisInfo.
virtual ReturnValue getAxisNameRaw (int axis, std::string &name) override
virtual ReturnValue getJointTypeRaw (int axis, yarp::dev::JointTypeEnum &type) override
virtual ReturnValue calibrationDoneRaw (int j) override
virtual ReturnValue calibrateAxisWithParamsRaw (int axis, unsigned int type, double p1, double p2, double p3) override
virtual ReturnValue setCalibrationParametersRaw (int j, const CalibrationParameters &params) override
virtual bool setPrintFunction (int(*f)(const char *fmt,...))
 IControlDebug Interface.
virtual bool loadBootMemory ()
virtual bool saveBootMemory ()
virtual bool setParameterRaw (int j, unsigned int type, double value)
virtual bool getParameterRaw (int j, unsigned int type, double *value)
virtual bool setDebugParameterRaw (int j, unsigned int index, double value)
virtual bool getDebugParameterRaw (int j, unsigned int index, double *value)
virtual bool setDebugReferencePositionRaw (int j, double value)
virtual bool getDebugReferencePositionRaw (int j, double *value)
virtual ReturnValue setPosLimitsRaw (int axis, double min, double max) override
virtual ReturnValue getPosLimitsRaw (int axis, double *min, double *max) override
virtual ReturnValue setVelLimitsRaw (int axis, double min, double max) override
virtual ReturnValue getVelLimitsRaw (int axis, double *min, double *max) override
virtual yarp::os::Stamp getLastInputStamp () override
virtual ReturnValue positionMoveRaw (const int n_joint, const int *joints, const double *refs) override
virtual ReturnValue relativeMoveRaw (const int n_joint, const int *joints, const double *deltas) override
virtual ReturnValue checkMotionDoneRaw (const std::vector< int > &joints, bool &flag) override
virtual ReturnValue setTrajSpeedsRaw (const int n_joint, const int *joints, const double *spds) override
virtual ReturnValue setTrajAccelerationsRaw (const int n_joint, const int *joints, const double *accs) override
virtual ReturnValue getTrajSpeedsRaw (const int n_joint, const int *joints, double *spds) override
virtual ReturnValue getTrajAccelerationsRaw (const int n_joint, const int *joints, double *accs) override
virtual ReturnValue stopRaw (const int n_joint, const int *joints) override
virtual ReturnValue getTargetPositionRaw (const int joint, double *ref) override
virtual ReturnValue getTargetPositionsRaw (double *refs) override
virtual ReturnValue getTargetPositionsRaw (const int n_joint, const int *joints, double *refs) override
virtual ReturnValue velocityMoveRaw (const int n_joint, const int *joints, const double *spds) override
virtual ReturnValue getTargetVelocityRaw (const int joint, double *ref) override
virtual ReturnValue getTargetVelocitiesRaw (double *refs) override
virtual ReturnValue getTargetVelocitiesRaw (const int n_joint, const int *joints, double *refs) override
bool helper_getVelPidRaw (int j, Pid *pid)
bool helper_setVelPidRaw (int j, const Pid &pid)
virtual bool getFirmwareVersionRaw (int axis, can_protocol_info const &icub_interface_protocol, firmware_info *info)
virtual bool setTorqueSource (int axis, char board_id, char board_chan)
virtual ReturnValue setPositionRaw (int j, double ref) override
virtual ReturnValue setPositionsRaw (const int n_joint, const int *joints, const double *refs) override
virtual ReturnValue setPositionsRaw (const double *refs) override
virtual ReturnValue getRefPositionRaw (const int joint, double *ref) override
virtual ReturnValue getRefPositionsRaw (double *refs) override
virtual ReturnValue getRefPositionsRaw (const int n_joint, const int *joints, double *refs) override
virtual ReturnValue getInteractionModeRaw (int axis, yarp::dev::InteractionModeEnum &mode) override
virtual ReturnValue getInteractionModesRaw (const std::vector< int > &joints, std::vector< yarp::dev::InteractionModeEnum > &modes) override
virtual ReturnValue getInteractionModesRaw (std::vector< yarp::dev::InteractionModeEnum > &modes) override
virtual ReturnValue setInteractionModeRaw (int axis, yarp::dev::InteractionModeEnum mode) override
virtual ReturnValue setInteractionModesRaw (const std::vector< int > &joints, const std::vector< yarp::dev::InteractionModeEnum > &modes) override
virtual ReturnValue setInteractionModesRaw (const std::vector< yarp::dev::InteractionModeEnum > &modes) override
virtual ReturnValue setRefDutyCycleRaw (int j, double v) override
virtual ReturnValue setRefDutyCyclesRaw (const double *v) override
virtual ReturnValue getRefDutyCycleRaw (int j, double *v) override
virtual ReturnValue getRefDutyCyclesRaw (double *v) override
virtual ReturnValue getDutyCycleRaw (int j, double *v) override
virtual ReturnValue getDutyCyclesRaw (double *v) override
virtual ReturnValue getCurrentRangeRaw (int j, double *min, double *max) override
virtual ReturnValue getCurrentRangesRaw (double *min, double *max) override
virtual ReturnValue setRefCurrentsRaw (const double *t) override
virtual ReturnValue setRefCurrentRaw (int j, double t) override
virtual ReturnValue setRefCurrentsRaw (const int n_joint, const int *joints, const double *t) override
virtual ReturnValue getRefCurrentsRaw (double *t) override
virtual ReturnValue getRefCurrentRaw (int j, double *t) override
bool helper_setCurPidRaw (int j, const Pid &pid)
bool helper_getCurPidRaw (int j, Pid *pid)
Public Member Functions inherited from yarp::dev::IFactoryInterface
virtual ~IFactoryInterface ()

Protected Types

enum  {
  MAX_SHORT = 32767 ,
  MIN_SHORT = -32768 ,
  MAX_INT = 0x7fffffff ,
  MIN_INT = 0x80000000
}
 time stamp for last received position move command More...
enum  { CAN_SKIP_ADDR = 0x80 }

Protected Member Functions

bool setBCastMessages (int axis, unsigned int v)
 sets the broadcast policy for a given board (don't need to be called twice).
bool ENABLED (int axis)
 helper function to check whether the enabled flag is on or off.
virtual void run (void)
virtual bool threadInit ()
virtual void threadRelease ()
bool _writeWord16 (int msg, int axis, short s)
 to send a Word16.
bool _writeWord16Ex (int msg, int axis, short s1, short s2, bool check=true)
 two shorts in a single Can message (both must belong to the same control card).
bool _readWord16 (int msg, int axis, short &value)
bool _readWord16Ex (int msg, int axis, short &value1, short &value2)
bool _readWord16Array (int msg, double *out)
 reads an array.
bool _readDWord (int msg, int axis, int &value)
 READ functions sends a message and gets a dword back.
bool _readDWordArray (int msg, double *out)
 reads an array of double words.
bool _writeDWord (int msg, int axis, int value)
 write a DWord
bool _writeNone (int msg, int axis)
 WRITE functions sends a message without parameters.
bool _writeByte8 (int msg, int axis, int value)
 write a byte
bool _readByte8 (int msg, int axis, int &value)
bool _writeByteWords16 (int msg, int axis, unsigned char value, short s1, short s2, short s3)
icubCanProto_controlmode_t from_modevocab_to_modeint (int modevocab)
int from_modeint_to_modevocab (unsigned char modeint)
unsigned char from_interactionvocab_to_interactionint (int interactionvocab)
int from_interactionint_to_interactionvocab (unsigned char interactionint)
short S_16 (double x) const
int S_32 (double x) const

Protected Attributes

void * system_resources
std::recursive_mutex _mutex
ICanBus * canController
bool _writerequested
bool _noreply
bool _opened
ThreadPool2 * threadPool
int _filter
 filter for recurrent messages.
axisTorqueHelper * _axisTorqueHelper
axisImpedanceHelper * _axisImpedanceHelper
firmwareVersionHelper * _firmwareVersionHelper
speedEstimationHelper * _speedEstimationHelper
axisPositionDirectHelper * _axisPositionDirectHelper
double * _ref_speeds
double * _ref_command_speeds
double * _ref_accs
double * _ref_torques
double * _ref_command_positions
double * _ref_positions
double * _max_vel_jnt_cmd
bool _MCtorqueControlEnabled
double * _last_position_move_time

Detailed Description

canbusmotioncontrol : driver for motor control boards on a CAN bus.

This device contains code which handles communication to the motor control boards on a CAN bus. It converts requests from function calls into CAN bus messages for the motor control boards. A thread monitors the bus for incoming messages and dispatches replies to calling threads.

Communication with the CAN bus is done through the standard YARP ICanBus interface.

YARP device name
canbusmotioncontrol

Definition at line 654 of file CanBusMotionControl.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected

time stamp for last received position move command

Enumerator
MAX_SHORT 
MIN_SHORT 
MAX_INT 
MIN_INT 

Definition at line 1186 of file CanBusMotionControl.h.

◆ anonymous enum

anonymous enum
protected
Enumerator
CAN_SKIP_ADDR 

Definition at line 1187 of file CanBusMotionControl.h.

Constructor & Destructor Documentation

◆ CanBusMotionControl()

CanBusMotionControl::CanBusMotionControl ( )

Default constructor.

Construction is done in two stages, first build the object and then open the device driver.

Definition at line 2391 of file CanBusMotionControl.cpp.

◆ ~CanBusMotionControl()

CanBusMotionControl::~CanBusMotionControl ( )
virtual

Destructor.

Definition at line 2431 of file CanBusMotionControl.cpp.

Member Function Documentation

◆ _readByte8()

bool CanBusMotionControl::_readByte8 ( int msg,
int axis,
int & value )
protected

Definition at line 7164 of file CanBusMotionControl.cpp.

◆ _readDWord()

bool CanBusMotionControl::_readDWord ( int msg,
int axis,
int & value )
protected

READ functions sends a message and gets a dword back.

Definition at line 6994 of file CanBusMotionControl.cpp.

◆ _readDWordArray()

bool CanBusMotionControl::_readDWordArray ( int msg,
double * out )
protected

reads an array of double words.

Definition at line 7044 of file CanBusMotionControl.cpp.

◆ _readWord16()

bool CanBusMotionControl::_readWord16 ( int msg,
int axis,
short & value )
protected

Definition at line 7112 of file CanBusMotionControl.cpp.

◆ _readWord16Array()

bool CanBusMotionControl::_readWord16Array ( int msg,
double * out )
protected

reads an array.

Definition at line 7274 of file CanBusMotionControl.cpp.

◆ _readWord16Ex()

bool CanBusMotionControl::_readWord16Ex ( int msg,
int axis,
short & value1,
short & value2 )
protected

Definition at line 7216 of file CanBusMotionControl.cpp.

◆ _writeByte8()

bool CanBusMotionControl::_writeByte8 ( int msg,
int axis,
int value )
protected

write a byte

Definition at line 6874 of file CanBusMotionControl.cpp.

◆ _writeByteWords16()

bool CanBusMotionControl::_writeByteWords16 ( int msg,
int axis,
unsigned char value,
short s1,
short s2,
short s3 )
protected

prepare Can message.

Definition at line 6952 of file CanBusMotionControl.cpp.

◆ _writeDWord()

bool CanBusMotionControl::_writeDWord ( int msg,
int axis,
int value )
protected

write a DWord

Definition at line 6898 of file CanBusMotionControl.cpp.

◆ _writeNone()

bool CanBusMotionControl::_writeNone ( int msg,
int axis )
protected

WRITE functions sends a message without parameters.

Definition at line 6826 of file CanBusMotionControl.cpp.

◆ _writeWord16()

bool CanBusMotionControl::_writeWord16 ( int msg,
int axis,
short s )
protected

to send a Word16.

prepare Can message.

Definition at line 6850 of file CanBusMotionControl.cpp.

◆ _writeWord16Ex()

bool CanBusMotionControl::_writeWord16Ex ( int msg,
int axis,
short s1,
short s2,
bool check = true )
protected

two shorts in a single Can message (both must belong to the same control card).

prepare Can message.

axis is even.

Definition at line 6922 of file CanBusMotionControl.cpp.

◆ calibrateAxisWithParamsRaw()

ReturnValue CanBusMotionControl::calibrateAxisWithParamsRaw ( int axis,
unsigned int type,
double p1,
double p2,
double p3 )
overridevirtual

Definition at line 5644 of file CanBusMotionControl.cpp.

◆ calibrationDoneRaw()

ReturnValue CanBusMotionControl::calibrationDoneRaw ( int j)
overridevirtual

Definition at line 6479 of file CanBusMotionControl.cpp.

◆ checkMotionDoneRaw() [1/3]

ReturnValue CanBusMotionControl::checkMotionDoneRaw ( bool & flag)
overridevirtual

ret is a pointer to a bool

Definition at line 5578 of file CanBusMotionControl.cpp.

◆ checkMotionDoneRaw() [2/3]

ReturnValue CanBusMotionControl::checkMotionDoneRaw ( const std::vector< int > & joints,
bool & flag )
overridevirtual

Definition at line 6588 of file CanBusMotionControl.cpp.

◆ checkMotionDoneRaw() [3/3]

ReturnValue CanBusMotionControl::checkMotionDoneRaw ( int j,
bool & flag )
overridevirtual

check motion done, single axis.

Definition at line 5559 of file CanBusMotionControl.cpp.

◆ close()

bool CanBusMotionControl::close ( void )
virtual

Closes the device driver.

Returns
true on success.

default initialization for this device driver.

stops the thread first (joins too).

Definition at line 2972 of file CanBusMotionControl.cpp.

◆ createDevice()

yarp::dev::DeviceDriver * CanBusMotionControl::createDevice ( yarp::os::Searchable & config)
virtual

Implements yarp::dev::IFactoryInterface.

Definition at line 7340 of file CanBusMotionControl.cpp.

◆ disableAmpRaw()

ReturnValue CanBusMotionControl::disableAmpRaw ( int j)
overridevirtual

Definition at line 6318 of file CanBusMotionControl.cpp.

◆ disablePidRaw()

ReturnValue CanBusMotionControl::disablePidRaw ( const PidControlTypeEnum & pidtype,
int j )
overridevirtual

Definition at line 5484 of file CanBusMotionControl.cpp.

◆ enableAmpRaw()

ReturnValue CanBusMotionControl::enableAmpRaw ( int j)
overridevirtual

Definition at line 6323 of file CanBusMotionControl.cpp.

◆ ENABLED()

bool CanBusMotionControl::ENABLED ( int axis)
inlineprotected

helper function to check whether the enabled flag is on or off.

Parameters
axisis the axis to check for.
Returns
true if the axis is enabled and processing of the message can in fact continue.

Definition at line 6818 of file CanBusMotionControl.cpp.

◆ enablePidRaw()

ReturnValue CanBusMotionControl::enablePidRaw ( const PidControlTypeEnum & pidtype,
int j )
overridevirtual

Definition at line 5394 of file CanBusMotionControl.cpp.

◆ from_interactionint_to_interactionvocab()

int CanBusMotionControl::from_interactionint_to_interactionvocab ( unsigned char interactionint)
inlineprotected

Definition at line 3887 of file CanBusMotionControl.cpp.

◆ from_interactionvocab_to_interactionint()

unsigned char CanBusMotionControl::from_interactionvocab_to_interactionint ( int interactionvocab)
inlineprotected

Definition at line 3870 of file CanBusMotionControl.cpp.

◆ from_modeint_to_modevocab()

int CanBusMotionControl::from_modeint_to_modevocab ( unsigned char modeint)
inlineprotected

Definition at line 3952 of file CanBusMotionControl.cpp.

◆ from_modevocab_to_modeint()

icubCanProto_controlmode_t CanBusMotionControl::from_modevocab_to_modeint ( int modevocab)
inlineprotected

Definition at line 3905 of file CanBusMotionControl.cpp.

◆ getAmpStatusRaw() [1/2]

ReturnValue CanBusMotionControl::getAmpStatusRaw ( int * st)
overridevirtual

Definition at line 6505 of file CanBusMotionControl.cpp.

◆ getAmpStatusRaw() [2/2]

ReturnValue CanBusMotionControl::getAmpStatusRaw ( int j,
int * st )
overridevirtual

Definition at line 6522 of file CanBusMotionControl.cpp.

◆ getAvailableControlModesRaw()

ReturnValue CanBusMotionControl::getAvailableControlModesRaw ( int j,
std::vector< yarp::dev::SelectableControlModeEnum > & avail )
overridevirtual

Definition at line 4018 of file CanBusMotionControl.cpp.

◆ getAvailablePidsRaw()

ReturnValue CanBusMotionControl::getAvailablePidsRaw ( int j,
std::vector< PidControlTypeEnum > & avail )
overridevirtual

Definition at line 4306 of file CanBusMotionControl.cpp.

◆ getAxes()

ReturnValue CanBusMotionControl::getAxes ( size_t & axes)
overridevirtual

IAxisInfo.

Definition at line 4283 of file CanBusMotionControl.cpp.

◆ getAxisNameRaw()

ReturnValue CanBusMotionControl::getAxisNameRaw ( int axis,
std::string & name )
overridevirtual

Definition at line 4210 of file CanBusMotionControl.cpp.

◆ getControlModeRaw()

ReturnValue CanBusMotionControl::getControlModeRaw ( int j,
yarp::dev::ControlModeEnum & mode )
overridevirtual

Definition at line 4032 of file CanBusMotionControl.cpp.

◆ getControlModesRaw() [1/2]

ReturnValue CanBusMotionControl::getControlModesRaw ( const std::vector< int > & joints,
std::vector< yarp::dev::ControlModeEnum > & mode )
overridevirtual

Definition at line 4054 of file CanBusMotionControl.cpp.

◆ getControlModesRaw() [2/2]

ReturnValue CanBusMotionControl::getControlModesRaw ( std::vector< yarp::dev::ControlModeEnum > & mode)
overridevirtual

Definition at line 3833 of file CanBusMotionControl.cpp.

◆ getCurrentImpedanceLimitRaw()

ReturnValue CanBusMotionControl::getCurrentImpedanceLimitRaw ( int j,
double * min_stiff,
double * max_stiff,
double * min_damp,
double * max_damp )
overridevirtual

Definition at line 4406 of file CanBusMotionControl.cpp.

◆ getCurrentRangeRaw()

ReturnValue CanBusMotionControl::getCurrentRangeRaw ( int j,
double * min,
double * max )
overridevirtual

Definition at line 7579 of file CanBusMotionControl.cpp.

◆ getCurrentRangesRaw()

ReturnValue CanBusMotionControl::getCurrentRangesRaw ( double * min,
double * max )
overridevirtual

Definition at line 7584 of file CanBusMotionControl.cpp.

◆ getCurrentRaw()

ReturnValue CanBusMotionControl::getCurrentRaw ( int j,
double * val )
overridevirtual

Definition at line 6343 of file CanBusMotionControl.cpp.

◆ getCurrentsRaw()

ReturnValue CanBusMotionControl::getCurrentsRaw ( double * vals)
overridevirtual

Definition at line 6329 of file CanBusMotionControl.cpp.

◆ getDebugParameterRaw()

bool CanBusMotionControl::getDebugParameterRaw ( int j,
unsigned int index,
double * value )
virtual

Definition at line 5146 of file CanBusMotionControl.cpp.

◆ getDebugReferencePositionRaw()

bool CanBusMotionControl::getDebugReferencePositionRaw ( int j,
double * value )
virtual

Definition at line 5205 of file CanBusMotionControl.cpp.

◆ getDutyCycleRaw()

ReturnValue CanBusMotionControl::getDutyCycleRaw ( int j,
double * v )
overridevirtual

Definition at line 7544 of file CanBusMotionControl.cpp.

◆ getDutyCyclesRaw()

ReturnValue CanBusMotionControl::getDutyCyclesRaw ( double * v)
overridevirtual

Definition at line 7554 of file CanBusMotionControl.cpp.

◆ getEncoderAccelerationRaw()

ReturnValue CanBusMotionControl::getEncoderAccelerationRaw ( int j,
double * spds )
overridevirtual

Definition at line 6151 of file CanBusMotionControl.cpp.

◆ getEncoderAccelerationsRaw()

ReturnValue CanBusMotionControl::getEncoderAccelerationsRaw ( double * accs)
overridevirtual

Definition at line 6138 of file CanBusMotionControl.cpp.

◆ getEncoderRaw()

ReturnValue CanBusMotionControl::getEncoderRaw ( int j,
double * v )
overridevirtual

Definition at line 6103 of file CanBusMotionControl.cpp.

◆ getEncoderSpeedRaw()

ReturnValue CanBusMotionControl::getEncoderSpeedRaw ( int j,
double * sp )
overridevirtual

Definition at line 6125 of file CanBusMotionControl.cpp.

◆ getEncoderSpeedsRaw()

ReturnValue CanBusMotionControl::getEncoderSpeedsRaw ( double * spds)
overridevirtual

Definition at line 6113 of file CanBusMotionControl.cpp.

◆ getEncodersRaw()

ReturnValue CanBusMotionControl::getEncodersRaw ( double * encs)
overridevirtual

Definition at line 6077 of file CanBusMotionControl.cpp.

◆ getEncodersTimedRaw()

ReturnValue CanBusMotionControl::getEncodersTimedRaw ( double * v,
double * t )
overridevirtual

Definition at line 7372 of file CanBusMotionControl.cpp.

◆ getEncoderTimedRaw()

ReturnValue CanBusMotionControl::getEncoderTimedRaw ( int j,
double * v,
double * t )
overridevirtual

Definition at line 7392 of file CanBusMotionControl.cpp.

◆ getFilterTypeRaw()

bool CanBusMotionControl::getFilterTypeRaw ( int j,
int * type )

prepare Can message.

Definition at line 5878 of file CanBusMotionControl.cpp.

◆ getFirmwareVersionRaw()

bool CanBusMotionControl::getFirmwareVersionRaw ( int axis,
can_protocol_info const & icub_interface_protocol,
firmware_info * info )
virtual

Definition at line 5220 of file CanBusMotionControl.cpp.

◆ getGearboxRatioRaw()

ReturnValue CanBusMotionControl::getGearboxRatioRaw ( int m,
double * val )
overridevirtual

Definition at line 7644 of file CanBusMotionControl.cpp.

◆ getImpedanceOffsetRaw()

ReturnValue CanBusMotionControl::getImpedanceOffsetRaw ( int j,
double * offs )
overridevirtual

Definition at line 4423 of file CanBusMotionControl.cpp.

◆ getImpedanceRaw()

ReturnValue CanBusMotionControl::getImpedanceRaw ( int j,
double * stiff,
double * damp )
overridevirtual

IMPEDANCE CONTROL INTERFACE RAW.

Definition at line 4343 of file CanBusMotionControl.cpp.

◆ getInteractionModeRaw()

ReturnValue CanBusMotionControl::getInteractionModeRaw ( int axis,
yarp::dev::InteractionModeEnum & mode )
overridevirtual

Definition at line 7406 of file CanBusMotionControl.cpp.

◆ getInteractionModesRaw() [1/2]

ReturnValue CanBusMotionControl::getInteractionModesRaw ( const std::vector< int > & joints,
std::vector< yarp::dev::InteractionModeEnum > & modes )
overridevirtual

Definition at line 7418 of file CanBusMotionControl.cpp.

◆ getInteractionModesRaw() [2/2]

ReturnValue CanBusMotionControl::getInteractionModesRaw ( std::vector< yarp::dev::InteractionModeEnum > & modes)
overridevirtual

Definition at line 7434 of file CanBusMotionControl.cpp.

◆ getJointTypeRaw()

ReturnValue CanBusMotionControl::getJointTypeRaw ( int axis,
yarp::dev::JointTypeEnum & type )
overridevirtual

Definition at line 4225 of file CanBusMotionControl.cpp.

◆ getLastInputStamp()

Stamp CanBusMotionControl::getLastInputStamp ( )
overridevirtual

Definition at line 6096 of file CanBusMotionControl.cpp.

◆ getMaxCurrentRaw()

ReturnValue CanBusMotionControl::getMaxCurrentRaw ( int j,
double * val )
overridevirtual

Definition at line 6362 of file CanBusMotionControl.cpp.

◆ getMotorEncoderAccelerationRaw()

ReturnValue CanBusMotionControl::getMotorEncoderAccelerationRaw ( int m,
double * spds )
overridevirtual

Definition at line 6306 of file CanBusMotionControl.cpp.

◆ getMotorEncoderAccelerationsRaw()

ReturnValue CanBusMotionControl::getMotorEncoderAccelerationsRaw ( double * accs)
overridevirtual

Definition at line 6293 of file CanBusMotionControl.cpp.

◆ getMotorEncoderCountsPerRevolutionRaw()

ReturnValue CanBusMotionControl::getMotorEncoderCountsPerRevolutionRaw ( int m,
double * cpr )
overridevirtual

Definition at line 6246 of file CanBusMotionControl.cpp.

◆ getMotorEncoderRaw()

ReturnValue CanBusMotionControl::getMotorEncoderRaw ( int m,
double * v )
overridevirtual

Definition at line 6205 of file CanBusMotionControl.cpp.

◆ getMotorEncoderSpeedRaw()

ReturnValue CanBusMotionControl::getMotorEncoderSpeedRaw ( int m,
double * sp )
overridevirtual

Definition at line 6282 of file CanBusMotionControl.cpp.

◆ getMotorEncoderSpeedsRaw()

ReturnValue CanBusMotionControl::getMotorEncoderSpeedsRaw ( double * spds)
overridevirtual

Definition at line 6270 of file CanBusMotionControl.cpp.

◆ getMotorEncodersRaw()

ReturnValue CanBusMotionControl::getMotorEncodersRaw ( double * encs)
overridevirtual

Definition at line 6186 of file CanBusMotionControl.cpp.

◆ getMotorEncodersTimedRaw()

ReturnValue CanBusMotionControl::getMotorEncodersTimedRaw ( double * v,
double * t )
overridevirtual

Definition at line 6215 of file CanBusMotionControl.cpp.

◆ getMotorEncoderTimedRaw()

ReturnValue CanBusMotionControl::getMotorEncoderTimedRaw ( int m,
double * v,
double * t )
overridevirtual

Definition at line 6235 of file CanBusMotionControl.cpp.

◆ getMotorTorqueParamsRaw()

ReturnValue CanBusMotionControl::getMotorTorqueParamsRaw ( int j,
MotorTorqueParameters * params )
overridevirtual

Definition at line 5825 of file CanBusMotionControl.cpp.

◆ getNominalCurrentRaw()

ReturnValue CanBusMotionControl::getNominalCurrentRaw ( int m,
double * val )
overridevirtual

Definition at line 6414 of file CanBusMotionControl.cpp.

◆ getNumberOfMotorEncodersRaw()

ReturnValue CanBusMotionControl::getNumberOfMotorEncodersRaw ( int * num)
overridevirtual

Definition at line 6256 of file CanBusMotionControl.cpp.

◆ getNumberOfMotorsRaw()

ReturnValue CanBusMotionControl::getNumberOfMotorsRaw ( int * m)
overridevirtual

IMotor.

Definition at line 6263 of file CanBusMotionControl.cpp.

◆ getParameterRaw()

bool CanBusMotionControl::getParameterRaw ( int j,
unsigned int type,
double * value )
virtual

Definition at line 5089 of file CanBusMotionControl.cpp.

◆ getPeakCurrentRaw()

ReturnValue CanBusMotionControl::getPeakCurrentRaw ( int m,
double * val )
overridevirtual

Definition at line 6404 of file CanBusMotionControl.cpp.

◆ getPidErrorLimitRaw()

ReturnValue CanBusMotionControl::getPidErrorLimitRaw ( const PidControlTypeEnum & pidtype,
int j,
double * limit )
overridevirtual

Definition at line 5364 of file CanBusMotionControl.cpp.

◆ getPidErrorLimitsRaw()

ReturnValue CanBusMotionControl::getPidErrorLimitsRaw ( const PidControlTypeEnum & pidtype,
double * limits )
overridevirtual

Definition at line 5370 of file CanBusMotionControl.cpp.

◆ getPidErrorRaw()

ReturnValue CanBusMotionControl::getPidErrorRaw ( const PidControlTypeEnum & pidtype,
int j,
double * err )
overridevirtual

Definition at line 4958 of file CanBusMotionControl.cpp.

◆ getPidErrorsRaw()

ReturnValue CanBusMotionControl::getPidErrorsRaw ( const PidControlTypeEnum & pidtype,
double * errs )
overridevirtual

Definition at line 5079 of file CanBusMotionControl.cpp.

◆ getPidExtraInfoRaw()

ReturnValue CanBusMotionControl::getPidExtraInfoRaw ( const PidControlTypeEnum & pidtype,
int j,
PidExtraInfo & info )
overridevirtual

Definition at line 7614 of file CanBusMotionControl.cpp.

◆ getPidExtraInfosRaw()

ReturnValue CanBusMotionControl::getPidExtraInfosRaw ( const PidControlTypeEnum & pidtype,
std::vector< PidExtraInfo > & info )
overridevirtual

Definition at line 7619 of file CanBusMotionControl.cpp.

◆ getPidFeedforwardRaw()

ReturnValue CanBusMotionControl::getPidFeedforwardRaw ( const PidControlTypeEnum & pidtype,
int j,
double & v )
overridevirtual

Definition at line 7634 of file CanBusMotionControl.cpp.

◆ getPidOffsetRaw()

ReturnValue CanBusMotionControl::getPidOffsetRaw ( const PidControlTypeEnum & pidtype,
int j,
double & v )
overridevirtual

Definition at line 7629 of file CanBusMotionControl.cpp.

◆ getPidOutputRaw()

ReturnValue CanBusMotionControl::getPidOutputRaw ( const PidControlTypeEnum & pidtype,
int j,
double * out )
overridevirtual

Definition at line 5446 of file CanBusMotionControl.cpp.

◆ getPidOutputsRaw()

ReturnValue CanBusMotionControl::getPidOutputsRaw ( const PidControlTypeEnum & pidtype,
double * outs )
overridevirtual

Definition at line 5474 of file CanBusMotionControl.cpp.

◆ getPidRaw()

ReturnValue CanBusMotionControl::getPidRaw ( const PidControlTypeEnum & pidtype,
int j,
Pid * pid )
overridevirtual

Definition at line 4584 of file CanBusMotionControl.cpp.

◆ getPidReferenceRaw()

ReturnValue CanBusMotionControl::getPidReferenceRaw ( const PidControlTypeEnum & pidtype,
int j,
double * ref )
overridevirtual

Definition at line 5301 of file CanBusMotionControl.cpp.

◆ getPidReferencesRaw()

ReturnValue CanBusMotionControl::getPidReferencesRaw ( const PidControlTypeEnum & pidtype,
double * refs )
overridevirtual

Definition at line 5351 of file CanBusMotionControl.cpp.

◆ getPidsRaw()

ReturnValue CanBusMotionControl::getPidsRaw ( const PidControlTypeEnum & pidtype,
Pid * pids )
overridevirtual

Definition at line 4611 of file CanBusMotionControl.cpp.

◆ getPosLimitsRaw()

ReturnValue CanBusMotionControl::getPosLimitsRaw ( int axis,
double * min,
double * max )
overridevirtual

Definition at line 6545 of file CanBusMotionControl.cpp.

◆ getPowerSupplyVoltageRaw()

ReturnValue CanBusMotionControl::getPowerSupplyVoltageRaw ( int j,
double * val )
overridevirtual

Definition at line 6448 of file CanBusMotionControl.cpp.

◆ getPWMLimitRaw()

ReturnValue CanBusMotionControl::getPWMLimitRaw ( int j,
double * val )
overridevirtual

Definition at line 6429 of file CanBusMotionControl.cpp.

◆ getPWMRaw()

ReturnValue CanBusMotionControl::getPWMRaw ( int j,
double * val )
overridevirtual

Definition at line 6424 of file CanBusMotionControl.cpp.

◆ getRefCurrentRaw()

ReturnValue CanBusMotionControl::getRefCurrentRaw ( int j,
double * t )
overridevirtual

Definition at line 7609 of file CanBusMotionControl.cpp.

◆ getRefCurrentsRaw()

ReturnValue CanBusMotionControl::getRefCurrentsRaw ( double * t)
overridevirtual

Definition at line 7604 of file CanBusMotionControl.cpp.

◆ getRefDutyCycleRaw()

ReturnValue CanBusMotionControl::getRefDutyCycleRaw ( int j,
double * v )
overridevirtual

Definition at line 7516 of file CanBusMotionControl.cpp.

◆ getRefDutyCyclesRaw()

ReturnValue CanBusMotionControl::getRefDutyCyclesRaw ( double * v)
overridevirtual

Definition at line 7531 of file CanBusMotionControl.cpp.

◆ getRefPositionRaw()

ReturnValue CanBusMotionControl::getRefPositionRaw ( const int joint,
double * ref )
overridevirtual

Definition at line 5049 of file CanBusMotionControl.cpp.

◆ getRefPositionsRaw() [1/2]

ReturnValue CanBusMotionControl::getRefPositionsRaw ( const int n_joint,
const int * joints,
double * refs )
overridevirtual

Definition at line 5069 of file CanBusMotionControl.cpp.

◆ getRefPositionsRaw() [2/2]

ReturnValue CanBusMotionControl::getRefPositionsRaw ( double * refs)
overridevirtual

Definition at line 5058 of file CanBusMotionControl.cpp.

◆ getRefTorqueRaw()

ReturnValue CanBusMotionControl::getRefTorqueRaw ( int j,
double * ref_trq )
overridevirtual

TORQUE CONTROL INTERFACE RAW.

cmd is an array of double (LATER: to be optimized).

Definition at line 5807 of file CanBusMotionControl.cpp.

◆ getRefTorquesRaw()

ReturnValue CanBusMotionControl::getRefTorquesRaw ( double * ref_trqs)
overridevirtual

cmd is an array of double (LATER: to be optimized).

Definition at line 5788 of file CanBusMotionControl.cpp.

◆ getRemoteVariableRaw()

ReturnValue CanBusMotionControl::getRemoteVariableRaw ( std::string key,
yarp::os::Bottle & val )
overridevirtual

Definition at line 4158 of file CanBusMotionControl.cpp.

◆ getRemoteVariablesListRaw()

ReturnValue CanBusMotionControl::getRemoteVariablesListRaw ( yarp::os::Bottle * listOfKeys)
overridevirtual

Definition at line 4150 of file CanBusMotionControl.cpp.

◆ getTargetPositionRaw()

ReturnValue CanBusMotionControl::getTargetPositionRaw ( const int joint,
double * ref )
overridevirtual

Definition at line 4987 of file CanBusMotionControl.cpp.

◆ getTargetPositionsRaw() [1/2]

ReturnValue CanBusMotionControl::getTargetPositionsRaw ( const int n_joint,
const int * joints,
double * refs )
overridevirtual

Definition at line 5008 of file CanBusMotionControl.cpp.

◆ getTargetPositionsRaw() [2/2]

ReturnValue CanBusMotionControl::getTargetPositionsRaw ( double * refs)
overridevirtual

Definition at line 4997 of file CanBusMotionControl.cpp.

◆ getTargetVelocitiesRaw() [1/2]

ReturnValue CanBusMotionControl::getTargetVelocitiesRaw ( const int n_joint,
const int * joints,
double * refs )
overridevirtual

Definition at line 5039 of file CanBusMotionControl.cpp.

◆ getTargetVelocitiesRaw() [2/2]

ReturnValue CanBusMotionControl::getTargetVelocitiesRaw ( double * refs)
overridevirtual

Definition at line 5028 of file CanBusMotionControl.cpp.

◆ getTargetVelocityRaw()

ReturnValue CanBusMotionControl::getTargetVelocityRaw ( const int joint,
double * ref )
overridevirtual

Definition at line 5018 of file CanBusMotionControl.cpp.

◆ getTemperatureLimitRaw()

ReturnValue CanBusMotionControl::getTemperatureLimitRaw ( int m,
double * temp )
overridevirtual

Definition at line 6394 of file CanBusMotionControl.cpp.

◆ getTemperatureRaw()

ReturnValue CanBusMotionControl::getTemperatureRaw ( int m,
double * val )
overridevirtual

Definition at line 6384 of file CanBusMotionControl.cpp.

◆ getTemperaturesRaw()

ReturnValue CanBusMotionControl::getTemperaturesRaw ( double * vals)
overridevirtual

Definition at line 6389 of file CanBusMotionControl.cpp.

◆ getTorqueRangeRaw()

ReturnValue CanBusMotionControl::getTorqueRangeRaw ( int j,
double * min,
double * max )
overridevirtual

Definition at line 4915 of file CanBusMotionControl.cpp.

◆ getTorqueRangesRaw()

ReturnValue CanBusMotionControl::getTorqueRangesRaw ( double * min,
double * max )
overridevirtual

Definition at line 4953 of file CanBusMotionControl.cpp.

◆ getTorqueRaw()

ReturnValue CanBusMotionControl::getTorqueRaw ( int j,
double * trq )
overridevirtual

cmd is a SingleAxis pointer with 1 double arg

Definition at line 4874 of file CanBusMotionControl.cpp.

◆ getTorquesRaw()

ReturnValue CanBusMotionControl::getTorquesRaw ( double * trqs)
overridevirtual

cmd is an array of double (LATER: to be optimized).

Definition at line 4904 of file CanBusMotionControl.cpp.

◆ getTrajAccelerationRaw()

ReturnValue CanBusMotionControl::getTrajAccelerationRaw ( int j,
double * acc )
overridevirtual

cmd is an array of double (LATER: to be optimized).

Definition at line 5769 of file CanBusMotionControl.cpp.

◆ getTrajAccelerationsRaw() [1/2]

ReturnValue CanBusMotionControl::getTrajAccelerationsRaw ( const int n_joint,
const int * joints,
double * accs )
overridevirtual

Definition at line 6632 of file CanBusMotionControl.cpp.

◆ getTrajAccelerationsRaw() [2/2]

ReturnValue CanBusMotionControl::getTrajAccelerationsRaw ( double * accs)
overridevirtual

cmd is an array of double (LATER: to be optimized).

Definition at line 5748 of file CanBusMotionControl.cpp.

◆ getTrajSpeedRaw()

ReturnValue CanBusMotionControl::getTrajSpeedRaw ( int j,
double * ref )
overridevirtual

Definition at line 5738 of file CanBusMotionControl.cpp.

◆ getTrajSpeedsRaw() [1/2]

ReturnValue CanBusMotionControl::getTrajSpeedsRaw ( const int n_joint,
const int * joints,
double * spds )
overridevirtual

Definition at line 6622 of file CanBusMotionControl.cpp.

◆ getTrajSpeedsRaw() [2/2]

ReturnValue CanBusMotionControl::getTrajSpeedsRaw ( double * spds)
overridevirtual

cmd is an array of double (LATER: to be optimized).

Definition at line 5726 of file CanBusMotionControl.cpp.

◆ getVelLimitsRaw()

ReturnValue CanBusMotionControl::getVelLimitsRaw ( int axis,
double * min,
double * max )
overridevirtual

Definition at line 6704 of file CanBusMotionControl.cpp.

◆ helper_getCurPidRaw()

bool CanBusMotionControl::helper_getCurPidRaw ( int j,
Pid * pid )

Definition at line 6673 of file CanBusMotionControl.cpp.

◆ helper_getPosPidRaw()

bool CanBusMotionControl::helper_getPosPidRaw ( int j,
Pid * pid )

Definition at line 4554 of file CanBusMotionControl.cpp.

◆ helper_getTrqPidRaw()

bool CanBusMotionControl::helper_getTrqPidRaw ( int j,
Pid * pid )

Definition at line 4669 of file CanBusMotionControl.cpp.

◆ helper_getVelPidRaw()

bool CanBusMotionControl::helper_getVelPidRaw ( int j,
Pid * pid )

Definition at line 6684 of file CanBusMotionControl.cpp.

◆ helper_setCurPidRaw()

bool CanBusMotionControl::helper_setCurPidRaw ( int j,
const Pid & pid )

Definition at line 6668 of file CanBusMotionControl.cpp.

◆ helper_setPosPidRaw()

bool CanBusMotionControl::helper_setPosPidRaw ( int j,
const Pid & pid )

Definition at line 4291 of file CanBusMotionControl.cpp.

◆ helper_setTrqPidRaw()

bool CanBusMotionControl::helper_setTrqPidRaw ( int j,
const Pid & pid )

prepare Can message.

Definition at line 4624 of file CanBusMotionControl.cpp.

◆ helper_setVelPidRaw()

bool CanBusMotionControl::helper_setVelPidRaw ( int j,
const Pid & pid )

Definition at line 6679 of file CanBusMotionControl.cpp.

◆ isPidEnabledRaw()

ReturnValue CanBusMotionControl::isPidEnabledRaw ( const PidControlTypeEnum & pidtype,
int j,
bool & enabled )
overridevirtual

Definition at line 6769 of file CanBusMotionControl.cpp.

◆ loadBootMemory()

bool CanBusMotionControl::loadBootMemory ( )
virtual

Definition at line 6774 of file CanBusMotionControl.cpp.

◆ open() [1/2]

bool yarp::dev::CanBusMotionControl::open ( const CanBusMotionControlParameters & par)

Open the device driver.

Parameters
paris the parameter structure
Returns
true/false on success/failure.

◆ open() [2/2]

virtual bool yarp::dev::CanBusMotionControl::open ( yarp::os::Searchable & config)
virtual

Open the device driver and start communication with the hardware.

Parameters
configis a Searchable object containing the list of parameters.
Returns
true on success/failure.

◆ positionMoveRaw() [1/3]

ReturnValue CanBusMotionControl::positionMoveRaw ( const double * refs)
overridevirtual

Definition at line 5534 of file CanBusMotionControl.cpp.

◆ positionMoveRaw() [2/3]

ReturnValue CanBusMotionControl::positionMoveRaw ( const int n_joint,
const int * joints,
const double * refs )
overridevirtual

Definition at line 6568 of file CanBusMotionControl.cpp.

◆ positionMoveRaw() [3/3]

ReturnValue CanBusMotionControl::positionMoveRaw ( int j,
double ref )
overridevirtual

POSITION CONTROL INTERFACE RAW.

prepare can message.

pos

speed

Definition at line 5489 of file CanBusMotionControl.cpp.

◆ relativeMoveRaw() [1/3]

ReturnValue CanBusMotionControl::relativeMoveRaw ( const double * deltas)
overridevirtual

Definition at line 5553 of file CanBusMotionControl.cpp.

◆ relativeMoveRaw() [2/3]

ReturnValue CanBusMotionControl::relativeMoveRaw ( const int n_joint,
const int * joints,
const double * deltas )
overridevirtual

Definition at line 6578 of file CanBusMotionControl.cpp.

◆ relativeMoveRaw() [3/3]

ReturnValue CanBusMotionControl::relativeMoveRaw ( int j,
double delta )
overridevirtual

Definition at line 5548 of file CanBusMotionControl.cpp.

◆ resetEncoderRaw()

ReturnValue CanBusMotionControl::resetEncoderRaw ( int j)
overridevirtual

Definition at line 6056 of file CanBusMotionControl.cpp.

◆ resetEncodersRaw()

ReturnValue CanBusMotionControl::resetEncodersRaw ( )
overridevirtual

Definition at line 6061 of file CanBusMotionControl.cpp.

◆ resetMotorEncoderRaw()

ReturnValue CanBusMotionControl::resetMotorEncoderRaw ( int m)
overridevirtual

Definition at line 6176 of file CanBusMotionControl.cpp.

◆ resetMotorEncodersRaw()

ReturnValue CanBusMotionControl::resetMotorEncodersRaw ( )
overridevirtual

Definition at line 6181 of file CanBusMotionControl.cpp.

◆ resetPidRaw()

ReturnValue CanBusMotionControl::resetPidRaw ( const PidControlTypeEnum & pidtype,
int j )
overridevirtual

Definition at line 5388 of file CanBusMotionControl.cpp.

◆ run()

void CanBusMotionControl::run ( void )
protectedvirtual

reports board errors

class 0 msg.

legitimate message directed here, checks whether replies to any message.

Definition at line 3475 of file CanBusMotionControl.cpp.

◆ S_16()

short yarp::dev::CanBusMotionControl::S_16 ( double x) const
inlineprotected

Definition at line 1189 of file CanBusMotionControl.h.

◆ S_32()

int yarp::dev::CanBusMotionControl::S_32 ( double x) const
inlineprotected

Definition at line 1203 of file CanBusMotionControl.h.

◆ saveBootMemory()

bool CanBusMotionControl::saveBootMemory ( )
virtual

Definition at line 6789 of file CanBusMotionControl.cpp.

◆ setBCastMessages()

bool CanBusMotionControl::setBCastMessages ( int axis,
unsigned int v )
protected

sets the broadcast policy for a given board (don't need to be called twice).

the parameter is a 32-bit integer: bit X = 1 -> message X = active e.g. 0x02 activates the broadcast of position information 0x04 activates the broadcast of velocity ...

Definition at line 6809 of file CanBusMotionControl.cpp.

◆ setCalibrationParametersRaw()

ReturnValue CanBusMotionControl::setCalibrationParametersRaw ( int j,
const CalibrationParameters & params )
overridevirtual

Definition at line 5650 of file CanBusMotionControl.cpp.

◆ setControlModeRaw()

ReturnValue CanBusMotionControl::setControlModeRaw ( int j,
yarp::dev::SelectableControlModeEnum mode )
overridevirtual

Definition at line 4068 of file CanBusMotionControl.cpp.

◆ setControlModesRaw() [1/2]

ReturnValue CanBusMotionControl::setControlModesRaw ( const std::vector< int > & joints,
const std::vector< yarp::dev::SelectableControlModeEnum > & modes )
overridevirtual

Definition at line 4110 of file CanBusMotionControl.cpp.

◆ setControlModesRaw() [2/2]

ReturnValue CanBusMotionControl::setControlModesRaw ( const std::vector< yarp::dev::SelectableControlModeEnum > & modes)
overridevirtual

Definition at line 4240 of file CanBusMotionControl.cpp.

◆ setDebugParameterRaw()

bool CanBusMotionControl::setDebugParameterRaw ( int j,
unsigned int index,
double value )
virtual

Definition at line 5418 of file CanBusMotionControl.cpp.

◆ setDebugReferencePositionRaw()

bool CanBusMotionControl::setDebugReferencePositionRaw ( int j,
double value )
virtual

Definition at line 5437 of file CanBusMotionControl.cpp.

◆ setEncoderRaw()

ReturnValue CanBusMotionControl::setEncoderRaw ( int j,
double val )
overridevirtual

Definition at line 6033 of file CanBusMotionControl.cpp.

◆ setEncodersRaw()

ReturnValue CanBusMotionControl::setEncodersRaw ( const double * vals)
overridevirtual

Definition at line 6042 of file CanBusMotionControl.cpp.

◆ setFilterTypeRaw()

bool CanBusMotionControl::setFilterTypeRaw ( int j,
int type )

prepare Can message.

Definition at line 5897 of file CanBusMotionControl.cpp.

◆ setGearboxRatioRaw()

ReturnValue CanBusMotionControl::setGearboxRatioRaw ( int m,
const double val )
overridevirtual

Definition at line 7639 of file CanBusMotionControl.cpp.

◆ setImpedanceOffsetRaw()

ReturnValue CanBusMotionControl::setImpedanceOffsetRaw ( int j,
double offs )
overridevirtual

Definition at line 4533 of file CanBusMotionControl.cpp.

◆ setImpedanceRaw()

ReturnValue CanBusMotionControl::setImpedanceRaw ( int j,
double stiff,
double damp )
overridevirtual

Definition at line 4480 of file CanBusMotionControl.cpp.

◆ setInteractionModeRaw()

ReturnValue CanBusMotionControl::setInteractionModeRaw ( int axis,
yarp::dev::InteractionModeEnum mode )
overridevirtual

Definition at line 7449 of file CanBusMotionControl.cpp.

◆ setInteractionModesRaw() [1/2]

ReturnValue CanBusMotionControl::setInteractionModesRaw ( const std::vector< int > & joints,
const std::vector< yarp::dev::InteractionModeEnum > & modes )
overridevirtual

Definition at line 7464 of file CanBusMotionControl.cpp.

◆ setInteractionModesRaw() [2/2]

ReturnValue CanBusMotionControl::setInteractionModesRaw ( const std::vector< yarp::dev::InteractionModeEnum > & modes)
overridevirtual

Definition at line 7477 of file CanBusMotionControl.cpp.

◆ setMaxCurrentRaw()

ReturnValue CanBusMotionControl::setMaxCurrentRaw ( int j,
double val )
overridevirtual

Definition at line 6354 of file CanBusMotionControl.cpp.

◆ setMotorEncoderCountsPerRevolutionRaw()

ReturnValue CanBusMotionControl::setMotorEncoderCountsPerRevolutionRaw ( int m,
const double cpr )
overridevirtual

Definition at line 6251 of file CanBusMotionControl.cpp.

◆ setMotorEncoderRaw()

ReturnValue CanBusMotionControl::setMotorEncoderRaw ( int m,
const double val )
overridevirtual

Definition at line 6166 of file CanBusMotionControl.cpp.

◆ setMotorEncodersRaw()

ReturnValue CanBusMotionControl::setMotorEncodersRaw ( const double * vals)
overridevirtual

Definition at line 6171 of file CanBusMotionControl.cpp.

◆ setMotorTorqueParamsRaw()

ReturnValue CanBusMotionControl::setMotorTorqueParamsRaw ( int j,
const MotorTorqueParameters params )
overridevirtual

prepare Can message.

Definition at line 5916 of file CanBusMotionControl.cpp.

◆ setNominalCurrentRaw()

ReturnValue CanBusMotionControl::setNominalCurrentRaw ( int m,
const double val )
overridevirtual

Definition at line 6419 of file CanBusMotionControl.cpp.

◆ setParameterRaw()

bool CanBusMotionControl::setParameterRaw ( int j,
unsigned int type,
double value )
virtual

Definition at line 5410 of file CanBusMotionControl.cpp.

◆ setPeakCurrentRaw()

ReturnValue CanBusMotionControl::setPeakCurrentRaw ( int m,
const double val )
overridevirtual

Definition at line 6409 of file CanBusMotionControl.cpp.

◆ setPidErrorLimitRaw()

ReturnValue CanBusMotionControl::setPidErrorLimitRaw ( const PidControlTypeEnum & pidtype,
int j,
double limit )
overridevirtual

Definition at line 5376 of file CanBusMotionControl.cpp.

◆ setPidErrorLimitsRaw()

ReturnValue CanBusMotionControl::setPidErrorLimitsRaw ( const PidControlTypeEnum & pidtype,
const double * limits )
overridevirtual

Definition at line 5382 of file CanBusMotionControl.cpp.

◆ setPidFeedforwardRaw()

ReturnValue CanBusMotionControl::setPidFeedforwardRaw ( const PidControlTypeEnum & pidtype,
int j,
double v )
overridevirtual

Definition at line 7624 of file CanBusMotionControl.cpp.

◆ setPidOffsetRaw()

ReturnValue CanBusMotionControl::setPidOffsetRaw ( const PidControlTypeEnum & pidtype,
int j,
double v )
overridevirtual

Definition at line 5400 of file CanBusMotionControl.cpp.

◆ setPidRaw()

ReturnValue CanBusMotionControl::setPidRaw ( const PidControlTypeEnum & pidtype,
int j,
const Pid & pid )
overridevirtual

Definition at line 4316 of file CanBusMotionControl.cpp.

◆ setPidReferenceRaw()

ReturnValue CanBusMotionControl::setPidReferenceRaw ( const PidControlTypeEnum & pidtype,
int j,
double ref )
overridevirtual

cmd is a SingleAxis poitner with 1 double arg

Definition at line 4829 of file CanBusMotionControl.cpp.

◆ setPidReferencesRaw()

ReturnValue CanBusMotionControl::setPidReferencesRaw ( const PidControlTypeEnum & pidtype,
const double * refs )
overridevirtual

cmd is an array of double (LATER: to be optimized).

Definition at line 4836 of file CanBusMotionControl.cpp.

◆ setPidsRaw()

ReturnValue CanBusMotionControl::setPidsRaw ( const PidControlTypeEnum & pidtype,
const Pid * pids )
overridevirtual

Definition at line 4814 of file CanBusMotionControl.cpp.

◆ setPositionRaw()

ReturnValue CanBusMotionControl::setPositionRaw ( int j,
double ref )
overridevirtual

Definition at line 6715 of file CanBusMotionControl.cpp.

◆ setPositionsRaw() [1/2]

ReturnValue CanBusMotionControl::setPositionsRaw ( const double * refs)
overridevirtual

Definition at line 6756 of file CanBusMotionControl.cpp.

◆ setPositionsRaw() [2/2]

ReturnValue CanBusMotionControl::setPositionsRaw ( const int n_joint,
const int * joints,
const double * refs )
overridevirtual

Definition at line 6743 of file CanBusMotionControl.cpp.

◆ setPosLimitsRaw()

ReturnValue CanBusMotionControl::setPosLimitsRaw ( int axis,
double min,
double max )
overridevirtual

Definition at line 6531 of file CanBusMotionControl.cpp.

◆ setPrintFunction()

bool CanBusMotionControl::setPrintFunction ( int(* f )(const char *fmt,...))
virtual

IControlDebug Interface.

Definition at line 6499 of file CanBusMotionControl.cpp.

◆ setPWMLimitRaw()

ReturnValue CanBusMotionControl::setPWMLimitRaw ( int j,
const double val )
overridevirtual

Definition at line 6439 of file CanBusMotionControl.cpp.

◆ setRefCurrentRaw()

ReturnValue CanBusMotionControl::setRefCurrentRaw ( int j,
double t )
overridevirtual

Definition at line 7594 of file CanBusMotionControl.cpp.

◆ setRefCurrentsRaw() [1/2]

ReturnValue CanBusMotionControl::setRefCurrentsRaw ( const double * t)
overridevirtual

Definition at line 7589 of file CanBusMotionControl.cpp.

◆ setRefCurrentsRaw() [2/2]

ReturnValue CanBusMotionControl::setRefCurrentsRaw ( const int n_joint,
const int * joints,
const double * t )
overridevirtual

Definition at line 7599 of file CanBusMotionControl.cpp.

◆ setRefDutyCycleRaw()

ReturnValue CanBusMotionControl::setRefDutyCycleRaw ( int j,
double v )
overridevirtual

Definition at line 7495 of file CanBusMotionControl.cpp.

◆ setRefDutyCyclesRaw()

ReturnValue CanBusMotionControl::setRefDutyCyclesRaw ( const double * v)
overridevirtual

Definition at line 7503 of file CanBusMotionControl.cpp.

◆ setRefTorqueRaw()

ReturnValue CanBusMotionControl::setRefTorqueRaw ( int j,
double ref_trq )
overridevirtual

cmd is a SingleAxis poitner with 1 double arg

Definition at line 4852 of file CanBusMotionControl.cpp.

◆ setRefTorquesRaw() [1/2]

ReturnValue CanBusMotionControl::setRefTorquesRaw ( const double * ref_trqs)
overridevirtual

cmd is an array of double (LATER: to be optimized).

Definition at line 4888 of file CanBusMotionControl.cpp.

◆ setRefTorquesRaw() [2/2]

ReturnValue CanBusMotionControl::setRefTorquesRaw ( const int n_joint,
const int * joints,
const double * t )
overridevirtual

Definition at line 4863 of file CanBusMotionControl.cpp.

◆ setRemoteVariableRaw()

ReturnValue CanBusMotionControl::setRemoteVariableRaw ( std::string key,
const yarp::os::Bottle & val )
overridevirtual

Definition at line 4176 of file CanBusMotionControl.cpp.

◆ setServerLogger()

void yarp::dev::CanBusMotionControl::setServerLogger ( const IServerLogger * server)
inlinevirtual

Implements yarp::dev::IClientLogger.

Definition at line 793 of file CanBusMotionControl.h.

◆ setSpeedEstimatorShiftRaw()

bool CanBusMotionControl::setSpeedEstimatorShiftRaw ( int j,
double jnt_speed,
double jnt_acc,
double mot_speed,
double mot_acc )

Definition at line 6453 of file CanBusMotionControl.cpp.

◆ setTemperatureLimitRaw()

ReturnValue CanBusMotionControl::setTemperatureLimitRaw ( int m,
const double temp )
overridevirtual

Definition at line 6399 of file CanBusMotionControl.cpp.

◆ setTorqueSource()

bool CanBusMotionControl::setTorqueSource ( int axis,
char board_id,
char board_chan )
virtual

Definition at line 4506 of file CanBusMotionControl.cpp.

◆ setTrajAccelerationRaw()

ReturnValue CanBusMotionControl::setTrajAccelerationRaw ( int j,
double acc )
overridevirtual

Definition at line 5676 of file CanBusMotionControl.cpp.

◆ setTrajAccelerationsRaw() [1/2]

ReturnValue CanBusMotionControl::setTrajAccelerationsRaw ( const double * accs)
overridevirtual

Definition at line 5701 of file CanBusMotionControl.cpp.

◆ setTrajAccelerationsRaw() [2/2]

ReturnValue CanBusMotionControl::setTrajAccelerationsRaw ( const int n_joint,
const int * joints,
const double * accs )
overridevirtual

Definition at line 6612 of file CanBusMotionControl.cpp.

◆ setTrajSpeedRaw()

ReturnValue CanBusMotionControl::setTrajSpeedRaw ( int j,
double sp )
overridevirtual

Definition at line 5655 of file CanBusMotionControl.cpp.

◆ setTrajSpeedsRaw() [1/2]

ReturnValue CanBusMotionControl::setTrajSpeedsRaw ( const double * spds)
overridevirtual

Definition at line 5665 of file CanBusMotionControl.cpp.

◆ setTrajSpeedsRaw() [2/2]

ReturnValue CanBusMotionControl::setTrajSpeedsRaw ( const int n_joint,
const int * joints,
const double * spds )
overridevirtual

Definition at line 6602 of file CanBusMotionControl.cpp.

◆ setVelLimitsRaw()

ReturnValue CanBusMotionControl::setVelLimitsRaw ( int axis,
double min,
double max )
overridevirtual

Definition at line 6694 of file CanBusMotionControl.cpp.

◆ setVelocityShiftRaw()

bool CanBusMotionControl::setVelocityShiftRaw ( int j,
double val )

Definition at line 6376 of file CanBusMotionControl.cpp.

◆ setVelocityTimeoutRaw()

bool CanBusMotionControl::setVelocityTimeoutRaw ( int j,
double val )

Definition at line 6471 of file CanBusMotionControl.cpp.

◆ stopRaw() [1/3]

ReturnValue CanBusMotionControl::stopRaw ( )
overridevirtual

Definition at line 5953 of file CanBusMotionControl.cpp.

◆ stopRaw() [2/3]

ReturnValue CanBusMotionControl::stopRaw ( const int n_joint,
const int * joints )
overridevirtual

Definition at line 6642 of file CanBusMotionControl.cpp.

◆ stopRaw() [3/3]

ReturnValue CanBusMotionControl::stopRaw ( int j)
overridevirtual

Definition at line 5939 of file CanBusMotionControl.cpp.

◆ threadInit()

bool CanBusMotionControl::threadInit ( )
protectedvirtual

Definition at line 3450 of file CanBusMotionControl.cpp.

◆ threadRelease()

void CanBusMotionControl::threadRelease ( )
protectedvirtual

Definition at line 3470 of file CanBusMotionControl.cpp.

◆ velocityMoveRaw() [1/3]

ReturnValue CanBusMotionControl::velocityMoveRaw ( const double * sp)
overridevirtual

cmd is an array of double of length njoints specifying speed for each axis

Definition at line 6020 of file CanBusMotionControl.cpp.

◆ velocityMoveRaw() [2/3]

ReturnValue CanBusMotionControl::velocityMoveRaw ( const int n_joint,
const int * joints,
const double * spds )
overridevirtual

Definition at line 6658 of file CanBusMotionControl.cpp.

◆ velocityMoveRaw() [3/3]

ReturnValue CanBusMotionControl::velocityMoveRaw ( int j,
double sp )
overridevirtual

Velocity control interface raw.

cmd is an array of double of length njoints specifying speed for each axis

prepare can message.

speed

accel

Definition at line 5974 of file CanBusMotionControl.cpp.

Member Data Documentation

◆ _axisImpedanceHelper

axisImpedanceHelper* yarp::dev::CanBusMotionControl::_axisImpedanceHelper
protected

Definition at line 1164 of file CanBusMotionControl.h.

◆ _axisPositionDirectHelper

axisPositionDirectHelper* yarp::dev::CanBusMotionControl::_axisPositionDirectHelper
protected

Definition at line 1167 of file CanBusMotionControl.h.

◆ _axisTorqueHelper

axisTorqueHelper* yarp::dev::CanBusMotionControl::_axisTorqueHelper
protected

Definition at line 1163 of file CanBusMotionControl.h.

◆ _filter

int yarp::dev::CanBusMotionControl::_filter
protected

filter for recurrent messages.

Definition at line 1136 of file CanBusMotionControl.h.

◆ _firmwareVersionHelper

firmwareVersionHelper* yarp::dev::CanBusMotionControl::_firmwareVersionHelper
protected

Definition at line 1165 of file CanBusMotionControl.h.

◆ _last_position_move_time

double* yarp::dev::CanBusMotionControl::_last_position_move_time
protected

Definition at line 1184 of file CanBusMotionControl.h.

◆ _max_vel_jnt_cmd

double* yarp::dev::CanBusMotionControl::_max_vel_jnt_cmd
protected

Definition at line 1181 of file CanBusMotionControl.h.

◆ _MCtorqueControlEnabled

bool yarp::dev::CanBusMotionControl::_MCtorqueControlEnabled
protected

Definition at line 1182 of file CanBusMotionControl.h.

◆ _mutex

std::recursive_mutex yarp::dev::CanBusMotionControl::_mutex
protected

Definition at line 1125 of file CanBusMotionControl.h.

◆ _noreply

bool yarp::dev::CanBusMotionControl::_noreply
protected

Definition at line 1129 of file CanBusMotionControl.h.

◆ _opened

bool yarp::dev::CanBusMotionControl::_opened
protected

Definition at line 1130 of file CanBusMotionControl.h.

◆ _ref_accs

double* yarp::dev::CanBusMotionControl::_ref_accs
protected

Definition at line 1177 of file CanBusMotionControl.h.

◆ _ref_command_positions

double* yarp::dev::CanBusMotionControl::_ref_command_positions
protected

Definition at line 1179 of file CanBusMotionControl.h.

◆ _ref_command_speeds

double* yarp::dev::CanBusMotionControl::_ref_command_speeds
protected

Definition at line 1176 of file CanBusMotionControl.h.

◆ _ref_positions

double* yarp::dev::CanBusMotionControl::_ref_positions
protected

Definition at line 1180 of file CanBusMotionControl.h.

◆ _ref_speeds

double* yarp::dev::CanBusMotionControl::_ref_speeds
protected

Definition at line 1175 of file CanBusMotionControl.h.

◆ _ref_torques

double* yarp::dev::CanBusMotionControl::_ref_torques
protected

Definition at line 1178 of file CanBusMotionControl.h.

◆ _speedEstimationHelper

speedEstimationHelper* yarp::dev::CanBusMotionControl::_speedEstimationHelper
protected

Definition at line 1166 of file CanBusMotionControl.h.

◆ _writerequested

bool yarp::dev::CanBusMotionControl::_writerequested
protected

Definition at line 1128 of file CanBusMotionControl.h.

◆ canController

ICanBus* yarp::dev::CanBusMotionControl::canController
protected

Definition at line 1126 of file CanBusMotionControl.h.

◆ system_resources

void* yarp::dev::CanBusMotionControl::system_resources
protected

Definition at line 1124 of file CanBusMotionControl.h.

◆ threadPool

ThreadPool2* yarp::dev::CanBusMotionControl::threadPool
protected

Definition at line 1131 of file CanBusMotionControl.h.


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