Commit db6a110d authored by olivier stasse's avatar olivier stasse
Browse files

Fix problems for compiling.

parent 88d1c1bc
...@@ -20,6 +20,7 @@ INCLUDE(cmake/boost.cmake) ...@@ -20,6 +20,7 @@ INCLUDE(cmake/boost.cmake)
INCLUDE(cmake/lapack.cmake) INCLUDE(cmake/lapack.cmake)
INCLUDE(cmake/cpack.cmake) INCLUDE(cmake/cpack.cmake)
SET(PROJECT_NAME sot-hrp2) SET(PROJECT_NAME sot-hrp2)
SET(PROJECT_DESCRIPTION "dynamic-graph package for HRP-2 robot") SET(PROJECT_DESCRIPTION "dynamic-graph package for HRP-2 robot")
SET(PROJECT_URL "http://github.com/laas/sot-hrp2") SET(PROJECT_URL "http://github.com/laas/sot-hrp2")
......
...@@ -170,7 +170,7 @@ void SoTHRP2Controller::getControl(map<string,dgsot::ControlValues> &controlOut) ...@@ -170,7 +170,7 @@ void SoTHRP2Controller::getControl(map<string,dgsot::ControlValues> &controlOut)
baseff[i*4+3] = freeFlyerPose () (i, 3); baseff[i*4+3] = freeFlyerPose () (i, 3);
for(unsigned i = 0;i < 3; ++i) for(unsigned i = 0;i < 3; ++i)
for(unsigned j = 0; j < 3; ++j) for(unsigned j = 0; j < 3; ++j)
baseff[i * 3 + j] = freeFlyerPose () (i, j); baseff[i * 4 + j] = freeFlyerPose () (i, j);
controlOut["baseff"].setValues(baseff); controlOut["baseff"].setValues(baseff);
......
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