Commit 270b54e7 authored by Olivier Stasse's avatar Olivier Stasse
Browse files

[tests/CommonTools.cpp] Accept either two files urdf + srdf files or

uses talos_data files by default.
parent 98015b45
...@@ -116,10 +116,14 @@ void getOptions(int argc, char *argv[], string &urdfFullPath, ...@@ -116,10 +116,14 @@ void getOptions(int argc, char *argv[], string &urdfFullPath,
string &srdfFullPath, string &srdfFullPath,
unsigned int &) // TestProfil) unsigned int &) // TestProfil)
{ {
urdfFullPath = URDF_FULL_PATH; std::cout << "Nb of entries: " << argc << std::endl;
srdfFullPath = SRDF_FULL_PATH; if (argc != 3) {
ODEBUG(urdfFullPath); urdfFullPath = URDF_FULL_PATH;
ODEBUG(srdfFullPath); srdfFullPath = SRDF_FULL_PATH;
} else {
urdfFullPath = argv[1];
srdfFullPath = argv[2];
}
} }
OneStep::OneStep() { OneStep::OneStep() {
......
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