ros2_canopen  master
C++ ROS CANopen Library
homing_mode.hpp
Go to the documentation of this file.
1 #ifndef HOMING_MODE_HPP
2 #define HOMING_MODE_HPP
3 #include "base.hpp"
4 #include "mode.hpp"
5 
6 namespace ros2_canopen
7 {
8 class HomingMode : public Mode
9 {
10 protected:
11  enum SW_bits
12  {
15  };
16  enum CW_bits
17  {
19  };
20 
21 public:
22  HomingMode() : Mode(MotorBase::Homing) {}
23  virtual bool executeHoming() = 0;
24 };
25 } // namespace ros2_canopen
26 
27 #endif // HOMING_MODE_HPP
@ CW_Operation_mode_specific0
Definition: command.hpp:47
Definition: homing_mode.hpp:9
CW_bits
Definition: homing_mode.hpp:17
@ CW_StartHoming
Definition: homing_mode.hpp:18
SW_bits
Definition: homing_mode.hpp:12
@ SW_Error
Definition: homing_mode.hpp:14
@ SW_Attained
Definition: homing_mode.hpp:13
HomingMode()
Definition: homing_mode.hpp:22
virtual bool executeHoming()=0
Definition: mode.hpp:13
Motor Base Class.
Definition: base.hpp:16
@ SW_Operation_mode_specific0
Definition: state.hpp:27
@ SW_Operation_mode_specific1
Definition: state.hpp:28
Definition: configuration_manager.hpp:28