iCub-main
Public Member Functions | Public Attributes | List of all members
BCastBufferElement Class Reference

Public Member Functions

 BCastBufferElement ()
 
bool isFaultOk ()
 
bool isFaultUndervoltage ()
 
bool isFaultOverload ()
 
bool isOverCurrent ()
 
bool isFaultExternal ()
 
bool isHallSensorError ()
 
bool isAbsEncoderError ()
 
bool isOpticalEncoderError ()
 
bool isCanTxOverflow ()
 
bool isCanBusOff ()
 
bool isCanTxError ()
 
bool isCanRxError ()
 
bool isCanTxOverrun ()
 
bool isCanRxWarning ()
 
bool isCanRxOverrun ()
 
bool isMainLoopOverflow ()
 
bool isOverTempCh1 ()
 
bool isOverTempCh2 ()
 
bool isTempErrorCh1 ()
 
bool isTempErrorCh2 ()
 
void ControlStatus (int net, short controlmode, short addr)
 
void zero (void)
 
 BCastBufferElement ()
 
void zero (void)
 

Public Attributes

BCastElement _position_joint
 
BCastElement _position_rotor
 
BCastElement _speed_rotor
 
BCastElement _accel_rotor
 
short _pid_value
 
double _update_v
 
short _axisStatus
 
char _canStatus
 
char _boardStatus
 
unsigned char _controlmodeStatus
 
double _update_e
 
unsigned char _interactionmodeStatus
 
double _update_e2
 
short _current
 
double _update_c
 
short _position_error
 
short _torque_error
 
double _update_r
 
short _speed_joint
 
short _accel_joint
 
double _update_s
 
double _torque
 
double _update_t
 
unsigned int _canTxError
 
unsigned int _canRxError
 
unsigned int _mainLoopOverflowCounter
 
int _address
 
int _position
 
double _update_p
 
short _fault
 

Detailed Description

Definition at line 212 of file CanBusMotionControl.cpp.

Constructor & Destructor Documentation

◆ BCastBufferElement() [1/2]

BCastBufferElement::BCastBufferElement ( )
inline

Definition at line 264 of file CanBusMotionControl.cpp.

◆ BCastBufferElement() [2/2]

BCastBufferElement::BCastBufferElement ( )
inline

Definition at line 100 of file EsdMessageSniffer.cpp.

Member Function Documentation

◆ ControlStatus()

void BCastBufferElement::ControlStatus ( int  net,
short  controlmode,
short  addr 
)
inline

Definition at line 285 of file CanBusMotionControl.cpp.

◆ isAbsEncoderError()

bool BCastBufferElement::isAbsEncoderError ( )
inline

Definition at line 271 of file CanBusMotionControl.cpp.

◆ isCanBusOff()

bool BCastBufferElement::isCanBusOff ( )
inline

Definition at line 274 of file CanBusMotionControl.cpp.

◆ isCanRxError()

bool BCastBufferElement::isCanRxError ( )
inline

Definition at line 276 of file CanBusMotionControl.cpp.

◆ isCanRxOverrun()

bool BCastBufferElement::isCanRxOverrun ( )
inline

Definition at line 279 of file CanBusMotionControl.cpp.

◆ isCanRxWarning()

bool BCastBufferElement::isCanRxWarning ( )
inline

Definition at line 278 of file CanBusMotionControl.cpp.

◆ isCanTxError()

bool BCastBufferElement::isCanTxError ( )
inline

Definition at line 275 of file CanBusMotionControl.cpp.

◆ isCanTxOverflow()

bool BCastBufferElement::isCanTxOverflow ( )
inline

Definition at line 273 of file CanBusMotionControl.cpp.

◆ isCanTxOverrun()

bool BCastBufferElement::isCanTxOverrun ( )
inline

Definition at line 277 of file CanBusMotionControl.cpp.

◆ isFaultExternal()

bool BCastBufferElement::isFaultExternal ( )
inline

Definition at line 269 of file CanBusMotionControl.cpp.

◆ isFaultOk()

bool BCastBufferElement::isFaultOk ( )
inline

Definition at line 265 of file CanBusMotionControl.cpp.

◆ isFaultOverload()

bool BCastBufferElement::isFaultOverload ( )
inline

Definition at line 267 of file CanBusMotionControl.cpp.

◆ isFaultUndervoltage()

bool BCastBufferElement::isFaultUndervoltage ( )
inline

Definition at line 266 of file CanBusMotionControl.cpp.

◆ isHallSensorError()

bool BCastBufferElement::isHallSensorError ( )
inline

Definition at line 270 of file CanBusMotionControl.cpp.

◆ isMainLoopOverflow()

bool BCastBufferElement::isMainLoopOverflow ( )
inline

Definition at line 280 of file CanBusMotionControl.cpp.

◆ isOpticalEncoderError()

bool BCastBufferElement::isOpticalEncoderError ( )
inline

Definition at line 272 of file CanBusMotionControl.cpp.

◆ isOverCurrent()

