#include <motor.h>
Public Member Functions | |
virtual bool | executeHoming (canopen::LayerStatus &status)=0 |
HomingMode () | |
Public Member Functions inherited from canopen::Mode | |
Mode (uint16_t id) | |
virtual bool | read (const uint16_t &sw)=0 |
virtual bool | setTarget (const double &val) |
virtual bool | start ()=0 |
virtual bool | write (OpModeAccesser &cw)=0 |
virtual | ~Mode () |
Protected Types | |
enum | CW_bits { CW_StartHoming = Command402::CW_Operation_mode_specific0 } |
enum | SW_bits { SW_Attained = State402::SW_Operation_mode_specific0, SW_Error = State402::SW_Operation_mode_specific1 } |
Additional Inherited Members | |
Public Types inherited from canopen::Mode | |
typedef WordAccessor<(1<< Command402::CW_Operation_mode_specific0)|(1<< Command402::CW_Operation_mode_specific1)|(1<< Command402::CW_Operation_mode_specific2)|(1<< Command402::CW_Operation_mode_specific3)> | OpModeAccesser |
Public Attributes inherited from canopen::Mode | |
const uint16_t | mode_id_ |
|
protected |
|
protected |
|
pure virtual |
Implemented in canopen::DefaultHomingMode.