|
|
|
@ -3,14 +3,19 @@
@@ -3,14 +3,19 @@
|
|
|
|
|
*/ |
|
|
|
|
#pragma once |
|
|
|
|
|
|
|
|
|
#include "AP_Mount_Backend.h" |
|
|
|
|
|
|
|
|
|
#ifndef HAL_MOUNT_STORM32SERIAL_ENABLED |
|
|
|
|
#define HAL_MOUNT_STORM32SERIAL_ENABLED HAL_MOUNT_ENABLED |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#if HAL_MOUNT_STORM32SERIAL_ENABLED |
|
|
|
|
|
|
|
|
|
#include <AP_HAL/AP_HAL.h> |
|
|
|
|
#include <AP_AHRS/AP_AHRS.h> |
|
|
|
|
|
|
|
|
|
#include <AP_Math/AP_Math.h> |
|
|
|
|
#include <AP_Common/AP_Common.h> |
|
|
|
|
#include <GCS_MAVLink/GCS_MAVLink.h> |
|
|
|
|
#include "AP_Mount_Backend.h" |
|
|
|
|
#if HAL_MOUNT_ENABLED |
|
|
|
|
|
|
|
|
|
#define AP_MOUNT_STORM32_SERIAL_RESEND_MS 1000 // resend angle targets to gimbal once per second
|
|
|
|
|
|
|
|
|
@ -148,4 +153,4 @@ private:
@@ -148,4 +153,4 @@ private:
|
|
|
|
|
// keep the last _current_angle values
|
|
|
|
|
Vector3l _current_angle; |
|
|
|
|
}; |
|
|
|
|
#endif // HAL_MOUNT_ENABLED
|
|
|
|
|
#endif // HAL_MOUNT_STORM32SERIAL_ENABLED
|
|
|
|
|