The tests of the `load_parameters_from_yaml` in the following file [https://github.com/SDU-Robotics/sdu_controllers/blob/main/tests/tests.cpp](https://github.com/SDU-Robotics/sdu_controllers/blob/main/tests/tests.cpp) does not consider that some of the joints can be fixed. For the breeder blanket robot, the assertions are as follows: ` const RobotParameters &p = *params_opt; REQUIRE(p.dof == 7u); REQUIRE(p.mass.size() == p.dof); // will fail REQUIRE(p.com.rows() == static_cast<int>(p.dof)); // will fail REQUIRE(p.com.cols() == 3); // joint_1 is prismatic REQUIRE(p.joint_types.size() == p.dof); REQUIRE(p.joint_types[0] == ForwardKinematics::PRISMATIC); ` The marked lines will fail since we introduced an eigth joint that is fixed. This means that `p.dof` is 7, while `p.mass.size()` and `p.com.rows()` are 8.
Activity