Template Class NodeCanopenProxyDriver
Defined in File node_canopen_proxy_driver.hpp
Inheritance Relationships
Base Type
public ros2_canopen::node_interfaces::NodeCanopenBaseDriver< NODETYPE >
Class Documentation
-
template<class NODETYPE>
class NodeCanopenProxyDriver : public ros2_canopen::node_interfaces::NodeCanopenBaseDriver<NODETYPE> Public Functions
-
virtual void init(bool called_from_base) override
-
virtual bool reset_node_nmt_command()
-
virtual bool start_node_nmt_command()
-
virtual bool tpdo_transmit(COData &data)
-
virtual bool sdo_write(COData &data)
-
virtual bool sdo_read(COData &data)
Protected Functions
-
virtual void on_nmt(canopen::NmtState nmt_state) override
-
virtual void on_rpdo(COData data) override
-
virtual void diagnostic_callback(diagnostic_updater::DiagnosticStatusWrapper &stat) override
Protected Attributes
-
rclcpp::Publisher<std_msgs::msg::String>::SharedPtr nmt_state_publisher
-
rclcpp::Publisher<canopen_interfaces::msg::COData>::SharedPtr rpdo_publisher
-
rclcpp::Subscription<canopen_interfaces::msg::COData>::SharedPtr tpdo_subscriber
-
rclcpp::Service<std_srvs::srv::Trigger>::SharedPtr nmt_state_reset_service
-
rclcpp::Service<std_srvs::srv::Trigger>::SharedPtr nmt_state_start_service
-
rclcpp::Service<canopen_interfaces::srv::CORead>::SharedPtr sdo_read_service
-
rclcpp::Service<canopen_interfaces::srv::COWrite>::SharedPtr sdo_write_service
-
std::mutex sdo_mtex
-
virtual void init(bool called_from_base) override