@@ -415,9 +415,10 @@ TEST_F(TrajectoryFunctionsTestFlangeAndGripper, testIKRobotStateWithIdentityColl
415
415
const moveit::core::LinkModel* tip_link = robot_model_->getLinkModel (tcp_link_);
416
416
Eigen::Isometry3d tip_pose_in_base = state.getFrameTransform (tcp_link_);
417
417
418
- // Attach an object with no subframes, and no transform
418
+ // Attach an object with ignored subframes, and no transform
419
419
Eigen::Isometry3d object_pose_in_tip = Eigen::Isometry3d::Identity ();
420
- attachToLink (state, tip_link, " object" , object_pose_in_tip, { {} });
420
+ moveit::core::FixedTransformsMap subframes ({ { " ignored" , Eigen::Isometry3d::Identity () } });
421
+ attachToLink (state, tip_link, " object" , object_pose_in_tip, subframes);
421
422
422
423
// The RobotState should be able to use an object pose to set the joints
423
424
Eigen::Isometry3d object_pose_in_base = tip_pose_in_base * object_pose_in_tip;
@@ -440,12 +441,12 @@ TEST_F(TrajectoryFunctionsTestFlangeAndGripper, testIKRobotStateWithTransformedC
440
441
const moveit::core::LinkModel* tip_link = robot_model_->getLinkModel (tcp_link_);
441
442
Eigen::Isometry3d tip_pose_in_base = state.getFrameTransform (tcp_link_);
442
443
443
- // Attach an object with no subframes, and a non-trivial transform
444
+ // Attach an object with ignored subframes, and a non-trivial transform
444
445
Eigen::Isometry3d object_pose_in_tip;
445
446
object_pose_in_tip = Eigen::Translation3d (1 , 2 , 3 );
446
447
object_pose_in_tip *= Eigen::AngleAxis (M_PI_2, Eigen::Vector3d::UnitX ());
447
-
448
- attachToLink (state, tip_link, " object" , object_pose_in_tip, { {} } );
448
+ moveit::core::FixedTransformsMap subframes ({ { " ignored " , Eigen::Isometry3d::Identity () } });
449
+ attachToLink (state, tip_link, " object" , object_pose_in_tip, subframes );
449
450
450
451
// The RobotState should be able to use an object pose to set the joints
451
452
Eigen::Isometry3d object_pose_in_base = tip_pose_in_base * object_pose_in_tip;
0 commit comments