Skip to content

Commit

Permalink
Modift something unreasonable.
Browse files Browse the repository at this point in the history
  • Loading branch information
liyixin135 committed Jul 10, 2024
1 parent f85e140 commit abe2ccf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rm_common/include/rm_common/decision/command_sender.h
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,7 @@ class ShooterCommandSender : public TimeStampCommandSenderBase<rm_msgs::ShootCmd
nh.param("extra_wheel_speed_once", extra_wheel_speed_once_, 0.);
if (!nh.getParam("gimbal_armor_error_tolerance", gimbal_armor_error_tolerance_))
ROS_ERROR("gimbal armor error tolerance no defined (namespace: %s)", nh.getNamespace().c_str());
if (!nh.getParam("gimbal_buff_error_tolerance", gimbal_buff_error_tolerance_))
ROS_ERROR("gimbal buff error tolerance no defined (namespace: %s)", nh.getNamespace().c_str());
nh.param("gimbal_buff_error_tolerance", gimbal_buff_error_tolerance_, gimbal_armor_error_tolerance_);
if (!nh.getParam("target_acceleration_tolerance", target_acceleration_tolerance_))
{
target_acceleration_tolerance_ = 0.;
Expand Down

0 comments on commit abe2ccf

Please sign in to comment.