diff --git a/include/autoware_v2x/v2x_node.hpp b/include/autoware_v2x/v2x_node.hpp index 4d503d0..e94f393 100644 --- a/include/autoware_v2x/v2x_node.hpp +++ b/include/autoware_v2x/v2x_node.hpp @@ -14,6 +14,7 @@ #include "autoware_v2x/positioning.hpp" #include "autoware_v2x/security.hpp" #include "autoware_v2x/router_context.hpp" +#include namespace v2x { @@ -22,9 +23,11 @@ namespace v2x public: explicit V2XNode(const rclcpp::NodeOptions &node_options); V2XApp *app; - void publishObjects(std::vector *); + void publishObjects(std::vector *, int cpm_num); void publishCpmSenderObject(double, double, double); + std::ofstream latency_log_file; + private: void objectsCallback(const autoware_auto_perception_msgs::msg::PredictedObjects::ConstSharedPtr msg); void tfCallback(const tf2_msgs::msg::TFMessage::ConstSharedPtr msg);