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:
@ -389,10 +389,10 @@ static void *UserGimbal_Task(void *arg)
|
||||
|
||||
djiStat = DjiFcSubscription_SubscribeTopic(DJI_FC_SUBSCRIPTION_TOPIC_QUATERNION, DJI_DATA_SUBSCRIPTION_TOPIC_10_HZ,
|
||||
NULL);
|
||||
if (djiStat != DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
|
||||
USER_LOG_ERROR("Subscribe topic quaternion error.");
|
||||
if (djiStat == DJI_ERROR_SUBSCRIPTION_MODULE_CODE_TOPIC_DUPLICATE) {
|
||||
USER_LOG_DEBUG("Subscribe topic quaternion duplicate.");
|
||||
} else {
|
||||
USER_LOG_DEBUG("Subscribe topic quaternion success.");
|
||||
USER_LOG_ERROR("Subscribe topic quaternion error.");
|
||||
}
|
||||
|
||||
while (1) {
|
||||
|
Reference in New Issue
Block a user