|
@@ -69,7 +69,6 @@ Error_manager CLivoxLaser::execute_task(Task_Base* p_laser_task)
|
|
|
|
|
|
//接受任务,并将任务的状态改为TASK_SIGNED已签收
|
|
|
mp_laser_task = (Laser_task *) p_laser_task;
|
|
|
- LOG(WARNING)<<mp_laser_task->get_save_path();
|
|
|
mp_laser_task->set_task_statu(TASK_SIGNED);
|
|
|
|
|
|
//检查消息内容是否正确,
|
|
@@ -90,10 +89,8 @@ Error_manager CLivoxLaser::execute_task(Task_Base* p_laser_task)
|
|
|
m_frame_maxnum=mp_laser_task->get_task_frame_maxnum();
|
|
|
|
|
|
//设置保存文件的路径
|
|
|
- LOG(WARNING)<<mp_laser_task->get_save_path();
|
|
|
- std::string save_points_path(mp_laser_task->get_task_save_path());
|
|
|
- LOG(WARNING)<<mp_laser_task->get_save_path();
|
|
|
- t_error = set_open_save_path(mp_laser_task->get_task_save_path());
|
|
|
+ std::string save_points_path=mp_laser_task->get_save_path();
|
|
|
+ t_error = set_open_save_path(save_points_path);
|
|
|
|
|
|
if ( t_error != Error_code::SUCCESS )
|
|
|
{
|
|
@@ -117,7 +114,6 @@ Error_manager CLivoxLaser::execute_task(Task_Base* p_laser_task)
|
|
|
//将任务的状态改为 TASK_WORKING 处理中
|
|
|
mp_laser_task->set_task_statu(TASK_WORKING);
|
|
|
}
|
|
|
- std::cout<<"11111"<<std::endl;
|
|
|
}
|
|
|
//返回错误码
|
|
|
if (t_result != Error_code::SUCCESS)
|