Skip to content

Commit

Permalink
Make a reset.
Browse files Browse the repository at this point in the history
  • Loading branch information
liyixin135 committed Jul 10, 2024
1 parent a4ba929 commit c9a66c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions include/rm_manual/chassis_gimbal_shooter_manual.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,9 @@ class ChassisGimbalShooterManual : public ChassisGimbalManual

geometry_msgs::PointStamped point_out_;

bool prepare_shoot_ = false, turn_flag_ = false, is_balance_ = false, use_scope_ = false,
bool prepare_shoot_ = false, turn_flag_ = false, is_balance_ = false, use_scope_ = false, is_auto_ = false,
adjust_image_transmission_ = false;
double yaw_current_{};
bool is_auto_ = false;
ros::Time hit_time_;
int count_{}, target_hit_by_dart{}, time_hit_by_dart{}, last_time_hit_by_dart{};
};
Expand Down
2 changes: 2 additions & 0 deletions src/chassis_gimbal_shooter_manual.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ void ChassisGimbalShooterManual::remoteControlTurnOff()
gimbal_calibration_->stop();
turn_flag_ = false;
use_scope_ = false;
is_auto_ = false;
adjust_image_transmission_ = false;
}

Expand All @@ -208,6 +209,7 @@ void ChassisGimbalShooterManual::robotDie()
shooter_cmd_sender_->setMode(rm_msgs::ShootCmd::STOP);
turn_flag_ = false;
use_scope_ = false;
is_auto_ = false;
adjust_image_transmission_ = false;
}

Expand Down

0 comments on commit c9a66c6

Please sign in to comment.