Skip to content

Commit

Permalink
One more change to use command_joint_names instead of joint_names.
Browse files Browse the repository at this point in the history
  • Loading branch information
destogl authored Aug 11, 2022
1 parent d5fa3eb commit d3d8c53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ void JointTrajectoryController::sort_to_local_joint_order(
std::shared_ptr<trajectory_msgs::msg::JointTrajectory> trajectory_msg)
{
// rearrange all points in the trajectory message based on mapping
std::vector<size_t> mapping_vector = mapping(trajectory_msg->joint_names, joint_names_);
std::vector<size_t> mapping_vector = mapping(trajectory_msg->joint_names, command_joint_names_);
auto remap = [this](
const std::vector<double> & to_remap,
const std::vector<size_t> & mapping) -> std::vector<double>
Expand Down

0 comments on commit d3d8c53

Please sign in to comment.