Skip to content

Commit a423a51

Browse files
No need for active goal in service query
1 parent 8e6dd3e commit a423a51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

joint_trajectory_controller/src/joint_trajectory_controller.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ void JointTrajectoryController::query_state_service(
734734
response->success = false;
735735
return;
736736
}
737-
const auto active_goal = *rt_active_goal_.readFromRT();
737+
738738
response->name = params_.joints;
739739
trajectory_msgs::msg::JointTrajectoryPoint state_requested = state_current_;
740740
if (has_active_trajectory())

0 commit comments

Comments
 (0)