AP_Gripper: tidy includes of SRV_Channel.h

This commit is contained in:
Peter Barker 2023-01-25 08:39:44 +11:00 committed by Peter Barker
parent 9ae0eda879
commit 19719df433
4 changed files with 3 additions and 4 deletions

View File

@ -15,6 +15,8 @@
#include <AP_BoardConfig/AP_BoardConfig.h> #include <AP_BoardConfig/AP_BoardConfig.h>
#include <GCS_MAVLink/GCS.h> #include <GCS_MAVLink/GCS.h>
#include <AP_Logger/AP_Logger.h> #include <AP_Logger/AP_Logger.h>
#include <SRV_Channel/SRV_Channel.h>
#ifdef UAVCAN_NODE_FILE #ifdef UAVCAN_NODE_FILE
#include <fcntl.h> #include <fcntl.h>
#include <stdio.h> #include <stdio.h>

View File

@ -19,8 +19,6 @@
#include "AP_Gripper_Backend.h" #include "AP_Gripper_Backend.h"
#include <SRV_Channel/SRV_Channel.h>
#define EPM_RETURN_TO_NEUTRAL_MS 500 // EPM PWM returns to neutral position this many milliseconds after grab or release #define EPM_RETURN_TO_NEUTRAL_MS 500 // EPM PWM returns to neutral position this many milliseconds after grab or release
/// @class AP_Gripper_EPM /// @class AP_Gripper_EPM

View File

@ -4,6 +4,7 @@
#include <GCS_MAVLink/GCS.h> #include <GCS_MAVLink/GCS.h>
#include <AP_Logger/AP_Logger.h> #include <AP_Logger/AP_Logger.h>
#include <SRV_Channel/SRV_Channel.h>
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL #if CONFIG_HAL_BOARD == HAL_BOARD_SITL
#include <SITL/SITL.h> #include <SITL/SITL.h>

View File

@ -19,8 +19,6 @@
#if AP_GRIPPER_SERVO_ENABLED #if AP_GRIPPER_SERVO_ENABLED
#include <SRV_Channel/SRV_Channel.h>
#define SERVO_ACTUATION_TIME 500 // Time for servo to move to target position during grab or release in milliseconds #define SERVO_ACTUATION_TIME 500 // Time for servo to move to target position during grab or release in milliseconds
class AP_Gripper_Servo : public AP_Gripper_Backend { class AP_Gripper_Servo : public AP_Gripper_Backend {