Commit 883b427e authored by oscar's avatar oscar

提交更新

parent 9203e26d
......@@ -182,6 +182,7 @@ void TrackingRos::Init(ros::NodeHandle& nh)
if (ret != 0)return;
m_config = parser.entry["TRACKING_YAML_NODE"];
config = m_config;
m_nodeName = parser.node_name;
}
else
{
......@@ -444,7 +445,9 @@ void TrackingRos::ThreadTrackingProcess()
for (auto& iter : trackers)
{
jfx_common_msgs::det_tracking obj = {};
obj.device = m_nodeName;
jfx_common_msgs::det_tracking input_obj = {};
input_obj.device = m_nodeName;
int last_type = -1;
int is_need_send = 0;//是否需要发送
if (updateId.find(iter.first) != updateId.end())
......
......@@ -58,5 +58,6 @@ public:
float m_lidar_x_angle = 0.0f;//修改rot_y的参数,从配置里读取
std::string m_root_dir;//存储统一的根目录路径
std::string m_nodeName;//点位信息,现在就是10-1,1-1等信息
YAML::Node m_config;//配置的yaml文件
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment