Closed traversaro closed 7 years ago
If you compile iDynTree with IDYNTREE_COMPILE_TESTS, you get the following warnings:
IDYNTREE_COMPILE_TESTS
/home/traversaro/src/codyco-superbuild/libraries/iDynTree/src/icub-kdl/tests/iDynTreeJacobianTest.cpp:142:13: warning: YARP_ASSERT is deprecated. Use yAssert instead. YARP_ASSERT(icub_tree.setWorldBasePose(H_w2b)); ^ /home/traversaro/src/codyco-superbuild/libraries/iDynTree/src/icub-kdl/tests/iDynTreeJacobianTest.cpp:171:13: warning: YARP_ASSERT is deprecated. Use yAssert instead. YARP_ASSERT(icub_tree.kinematicRNEA()); ^ /home/traversaro/src/codyco-superbuild/libraries/iDynTree/src/icub-kdl/tests/iDynTreeJacobianTest.cpp:312:13: warning: YARP_ASSERT is deprecated. Use yAssert instead. YARP_ASSERT( com_jacobian.cols() == icub_idyntree.getNrOfDOFs()+6); ^ /home/traversaro/src/codyco-superbuild/libraries/iDynTree/src/icub-kdl/tests/iDynTreeJacobianTest.cpp:332:13: warning: YARP_ASSERT is deprecated. Use yAssert instead. YARP_ASSERT(waist_imu_icub.setWorldBasePose(icub_idyntree.getWorldBasePose())); ^ /home/traversaro/src/codyco-superbuild/libraries/iDynTree/src/icub-kdl/tests/iDynTreeJacobianTest.cpp:339:13: warning: YARP_ASSERT is deprecated. Use yAssert instead. YARP_ASSERT(waist_imu_icub.kinematicRNEA()); ^ /home/traversaro/src/codyco-superbuild/libraries/iDynTree/src/icub-kdl/tests/iDynTreeJacobianTest.cpp:340:13: warning: YARP_ASSERT is deprecated. Use yAssert instead. YARP_ASSERT(icub_idyntree.kinematicRNEA()); ^
Fixed by @Yeshasvitvs in https://github.com/robotology/idyntree/commit/8db94d1a3f3ed4621a63d490a91672091a40a7e7 .
If you compile iDynTree with
IDYNTREE_COMPILE_TESTS
, you get the following warnings: