Commit 6ff756fe authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Minor changes in the opendrive example file.

parent 9963e824
Pipeline #6367 passed with stages
in 1 minute and 40 seconds
......@@ -43,7 +43,7 @@ int main(int argc, char *argv[])
end_pose.x=17.0;
end_pose.y=0.0;
end_pose.heading=0.0;
road.get_sub_road(path,start_pose,end_pose,new_road);
road.get_sub_road(path,end_pose,new_road);
std::cout << "road1" << std::endl;
std::cout << new_road << std::endl;
*/
......@@ -102,7 +102,7 @@ int main(int argc, char *argv[])
start_pose.y=2.3;
start_pose.heading=1.5707;
road.get_sub_road(path,start_pose,end_pose,new_road);
road.get_sub_road(path,end_pose,new_road);
// std::cout << "road2" << std::endl;
// std::cout << new_road << std::endl;
/*
......@@ -155,7 +155,7 @@ int main(int argc, char *argv[])
end_pose.x=2.0;
end_pose.y=0.0;
end_pose.heading=0.0;
road.get_sub_road(path,start_pose,end_pose,new_road);
road.get_sub_road(path,end_pose,new_road);
std::cout << "road1" << std::endl;
std::cout << new_road << std::endl;
*/
......@@ -170,7 +170,7 @@ int main(int argc, char *argv[])
end_pose.x=5.0;
end_pose.y=0.0;
end_pose.heading=0.0;
road.get_sub_road(path,start_pose,end_pose,new_road);
road.get_sub_road(path,end_pose,new_road);
std::cout << "road2" << std::endl;
std::cout << new_road << std::endl;
path.clear();
......@@ -191,7 +191,7 @@ int main(int argc, char *argv[])
end_pose.x=2.0;
end_pose.y=0.0;
end_pose.heading=0.0;
road.get_sub_road(path,start_pose,end_pose,new_road);
road.get_sub_road(path,end_pose,new_road);
std::cout << "road3" << std::endl;
std::cout << new_road << std::endl;
*/
......
Supports Markdown
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