Commit 4cf18e95 authored by limingbo's avatar limingbo

init

parent e63b0ba7
Pipeline #857 canceled with stages
......@@ -337,7 +337,7 @@ void Trajectory::parseAndPush(const vector<string> &vec, uint8_t index)
if(multiTrajectory_[index].size() == 0){
multiTrajectory_[index].push_back(trajPoint);
}else{
if((trajPoint.translation - multiTrajectory_[index].begin()->translation).norm() > 1){
if((trajPoint.translation - multiTrajectory_[index].back().translation).norm() > 1){
multiTrajectory_[index].push_back(trajPoint);
}
}
......
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