Commit 72bb28e4 authored by oscar's avatar oscar

提交gpu参数

parent 82b461a7
......@@ -43,6 +43,7 @@ void TrackingRos::Init(ros::NodeHandle& nh)
int gpu = 0;
nh.param<int32_t>("kf_gpu", gpu, 0);
SDK_LOG(SDK_INFO, "kf_gpu = %d",gpu);
m_tracker.SetGPU(gpu);
YAML::Node config = YAML::LoadFile(file.c_str());
......
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