Skip to content

Commit

Permalink
fix:fix comment and useless string
Browse files Browse the repository at this point in the history
Fix comment for api document building.
Remove the meanless string in the code.
  • Loading branch information
DJI-Jerry committed Jan 19, 2021
1 parent 662f27d commit a78f7db
Show file tree
Hide file tree
Showing 5 changed files with 104 additions and 52 deletions.
2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = "DJI Onboard SDK"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 4.0.1
PROJECT_NUMBER = 4.1.0

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
13 changes: 13 additions & 0 deletions osdk-core/api/inc/dji_telemetry.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -335,12 +335,19 @@ typedef struct PositionData
float32_t HFSL; /*!< height above mean sea level (m) */
} PositionData; // pack(1)


/*!
* @brief struct for TOPIC_HOME_POINT_INFO
*/
typedef struct HomeLocationData
{
float64_t latitude; /*!< unit: rad */
float64_t longitude; /*!< unit: rad */
}HomeLocationData; // pack(1)

/*!
* @brief struct for TOPIC_HOME_POINT_SET_STATUS
*/
typedef struct HomeLocationSetStatus
{
uint8_t status; /*!<0:fail, 1:success*/
Expand Down Expand Up @@ -693,11 +700,17 @@ typedef struct GimbalSingleData
#define SDK_M210_GIMBAL_MAX_NUM 2
#define SDK_M300_GIMBAL_MAX_NUM 3

/*!
* @brief struct for TOPIC_DUAL_GIMBAL_DATA
*/
typedef struct GimbalDualData
{
GimbalSingleData gbData[SDK_M210_GIMBAL_MAX_NUM];
} GimbalDualData;

/*!
* @brief struct for TOPIC_THREE_GIMBAL_DATA
*/
typedef struct GimbalThreeData
{
GimbalSingleData gbData[SDK_M300_GIMBAL_MAX_NUM];
Expand Down
Loading

0 comments on commit a78f7db

Please sign in to comment.