Commit 98015b45 authored by Olivier Stasse's avatar Olivier Stasse
Browse files

[tests/TestNaveau2015] Back on track and uses talos_data repository.

parent c4f486d3
......@@ -31,7 +31,7 @@ ADD_PROJECT_DEPENDENCY(LAPACK REQUIRED)
ADD_PROJECT_DEPENDENCY(pinocchio REQUIRED PKG_CONFIG_REQUIRES pinocchio)
IF(BUILD_TESTING)
ADD_REQUIRED_DEPENDENCY("simple_humanoid_description >= 1.0.1")
ADD_REQUIRED_DEPENDENCY("talos_data >= 1.2.1")
#ADD_OPTIONAL_DEPENDENCY("hrp2_14_description >= 1.0.2")
ENDIF(BUILD_TESTING)
......
......@@ -13,8 +13,8 @@
# received a copy of the GNU Lesser General Public License along with
# jrl-walkgen. If not, see <http://www.gnu.org/licenses/>.
SET(urdfpath ${SIMPLE_HUMANOID_DESCRIPTION_PKGDATAROOTDIR}/simple_humanoid_description/urdf/simple_humanoid.urdf)
SET(srdfpath ${SIMPLE_HUMANOID_DESCRIPTION_PKGDATAROOTDIR}/simple_humanoid_description/srdf/simple_humanoid.srdf)
SET(urdfpath ${TALOS_DATA_PREFIX}/share/talos_data/urdf/talos_reduced_wpg.urdf)
SET(srdfpath ${TALOS_DATA_PREFIX}/share/talos_data/srdf/talos_wpg.srdf)
ADD_LIBRARY(${PROJECT_NAME}-test SHARED
......@@ -188,7 +188,7 @@ ENDMACRO(ADD_JRL_WALKGEN_EXE)
################
# Disabled as the test fail : random results oscillating around mean behaviour
#ADD_JRL_WALKGEN_EXE(TestNaveau2015Online TestNaveau2015.cpp)
ADD_JRL_WALKGEN_EXE(TestNaveau2015Online TestNaveau2015.cpp)
#ADD_JRL_WALKGEN_EXE(TestNaveau2015OnlineSimple TestNaveau2015.cpp)
#####################
......
......@@ -649,7 +649,7 @@ protected:
else if (m_PR->getName() == "talos")
startTalosOnLineWalking(*m_PGI);
else
throw("No valid robot");
throw("No valid robot "+m_PR->getName());
break;
case PROFIL_SIMPLE_NAVEAU:
......@@ -659,7 +659,7 @@ protected:
else if (m_PR->getName() == "talos")
startTalosOnLineWalking(*m_PGI);
else
throw("No valid robot");
throw("No valid robot "+m_PR->getName());
break;
default:
......
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