bool BCastBufferElement::isOverCurrent ( )
inline

Definition at line 268 of file CanBusMotionControl.cpp.

◆ isOverTempCh1()

bool BCastBufferElement::isOverTempCh1 ( )
inline

Definition at line 281 of file CanBusMotionControl.cpp.

◆ isOverTempCh2()

bool BCastBufferElement::isOverTempCh2 ( )
inline

Definition at line 282 of file CanBusMotionControl.cpp.

◆ isTempErrorCh1()

bool BCastBufferElement::isTempErrorCh1 ( )
inline

Definition at line 283 of file CanBusMotionControl.cpp.

◆ isTempErrorCh2()

bool BCastBufferElement::isTempErrorCh2 ( )
inline

Definition at line 284 of file CanBusMotionControl.cpp.

◆ zero() [1/2]

void BCastBufferElement::zero ( void  )
inline

Definition at line 314 of file CanBusMotionControl.cpp.

◆ zero() [2/2]

void BCastBufferElement::zero ( void  )
inline

Definition at line 102 of file EsdMessageSniffer.cpp.

Member Data Documentation

◆ _accel_joint

short BCastBufferElement::_accel_joint

Definition at line 247 of file CanBusMotionControl.cpp.

◆ _accel_rotor

BCastElement BCastBufferElement::_accel_rotor

Definition at line 219 of file CanBusMotionControl.cpp.

◆ _address

int BCastBufferElement::_address

Definition at line 262 of file CanBusMotionControl.cpp.

◆ _axisStatus

short BCastBufferElement::_axisStatus

Definition at line 226 of file CanBusMotionControl.cpp.

◆ _boardStatus

char BCastBufferElement::_boardStatus

Definition at line 228 of file CanBusMotionControl.cpp.

◆ _canRxError

unsigned int BCastBufferElement::_canRxError

Definition at line 257 of file CanBusMotionControl.cpp.

◆ _canStatus

char BCastBufferElement::_canStatus

Definition at line 227 of file CanBusMotionControl.cpp.

◆ _canTxError

unsigned int BCastBufferElement::_canTxError

Definition at line 255 of file CanBusMotionControl.cpp.

◆ _controlmodeStatus

unsigned char BCastBufferElement::_controlmodeStatus

Definition at line 229 of file CanBusMotionControl.cpp.

◆ _current

short BCastBufferElement::_current

Definition at line 237 of file CanBusMotionControl.cpp.

◆ _fault

short BCastBufferElement::_fault

Definition at line 92 of file EsdMessageSniffer.cpp.

◆ _interactionmodeStatus

unsigned char BCastBufferElement::_interactionmodeStatus

Definition at line 233 of file CanBusMotionControl.cpp.

◆ _mainLoopOverflowCounter

unsigned int BCastBufferElement::_mainLoopOverflowCounter

Definition at line 260 of file CanBusMotionControl.cpp.

◆ _pid_value

short BCastBufferElement::_pid_value

Definition at line 222 of file CanBusMotionControl.cpp.

◆ _position

int BCastBufferElement::_position

Definition at line 84 of file EsdMessageSniffer.cpp.

◆ _position_error

short BCastBufferElement::_position_error

Definition at line 241 of file CanBusMotionControl.cpp.

◆ _position_joint

BCastElement BCastBufferElement::_position_joint

Definition at line 216 of file CanBusMotionControl.cpp.

◆ _position_rotor

BCastElement BCastBufferElement::_position_rotor

Definition at line 217 of file CanBusMotionControl.cpp.

◆ _speed_joint

short BCastBufferElement::_speed_joint

Definition at line 246 of file CanBusMotionControl.cpp.

◆ _speed_rotor

BCastElement BCastBufferElement::_speed_rotor

Definition at line 218 of file CanBusMotionControl.cpp.

◆ _torque

double BCastBufferElement::_torque

Definition at line 251 of file CanBusMotionControl.cpp.

◆ _torque_error

short BCastBufferElement::_torque_error

Definition at line 242 of file CanBusMotionControl.cpp.

◆ _update_c

double BCastBufferElement::_update_c

Definition at line 238 of file CanBusMotionControl.cpp.

◆ _update_e

double BCastBufferElement::_update_e

Definition at line 230 of file CanBusMotionControl.cpp.

◆ _update_e2

double BCastBufferElement::_update_e2

Definition at line 234 of file CanBusMotionControl.cpp.

◆ _update_p

double BCastBufferElement::_update_p

Definition at line 85 of file EsdMessageSniffer.cpp.

◆ _update_r

double BCastBufferElement::_update_r

Definition at line 243 of file CanBusMotionControl.cpp.

◆ _update_s

double BCastBufferElement::_update_s

Definition at line 248 of file CanBusMotionControl.cpp.

◆ _update_t

double BCastBufferElement::_update_t

Definition at line 252 of file CanBusMotionControl.cpp.

◆ _update_v

double BCastBufferElement::_update_v

Definition at line 223 of file CanBusMotionControl.cpp.


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