precommit fixes and pkg xml fix

Signed-off-by: Dhruv Patel <dhruvpatel2991998@gmail.com>
This commit is contained in:
Dhruv Patel 2025-07-16 12:14:04 +02:00
parent 9c28380e48
commit 2aeadcaa02
2 changed files with 3 additions and 2 deletions

View File

@ -13,6 +13,7 @@
<buildtool_depend>catkin</buildtool_depend>
<depend>fmt</depend>
<depend>rcpputils</depend>
<depend>moveit_core</depend>
<depend>moveit_ros_move_group</depend>
<depend>actionlib</depend>

View File

@ -174,7 +174,7 @@ TEST_F(PandaMoveRelativeJoint, jointOutsideBound) {
// move joint inside limit
auto initial_jpos = scene->getCurrentState().getJointPositions("panda_joint7");
move->setDirection([initial_jpos] {
return std::map<std::string, double>{ { "panda_joint7", 2.0 - *initial_jpos } };
return std::map<std::string, double>{ { "panda_joint7", 2.0 - *initial_jpos } };
}());
EXPECT_TRUE(this->t.plan()) << "Plan should succeed, joint inside limit";
@ -182,7 +182,7 @@ TEST_F(PandaMoveRelativeJoint, jointOutsideBound) {
// move joint outside limit: 2.8973
move->setDirection([initial_jpos] {
return std::map<std::string, double>{ { "panda_joint7", 3.0 - *initial_jpos } };
return std::map<std::string, double>{ { "panda_joint7", 3.0 - *initial_jpos } };
}());
EXPECT_FALSE(this->t.plan()) << "Plan should fail, joint outside limit";