Closed yetongumich closed 3 years ago
Can you update the branch? The C++ tests for testPneumaticFactors
don't pass for me and there are some compilation issues such as PneumaticActuator::PriorValues
.
Fun fact: Both the C++ and Python tests run without any problem for me. What is the error message you get?
I pushed some fixes I had to make to your branch.
Thanks! It's also due to an environment problem on my mac. I was calling different GTSAMs in C++ and Python.
Solving with the same factor graph and same initial values, when specifying the optimizer LM with option QR, it works in C++, but fails in Python.
I've created a branch that exposes this issue. I've made 2 test (testPneumaticActuator.cpp and test_lm_cpp.py) which are essentially the same tests, one in Python, one in C++.
To compile the code, you need to specify
GTDYNAMICS_BUILD_CABLE_ROBOT
andGTDYNAMICS_BUILD_JUMPING_ROBOT
, as follows:cmake .. -DGTDYNAMICS_BUILD_CABLE_ROBOT=ON -DGTDYNAMICS_BUILD_JUMPING_ROBOT=ON