Skip to content

Commit

Permalink
added frame id to odometry message
Browse files Browse the repository at this point in the history
  • Loading branch information
VincidaB committed Apr 26, 2024
1 parent 5ffa0d4 commit 7495d0e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ controller_interface::return_type OmnidirectionalController::update(
odometry_message_.pose.pose.orientation.w = orientation.w();
odometry_message_.twist.twist.linear = cmd_vel_->twist.linear;
odometry_message_.twist.twist.angular = cmd_vel_->twist.angular;
odometry_message_.header.frame_id = odom_params_.odom_frame_id;
odometry_publisher_->publish(odometry_message_);
}

Expand Down

0 comments on commit 7495d0e

Please sign in to comment.