mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-09-27 00:29:13 +08:00
precommit fixes and pkg xml fix
Signed-off-by: Dhruv Patel <dhruvpatel2991998@gmail.com>
This commit is contained in:
parent
9c28380e48
commit
2aeadcaa02
@ -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>
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user