Skip to content

Commit

Permalink
Using desired joint positions as starting point in JointWaypointMotio…
Browse files Browse the repository at this point in the history
…n for consistency
  • Loading branch information
TimSchneider42 committed Jun 3, 2024
1 parent 8267b13 commit 38aa633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/motion/joint_waypoint_motion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ void JointWaypointMotion::initWaypointMotion(
if (previous_command.has_value())
input_parameter.current_position = previous_command->q;
else
input_parameter.current_position = robot_state.q;
input_parameter.current_position = robot_state.q_d;
input_parameter.current_velocity = robot_state.dq_d;
input_parameter.current_acceleration = robot_state.ddq_d;
}
Expand Down

0 comments on commit 38aa633

Please sign in to comment.