17#ifndef EXTERNAL_OBJECT_H
18#define EXTERNAL_OBJECT_H
20#include <rclcpp/rclcpp.hpp>
22#include <autoware_auto_msgs/msg/tracked_objects.hpp>
23#include <carma_perception_msgs/msg/external_object_list.hpp>
24#include <boost/optional.hpp>
27#include "carma_ros2_utils/carma_lifecycle_node.hpp"
40 carma_ros2_utils::PubPtr<carma_perception_msgs::msg::ExternalObjectList>
carma_obj_pub_;
64 void publishObject(
const carma_perception_msgs::msg::ExternalObjectList& obj_msg);
74 boost::optional<geometry_msgs::msg::TransformStamped>
lookupTransform(
const std::string& parent,
const std::string& child,
const rclcpp::Time& stamp);
tf2_ros::TransformListener tfListener_
tf2_ros::Buffer tfBuffer_
carma_ros2_utils::SubPtr< autoware_auto_msgs::msg::TrackedObjects > autoware_obj_sub_
void publishObject(const carma_perception_msgs::msg::ExternalObjectList &obj_msg)
Callback to publish ObjectList.
carma_ros2_utils::CallbackReturn handle_on_configure(const rclcpp_lifecycle::State &)
boost::optional< geometry_msgs::msg::TransformStamped > lookupTransform(const std::string &parent, const std::string &child, const rclcpp::Time &stamp)
Callback to lookup a transform between two frames.
ObjectDetectionTrackingWorker object_worker_
ObjectDetectionTrackingNode(const rclcpp::NodeOptions &)
ObjectDetectionTrackingNode constructor.
carma_ros2_utils::PubPtr< carma_perception_msgs::msg::ExternalObjectList > carma_obj_pub_