|
|
@@ -293,13 +293,13 @@ Error_manager System_executor::encapsulate_send_status()
|
|
|
save_cloud_txt(t_region_cloud, t_filename);
|
|
|
LOG(INFO) << "region "<< iter->first <<" cloud has been saved in " + t_filename;
|
|
|
}
|
|
|
- for (size_t j = 0; j < t_region_cloud->size(); j++)
|
|
|
- {
|
|
|
- message::Cloud_coordinate *tp_cloud = t_multi_status_msg.add_cloud();
|
|
|
- tp_cloud->set_x(t_region_cloud->points[j].x);
|
|
|
- tp_cloud->set_y(t_region_cloud->points[j].y);
|
|
|
- tp_cloud->set_z(t_region_cloud->points[j].z);
|
|
|
- }
|
|
|
+ // for (size_t j = 0; j < t_region_cloud->size(); j++)
|
|
|
+ // {
|
|
|
+ // message::Cloud_coordinate *tp_cloud = t_multi_status_msg.add_cloud();
|
|
|
+ // tp_cloud->set_x(t_region_cloud->points[j].x);
|
|
|
+ // tp_cloud->set_y(t_region_cloud->points[j].y);
|
|
|
+ // tp_cloud->set_z(t_region_cloud->points[j].z);
|
|
|
+ // }
|
|
|
|
|
|
//无论定位结果如何, 都要填充数据, 即使全部写0, 必须保证通信格式正确.
|
|
|
message::Locate_information t_locate_information;
|
|
|
@@ -366,7 +366,8 @@ Error_manager System_executor::encapsulate_send_status()
|
|
|
|
|
|
std::string t_msg = t_multi_status_msg.SerializeAsString();
|
|
|
System_communication::get_instance_references().encapsulate_msg(t_msg);
|
|
|
- // std::cout<<t_multi_status_msg.DebugString()<<std::endl<<std::endl;
|
|
|
+ // if(t_multi_status_msg.terminal_id()==4)
|
|
|
+ // std::cout<<t_multi_status_msg.DebugString()<<std::endl<<std::endl;
|
|
|
}
|
|
|
|
|
|
// 普爱统一一个万集节点, 各终端消息分别发送
|