17 #ifndef CANOPEN_402_BASE_H
18 #define CANOPEN_402_BASE_H
21 #include "lely/coapp/driver.hpp"
22 #include "lely/coapp/master.hpp"
Motor Base Class.
Definition: base.hpp:32
MotorBase()
Definition: base.hpp:34
virtual void registerDefaultModes()
Register default Operation Modes.
Definition: base.hpp:90
virtual uint16_t getMode()=0
Get current Mode.
virtual bool setTarget(double val)=0
Set target.
virtual bool isModeSupported(uint16_t mode)=0
Check if Operation Mode is supported.
virtual bool enterModeAndWait(uint16_t mode)=0
Enter Operation Mode.
std::shared_ptr< MotorBase > MotorBaseSharedPtr
Definition: base.hpp:92
OperationMode
Definition: base.hpp:38
@ Profiled_Velocity
Definition: base.hpp:42
@ Cyclic_Synchronous_Velocity
Definition: base.hpp:48
@ Cyclic_Synchronous_Torque
Definition: base.hpp:49
@ Cyclic_Synchronous_Position
Definition: base.hpp:47
@ No_Mode
Definition: base.hpp:39
@ Profiled_Position
Definition: base.hpp:40
@ Homing
Definition: base.hpp:45
@ Reserved
Definition: base.hpp:44
@ Profiled_Torque
Definition: base.hpp:43
@ Interpolated_Position
Definition: base.hpp:46
@ Velocity
Definition: base.hpp:41
Definition: configuration_manager.hpp:28
MotorBase::MotorBaseSharedPtr MotorBaseSharedPtr
Definition: base.hpp:94