ros2_canopen  master
C++ ROS CANopen Library
Public Member Functions | List of all members
ros2_canopen::DefaultHomingMode Class Reference

#include <default_homing_mode.hpp>

Inheritance diagram for ros2_canopen::DefaultHomingMode:
Inheritance graph
[legend]
Collaboration diagram for ros2_canopen::DefaultHomingMode:
Collaboration graph
[legend]

Public Member Functions

 DefaultHomingMode (std::shared_ptr< LelyDriverBridge > driver)
 
virtual bool start ()
 
virtual bool read (const uint16_t &sw)
 
virtual bool write (OpModeAccesser &cw)
 
virtual bool executeHoming ()
 
- Public Member Functions inherited from ros2_canopen::HomingMode
 HomingMode ()
 
- Public Member Functions inherited from ros2_canopen::Mode
 Mode (uint16_t id)
 
virtual bool setTarget (const double &val)
 
virtual ~Mode ()
 

Additional Inherited Members

- Public Types inherited from ros2_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 ros2_canopen::Mode
const uint16_t mode_id_
 
- Protected Types inherited from ros2_canopen::HomingMode
enum  SW_bits { SW_Attained = State402::SW_Operation_mode_specific0 , SW_Error = State402::SW_Operation_mode_specific1 }
 
enum  CW_bits { CW_StartHoming = Command402::CW_Operation_mode_specific0 }
 

Constructor & Destructor Documentation

◆ DefaultHomingMode()

ros2_canopen::DefaultHomingMode::DefaultHomingMode ( std::shared_ptr< LelyDriverBridge driver)
inline

Member Function Documentation

◆ start()

virtual bool ros2_canopen::DefaultHomingMode::start ( )
virtual

Implements ros2_canopen::Mode.

◆ read()

virtual bool ros2_canopen::DefaultHomingMode::read ( const uint16_t &  sw)
virtual

Implements ros2_canopen::Mode.

◆ write()

virtual bool ros2_canopen::DefaultHomingMode::write ( OpModeAccesser cw)
virtual

Implements ros2_canopen::Mode.

◆ executeHoming()

virtual bool ros2_canopen::DefaultHomingMode::executeHoming ( )
virtual

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