MCPcopy Create free account
hub / github.com/PRBonn/rko_lio / ThreadedNode

Method ThreadedNode

rko_lio/ros/threaded_node.cpp:38–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36namespace rko_lio::ros {
37
38ThreadedNode::ThreadedNode(const std::string& node_name, const rclcpp::NodeOptions& options) : BaseNode(node_name, options) {
39 max_lidar_buffer_size = static_cast<size_t>(node->declare_parameter<int>(
40 "async.max_lidar_buffer_size", static_cast<int>(max_lidar_buffer_size)));
41 registration_thread = std::jthread([this]() { registration_loop(); });
42}
43
44void ThreadedNode::imu_callback(const sensor_msgs::msg::Imu::ConstSharedPtr& imu_msg) {
45 if (!ensure_frame_and_extrinsics(imu_frame, imu_msg->header.frame_id, "IMU")) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected