add latency_log_file
This commit is contained in:
parent
ea5a8a3431
commit
3dc4cd119d
|
@ -14,6 +14,7 @@
|
||||||
#include "autoware_v2x/positioning.hpp"
|
#include "autoware_v2x/positioning.hpp"
|
||||||
#include "autoware_v2x/security.hpp"
|
#include "autoware_v2x/security.hpp"
|
||||||
#include "autoware_v2x/router_context.hpp"
|
#include "autoware_v2x/router_context.hpp"
|
||||||
|
#include <fstream>
|
||||||
|
|
||||||
namespace v2x
|
namespace v2x
|
||||||
{
|
{
|
||||||
|
@ -22,9 +23,11 @@ namespace v2x
|
||||||
public:
|
public:
|
||||||
explicit V2XNode(const rclcpp::NodeOptions &node_options);
|
explicit V2XNode(const rclcpp::NodeOptions &node_options);
|
||||||
V2XApp *app;
|
V2XApp *app;
|
||||||
void publishObjects(std::vector<CpmApplication::Object> *);
|
void publishObjects(std::vector<CpmApplication::Object> *, int cpm_num);
|
||||||
void publishCpmSenderObject(double, double, double);
|
void publishCpmSenderObject(double, double, double);
|
||||||
|
|
||||||
|
std::ofstream latency_log_file;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void objectsCallback(const autoware_auto_perception_msgs::msg::PredictedObjects::ConstSharedPtr msg);
|
void objectsCallback(const autoware_auto_perception_msgs::msg::PredictedObjects::ConstSharedPtr msg);
|
||||||
void tfCallback(const tf2_msgs::msg::TFMessage::ConstSharedPtr msg);
|
void tfCallback(const tf2_msgs::msg::TFMessage::ConstSharedPtr msg);
|
||||||
|
|
Loading…
Reference in New Issue