diff --git a/tesseract_monitoring/src/current_state_monitor.cpp b/tesseract_monitoring/src/current_state_monitor.cpp index f46212b3..e039fca9 100644 --- a/tesseract_monitoring/src/current_state_monitor.cpp +++ b/tesseract_monitoring/src/current_state_monitor.cpp @@ -290,7 +290,7 @@ struct CurrentStateMonitor::Implementation std::vector missing_joints; if (!haveCompleteState(missing_joints)) { - tesseract_kinematics::JointGroup::UPtr jmg = env->getJointGroup(manip); + tesseract_kinematics::JointGroup::ConstPtr jmg = env->getJointGroup(manip); if (jmg) { std::set mj;