This hotfix release is specifically targeted at users with A3/N3/M600 who take advantage of the movement control APIs offered by the Onboard SDK.
In A3/N3 FW 1.7.0.0 and M600 FW 1.0.0.80, when movement control is executed in VERT_POS mode, the drone inexplicably descends or ascends. This is documented on OSDK github issue #105 and OSDK-ROS github issue #69. This OSDK hotfix implements a workaround to revert the behavior back to the expected results. The issue is caused by a change in how the flight controller handles altitude requests, and the workaround attempts to leverage this new handling.
Please upgrade to this hotfix ASAP if you are an affected customer. After you upgrade to the hotfix, your old code for movement control should work without any changes.
This hotfix release is targeted at simplifying versioning for the OSDK.
versionData
struct has three new members to help with identifying the Hw/Fw/ID of your system:Member | Data Type | Range of values | Comments |
---|---|---|---|
hwVersion |
NULL-terminated char array of size 12 | "M100", "A3", "N3", "pm820v3", "pm820v3pro" | Hardware type (pm820v3 is an M600) |
swVersion |
uint32 | > 0x02030A00 | Flight control firmware version (starts from 2.3.10.0 for M100, represented here in hex, and linearly increasing as newer FW are introduced. For reference, the A3/N3 FW package 1.7.0.0 is flight control FW 3.2.15.37, represented as 0x03020F25). |
hw_serial_num |
NULL-terminated char array of size 16 | - | The unique serial number of your hardware. You can also see this number in DJI Go in the About menu. |
New getter functions getHwVersion()
, getFwVersion()
and getHwSerialNum
replace getSDKVersion()
. The setVersion()
call has been removed.
Take a look at the Linux sample to see how version checks by hardware and firmware could be used in your programs.
The 3.2.0 major release for Onboard SDK advances the state of the art in drone SDKs with advanced features first unveiled at DJI Airworks, such as LiDAR Collision Avoidance, LiDAR Mapping, and improved Precision Missions available for DJI developers as plug-and-play modules.
As always, head over to Github (or ROS github) for the latest release!
Developers are also encouraged to view the EULA for closed-source binaries provided as part of the Onboard SDK.
Note: These notes also apply to N3 Flight controllers.