Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
maksymdidukh committed Aug 23, 2024
1 parent 4734252 commit 9004761
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions tricycle_controller/src/tricycle_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,18 +194,8 @@ controller_interface::return_type TricycleController::update(
if (realtime_twist_publisher_->trylock())
{
auto & twist_message = realtime_twist_publisher_->msg_;
twist_message.header.stamp = time;
// if (!odom_params_.odom_only_twist)
// {
// odometry_message.pose.pose.position.x = odometry_.getX();
// odometry_message.pose.pose.position.y = odometry_.getY();
// odometry_message.pose.pose.orientation.x = orientation.x();
// odometry_message.pose.pose.orientation.y = orientation.y();
// odometry_message.pose.pose.orientation.z = orientation.z();
// odometry_message.pose.pose.orientation.w = orientation.w();
// }
twist_message.twist.twist.linear.x = odometry_.getLinear();
twist_message.twist.twist.angular.z = odometry_.getAngular();
twist_message.linear.x = odometry_.getLinear();
twist_message.angular.z = odometry_.getAngular();
realtime_twist_publisher_->unlockAndPublish();
}

Expand Down

0 comments on commit 9004761

Please sign in to comment.