Commit 44232608 authored by oscar's avatar oscar

utm参数读取加入宏定义

parent 4a86dc9c
......@@ -314,13 +314,14 @@ void TrackingRos::Init(ros::NodeHandle& nh)
m_kitti2origin = config["KITTI2ORIGIN"].as<std::vector<std::vector<double>>>();
else
SDK_LOG(SDK_INFO, "can not load KITTI2ORIGIN from yaml");
#ifdef _ABUZHABI_
if(config["UTM_STATION"])
m_UTM_station = config["UTM_STATION"].as<std::vector<double>>();
if(config["WGS84_STATION"])
m_wgs84_station = config["WGS84_STATION"].as<std::vector<double>>();
if(config["TRANS2STATION"])
m_trans2station = config["TRANS2STATION"].as<std::vector<std::vector<double>>>();
#endif
SDK_LOG(SDK_INFO, "trans = [%s]", GetMatrixStr(m_trans, 4, 4).c_str());
SDK_LOG(SDK_INFO, "kitti2origin = [%s]", GetMatrixStr(m_kitti2origin,4,4).c_str());
ADD_DEF_LOG(1, "tracking.csv");
......
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