Skip to content

Commit 9a426fe

Browse files
Fixed issue in motion extrapolation of velocity waypoint motions
1 parent 6abcdf8 commit 9a426fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/franky/motion/velocity_waypoint_motion.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class VelocityWaypointMotion : public WaypointMotion<ControlSignalType, Velocity
6868
// internally as well
6969
auto [vel_d, acc_d, _] = getDesiredState(robot_state);
7070

71-
auto vel = toEigenD<7>(input_parameter.current_velocity);
71+
auto vel = toEigenD<7>(input_parameter.current_position);
7272

7373
// Retain difference between desired state and motion planner state
7474
auto vel_diff = vel - vel_d;

0 commit comments

Comments
 (0)