diff --git a/trajopt/test/kinematic_costs_unit.cpp b/trajopt/test/kinematic_costs_unit.cpp index c5d283b4..0b5098f1 100644 --- a/trajopt/test/kinematic_costs_unit.cpp +++ b/trajopt/test/kinematic_costs_unit.cpp @@ -80,7 +80,7 @@ TEST_F(KinematicCostsTest, CartPoseJacCalculator) // NOLINT { CONSOLE_BRIDGE_logDebug("KinematicCostsTest, CartPoseJacCalculator"); - const tesseract_kinematics::JointGroup::Ptr kin = env_->getJointGroup("right_arm"); + const tesseract_kinematics::JointGroup::ConstPtr kin = env_->getJointGroup("right_arm"); const std::string source_frame = env_->getRootLinkName(); const std::string target_frame = "r_gripper_tool_frame"; diff --git a/trajopt_ifopt/test/cartesian_line_constraint_unit.cpp b/trajopt_ifopt/test/cartesian_line_constraint_unit.cpp index 4bac633c..43586768 100644 --- a/trajopt_ifopt/test/cartesian_line_constraint_unit.cpp +++ b/trajopt_ifopt/test/cartesian_line_constraint_unit.cpp @@ -29,7 +29,7 @@ class CartesianLineConstraintUnit : public testing::TestWithParam Environment::Ptr env = std::make_shared(); std::shared_ptr variables = std::make_shared("variable-sets", false); - tesseract_kinematics::JointGroup::Ptr manip; + tesseract_kinematics::JointGroup::ConstPtr manip; CartLineInfo info; trajopt_ifopt::JointPosition::Ptr var; diff --git a/trajopt_ifopt/test/cartesian_position_constraint_unit.cpp b/trajopt_ifopt/test/cartesian_position_constraint_unit.cpp index 9755503a..b243c0ca 100644 --- a/trajopt_ifopt/test/cartesian_position_constraint_unit.cpp +++ b/trajopt_ifopt/test/cartesian_position_constraint_unit.cpp @@ -58,7 +58,7 @@ class CartesianPositionConstraintUnit : public testing::TestWithParam(); ifopt::Problem nlp; - tesseract_kinematics::JointGroup::Ptr kin_group; + tesseract_kinematics::JointGroup::ConstPtr kin_group; CartPosConstraint::Ptr constraint; Eigen::Index n_dof{ -1 };