Commit dd26930a authored by limingbo's avatar limingbo

test

parent d38bb2ca
Pipeline #871 canceled with stages
......@@ -136,9 +136,12 @@ bool initTrajectory(
const string &trajPath,
boost::shared_ptr<Trajectory> &trajectory)
{
if(boost::filesystem::path(trajPath).filename().string() == "ie.txt"){
string trajFileName =
boost::filesystem::path(trajPath).filename().string();
LOG(INFO) << "trajFileName: " << trajFileName;
if(trajFileName == "ie.txt"){
trajectory.reset(new Trajectory(trajPath, PPK));
}else if(boost::filesystem::path(trajPath).filename().string() == "sample.gps"){
}else if(trajFileName == "sample.gps"){
trajectory.reset(new Trajectory(trajPath, PPK, 10));
}else{
return false;
......
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