Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Yadunund <[email protected]>
  • Loading branch information
Yadunund committed Sep 14, 2022
1 parent 66bda17 commit 32cde1e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions gazebo_plugins/src/gazebo_ros_ackermann_drive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,10 +321,8 @@ void GazeboRosAckermannDrive::Load(gazebo::physics::ModelPtr _model, sdf::Elemen
"linear_velocity_i_range", ignition::math::Vector2d::Zero).first;
impl_->pid_linear_vel_.Init(pid.X(), pid.Y(), pid.Z(), i_range.Y(), i_range.X());

// Get the wheel radius
// Get the kinematic parameters
impl_->wheel_radius_ = _sdf->Get<double>("wheel_radius", 0.3).first;

// Get the wheel separation
impl_->wheel_separation_ = _sdf->Get<double>("track_width", 1.2).first;
impl_->wheel_base_ = _sdf->Get<double>("wheel_base", 2.0).first;

Expand Down

0 comments on commit 32cde1e

Please sign in to comment.