Class SocketcanBridgeNode

Inheritance Relationships

Base Type

  • public rclcpp_lifecycle::LifecycleNode

Class Documentation

class SocketcanBridgeNode : public rclcpp_lifecycle::LifecycleNode

Public Functions

explicit SocketcanBridgeNode(const rclcpp::NodeOptions &options = rclcpp::NodeOptions())

Construct the socketcan bridge node.

Parameters:

options

~SocketcanBridgeNode()

Destruct SocketcanBridgeBNode.

Protected Types

using rclcpp_lifecycle_callback_return = rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn

Protected Functions

rclcpp_lifecycle_callback_return on_configure(const rclcpp_lifecycle::State &state) override

Configure the Node and socket.

Parameters:

state

Returns:

lifecycle callback return

rclcpp_lifecycle_callback_return on_activate(const rclcpp_lifecycle::State &state) override

Activate the Node and receive thread.

Parameters:

state

Returns:

lifecycle callback return

rclcpp_lifecycle_callback_return on_deactivate(const rclcpp_lifecycle::State &state) override

Deactivate the Node and stop the thread.

Parameters:

state

Returns:

lifecycle callback return

rclcpp_lifecycle_callback_return on_cleanup(const rclcpp_lifecycle::State &state) override

Cleanup the Node and close the Socket.

Parameters:

state

Returns:

lifecycle callback return

rclcpp_lifecycle_callback_return on_shutdown(const rclcpp_lifecycle::State &state) override

Shutdown the node and clean up.

Parameters:

state

Returns:

lifecycle callback return