diff --git a/include/rm_manual/chassis_gimbal_shooter_cover_manual.h b/include/rm_manual/chassis_gimbal_shooter_cover_manual.h index 6e5cde45..68b593d7 100644 --- a/include/rm_manual/chassis_gimbal_shooter_cover_manual.h +++ b/include/rm_manual/chassis_gimbal_shooter_cover_manual.h @@ -44,6 +44,9 @@ class ChassisGimbalShooterCoverManual : public ChassisGimbalShooterManual void aRelease() override; void sRelease() override; void dRelease() override; + void zPress() override + { + } virtual void ctrlZPress(); virtual void ctrlZRelease() diff --git a/src/chassis_gimbal_shooter_cover_manual.cpp b/src/chassis_gimbal_shooter_cover_manual.cpp index a76e8a82..33f1893e 100644 --- a/src/chassis_gimbal_shooter_cover_manual.cpp +++ b/src/chassis_gimbal_shooter_cover_manual.cpp @@ -35,6 +35,7 @@ ChassisGimbalShooterCoverManual::ChassisGimbalShooterCoverManual(ros::NodeHandle e_event_.setEdge(boost::bind(&ChassisGimbalShooterCoverManual::ePress, this), boost::bind(&ChassisGimbalShooterCoverManual::eRelease, this)); q_event_.setRising(boost::bind(&ChassisGimbalShooterCoverManual::qPress, this)); + z_event_.setRising(boost::bind(&ChassisGimbalShooterCoverManual::zPress, this)); } void ChassisGimbalShooterCoverManual::changeSpeedMode(SpeedMode speed_mode)