We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fde87f commit d1d0c3cCopy full SHA for d1d0c3c
example_7/reference_generator/send_trajectory.cpp
@@ -81,7 +81,7 @@ int main(int argc, char ** argv)
81
trajectory_point_msg.positions.data(), joint_positions.data.data(),
82
trajectory_point_msg.positions.size() * sizeof(double));
83
std::memcpy(
84
- trajectory_point_msg.velocities.data(), joint_positions.data.data(),
+ trajectory_point_msg.velocities.data(), joint_velocities.data.data(),
85
trajectory_point_msg.velocities.size() * sizeof(double));
86
87
// integrate joint velocities
0 commit comments