Carma-platform v4.2.0
CARMA Platform is built on robot operating system (ROS) and utilizes open source software (OSS) that enables Cooperative Driving Automation (CDA) features to allow Automated Driving Systems to interact and cooperate with infrastructure and other vehicles through communication.
|
#include <bounding_box_to_detected_object_node.h>
Public Member Functions | |
Node (const rclcpp::NodeOptions &) | |
void | bbox_callback (autoware_auto_msgs::msg::BoundingBoxArray::UniquePtr msg) |
Callback for bounding box data to be converted. Publishes a DetectedObjects message from the bounding box array. More... | |
carma_ros2_utils::CallbackReturn | handle_on_configure (const rclcpp_lifecycle::State &) |
Private Attributes | |
carma_ros2_utils::SubPtr< autoware_auto_msgs::msg::BoundingBoxArray > | bbox_sub_ |
carma_ros2_utils::PubPtr< autoware_auto_msgs::msg::DetectedObjects > | object_pub_ |
Definition at line 28 of file bounding_box_to_detected_object_node.h.
|
explicit |
Definition at line 25 of file bounding_box_to_detected_object_node.cpp.
void bounding_box_to_detected_object::Node::bbox_callback | ( | autoware_auto_msgs::msg::BoundingBoxArray::UniquePtr | msg | ) |
Callback for bounding box data to be converted. Publishes a DetectedObjects message from the bounding box array.
msg | The message to convert and republish |
Definition at line 60 of file bounding_box_to_detected_object_node.cpp.
References bounding_box_to_detected_object::detected_obj_from_bounding_box(), and object_pub_.
Referenced by handle_on_configure().
carma_ros2_utils::CallbackReturn bounding_box_to_detected_object::Node::handle_on_configure | ( | const rclcpp_lifecycle::State & | ) |
Definition at line 30 of file bounding_box_to_detected_object_node.cpp.
References bbox_callback(), bbox_sub_, and object_pub_.
|
private |
Definition at line 34 of file bounding_box_to_detected_object_node.h.
Referenced by handle_on_configure().
|
private |
Definition at line 37 of file bounding_box_to_detected_object_node.h.
Referenced by bbox_callback(), and handle_on_configure().