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,
string &srdfFullPath,
unsigned int &) // TestProfil)
{
std::cout << "Nb of entries: " << argc << std::endl;
if (argc != 3) {
urdfFullPath = URDF_FULL_PATH;
srdfFullPath = SRDF_FULL_PATH;
ODEBUG(urdfFullPath);
ODEBUG(srdfFullPath);
} else {
urdfFullPath = argv[1];
srdfFullPath = argv[2];
}
}
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