Class StCameraNode

Inheritance Relationships

Base Type

  • public rclcpp::Node

Class Documentation

class StCameraNode : public rclcpp::Node

Class implementation for stcamera.

This class implements the stcamera.

Public Functions

explicit COMPOSITION_PUBLIC StCameraNode(const rclcpp::NodeOptions &options)

Default Constructor.

virtual ~StCameraNode()

Destructor.

Protected Functions

virtual void init()

Initialization. This function is called by constructor. In the initialization, list of allowed camera to connect is retrieved and the GenTL modules are initialized.

void initServices()
void initPublishers()

Protected Attributes

StParameter param_

StParameter instance

rclcpp::Publisher<stcamera_msgs::msg::DeviceConnection>::SharedPtr msg_device_connection_

Publisher for announcing any device lost or newly found device that is allowed to connect.

rclcpp::Service<stcamera_msgs::srv::GetDeviceList>::SharedPtr srv_get_device_list_

Server for get_device_list

rclcpp::Service<stcamera_msgs::srv::GetModuleList>::SharedPtr srv_get_module_list_

Server for get_module_list

rclcpp::Service<stcamera_msgs::srv::GetSDKInfo>::SharedPtr srv_get_sdk_info_

Server for get_sdk_info