Skip to content

Commit

Permalink
tmp motion_vel_smoother header update
Browse files Browse the repository at this point in the history
  • Loading branch information
brkay54 committed Dec 28, 2023
1 parent 3ae5d0d commit 4702e8e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,8 @@ void MotionVelocitySmootherNode::initCommonParam()
void MotionVelocitySmootherNode::publishTrajectory(const TrajectoryPoints & trajectory) const
{
Trajectory publishing_trajectory = motion_utils::convertToTrajectory(trajectory);
publishing_trajectory.header = base_traj_raw_ptr_->header;
publishing_trajectory.header.frame_id = base_traj_raw_ptr_->header.frame_id;
publishing_trajectory.header.stamp = this->now();
pub_trajectory_->publish(publishing_trajectory);
}

Expand Down

0 comments on commit 4702e8e

Please sign in to comment.