From 4513b83190092fe1d1f6232e27f650cffae48cc4 Mon Sep 17 00:00:00 2001 From: liyixin135 <421159734@qq.com> Date: Sun, 4 Aug 2024 23:11:10 +0800 Subject: [PATCH] Delete unused. --- src/chassis_gimbal_shooter_cover_manual.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/chassis_gimbal_shooter_cover_manual.cpp b/src/chassis_gimbal_shooter_cover_manual.cpp index 212f25ba..73a92802 100644 --- a/src/chassis_gimbal_shooter_cover_manual.cpp +++ b/src/chassis_gimbal_shooter_cover_manual.cpp @@ -192,8 +192,6 @@ void ChassisGimbalShooterCoverManual::zPress() { last_shoot_freq_ = shooter_cmd_sender_->getShootFrequency(); shooter_cmd_sender_->setShootFrequency(rm_common::HeatLimit::MINIMAL); - if (switch_buff_srv_->getTarget() != rm_msgs::StatusChangeRequest::ARMOR) - vel_cmd_sender_->setAngularZVel(is_gyro_ ? gyro_rotate_reduction_ : 0, gyro_speed_limit_); } void ChassisGimbalShooterCoverManual::zRelease()