Skip to content

Commit

Permalink
Delete something unused.
Browse files Browse the repository at this point in the history
  • Loading branch information
liyixin135 committed Aug 4, 2024
1 parent f726e5d commit bd59fb9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
3 changes: 0 additions & 3 deletions include/rm_manual/chassis_gimbal_shooter_cover_manual.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ class ChassisGimbalShooterCoverManual : public ChassisGimbalShooterManual
void ctrlRRelease() override;
void wPress() override;
void wPressing() override;
void aPressing() override;
void sPressing() override;
void dPressing() override;

virtual void ctrlZPress();
virtual void ctrlZRelease()
Expand Down
23 changes: 0 additions & 23 deletions src/chassis_gimbal_shooter_cover_manual.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,32 +202,9 @@ void ChassisGimbalShooterCoverManual::wPressing()
switch_detection_srv_->callService();
switch_buff_type_srv_->callService();
switch_exposure_srv_->callService();
if (switch_buff_srv_->getTarget() == rm_msgs::StatusChangeRequest::ARMOR && is_gyro_)
changeGyroSpeedMode(NORMAL);
}
}

void ChassisGimbalShooterCoverManual::aPressing()
{
ChassisGimbalShooterManual::aPressing();
if (switch_buff_srv_->getTarget() == rm_msgs::StatusChangeRequest::ARMOR && is_gyro_)
changeGyroSpeedMode(NORMAL);
}

void ChassisGimbalShooterCoverManual::sPressing()
{
ChassisGimbalShooterManual::sPressing();
if (switch_buff_srv_->getTarget() == rm_msgs::StatusChangeRequest::ARMOR && is_gyro_)
changeGyroSpeedMode(NORMAL);
}

void ChassisGimbalShooterCoverManual::dPressing()
{
ChassisGimbalShooterManual::dPressing();
if (switch_buff_srv_->getTarget() == rm_msgs::StatusChangeRequest::ARMOR && is_gyro_)
changeGyroSpeedMode(NORMAL);
}

void ChassisGimbalShooterCoverManual::ctrlZPress()
{
if (!cover_command_sender_->getState())
Expand Down

0 comments on commit bd59fb9

Please sign in to comment.