Class LifecycleCia402Driver
Defined in File lifecycle_cia402_driver.hpp
Inheritance Relationships
Base Type
public ros2_canopen::LifecycleCanopenDriver
Class Documentation
-
class LifecycleCia402Driver : public ros2_canopen::LifecycleCanopenDriver
Lifecycle 402 Driver.
A very basic driver without any functionality.
Public Functions
-
LifecycleCia402Driver(rclcpp::NodeOptions node_options = rclcpp::NodeOptions())
-
inline virtual bool reset_node_nmt_command()
-
inline virtual bool start_node_nmt_command()
-
inline virtual bool tpdo_transmit(ros2_canopen::COData &data)
-
inline virtual bool sdo_write(ros2_canopen::COData &data)
-
inline virtual bool sdo_read(ros2_canopen::COData &data)
-
inline void register_nmt_state_cb(std::function<void(canopen::NmtState, uint8_t)> nmt_state_cb)
-
inline void register_rpdo_cb(std::function<void(COData, uint8_t)> rpdo_cb)
-
inline double get_speed()
-
inline double get_position()
-
inline bool set_target(double target)
-
inline bool init_motor()
-
inline bool recover_motor()
-
inline bool halt_motor()
-
inline bool set_mode_position()
-
inline bool set_mode_velocity()
-
inline bool set_mode_cyclic_position()
-
inline bool set_mode_cyclic_velocity()
-
inline bool set_mode_torque()
-
inline bool set_mode_cyclic_torque()
-
inline bool set_mode_interpolated_position()
-
LifecycleCia402Driver(rclcpp::NodeOptions node_options = rclcpp::NodeOptions())