FIX: fixed the following issues

1.Optimized the flight controller forced landing sample.
2.Fixed the exception log of duplicate subscription data on M300 RTK
payload port.
3.Fixed data subscription gimbal angle data definition error on M300 RTK
4.Fixed an issue where occasionally getting the camera aperture
parameter is zero.

Signed-off-by: DJI-Martin <DJI-Martin@dji.com>
This commit is contained in:
DJI-Martin
2023-03-08 20:00:02 +08:00
parent 23c461830a
commit 2eae721530
20 changed files with 47 additions and 38 deletions

View File

@ -1153,18 +1153,16 @@ typedef struct HomeLocationData {
} T_DjiFcSubscriptionHomePointInfo; // pack(1)
typedef struct GimbalSingleData {
dji_f32_t pitch;
dji_f32_t roll;
dji_f32_t pitch;
dji_f32_t yaw;
uint32_t status;
uint8_t mode;
} GimbalSingleData;
} GimbalAnglesData;
/**
* @brief Struct for the topic DJI_FC_SUBSCRIPTION_TOPIC_THREE_GIMBAL_DATA. Used in M300
*/
typedef struct GimbalThreeData {
GimbalSingleData gbData[3];
GimbalAnglesData anglesData[3];
} T_DjiFcSubscriptionThreeGimbalData;
#pragma pack()

View File

@ -37,7 +37,7 @@ extern "C" {
#define DJI_VERSION_MINOR 3 /*!< DJI SDK minor version num, when add functionality in a backwards compatible manner changes. Range from 0 to 99. */
#define DJI_VERSION_MODIFY 0 /*!< DJI SDK modify version num, when have backwards compatible bug fixes changes. Range from 0 to 99. */
#define DJI_VERSION_BETA 0 /*!< DJI SDK version beta info, release version will be 0, when beta version release changes. Range from 0 to 255. */
#define DJI_VERSION_BUILD 1695 /*!< DJI SDK version build info, when jenkins trigger build changes. Range from 0 to 65535. */
#define DJI_VERSION_BUILD 1697 /*!< DJI SDK version build info, when jenkins trigger build changes. Range from 0 to 65535. */
/* Exported types ------------------------------------------------------------*/