mirror of https://github.com/ArduPilot/ardupilot
AP_Gripper: tidy includes of SRV_Channel.h
This commit is contained in:
parent
9ae0eda879
commit
19719df433
|
@ -15,6 +15,8 @@
|
|||
#include <AP_BoardConfig/AP_BoardConfig.h>
|
||||
#include <GCS_MAVLink/GCS.h>
|
||||
#include <AP_Logger/AP_Logger.h>
|
||||
#include <SRV_Channel/SRV_Channel.h>
|
||||
|
||||
#ifdef UAVCAN_NODE_FILE
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
|
||||
#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
|
||||
|
||||
/// @class AP_Gripper_EPM
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include <GCS_MAVLink/GCS.h>
|
||||
#include <AP_Logger/AP_Logger.h>
|
||||
#include <SRV_Channel/SRV_Channel.h>
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||
#include <SITL/SITL.h>
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
|
||||
#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
|
||||
|
||||
class AP_Gripper_Servo : public AP_Gripper_Backend {
|
||||
|
|
Loading…
Reference in New Issue