1 #ifndef DEFAULT_HOMING_MODE_HPP
2 #define DEFAULT_HOMING_MODE_HPP
12 const uint16_t index = 0x6098;
13 std::shared_ptr<LelyDriverBridge> driver;
15 std::atomic<bool> execute_;
18 std::condition_variable cond_;
27 bool error(
const std::string & msg)
30 std::cout << msg << std::endl;
37 virtual bool read(
const uint16_t & sw);
Definition: default_homing_mode.hpp:11
virtual bool executeHoming()
virtual bool read(const uint16_t &sw)
DefaultHomingMode(std::shared_ptr< LelyDriverBridge > driver)
Definition: default_homing_mode.hpp:35
virtual bool write(OpModeAccesser &cw)
Definition: homing_mode.hpp:9
@ SW_Error
Definition: homing_mode.hpp:14
@ SW_Attained
Definition: homing_mode.hpp:13
@ SW_Target_reached
Definition: state.hpp:25
Definition: word_accessor.hpp:10
Definition: configuration_manager.hpp:28