Skip to content

Commit

Permalink
OSDK 3.4.2: Fix for version segfault. Closes #221.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit Sant committed Dec 14, 2017
1 parent 7898571 commit d7650f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
The DJI Onboard SDK allows you to connect your own Onboard Computer to a [supported](https://developer.dji.com/onboard-sdk/documentation/introduction/osdk-hardware-introduction.html#supported-products) DJI vehicle or flight controller using a serial port (TTL UART). For full documentation, please visit the [DJI Developer Site](https://developer.dji.com/onboard-sdk/documentation/). Documentation regarding the code can be found in the [OSDK API Reference](https://developer.dji.com/onboard-api-reference/index.html) section of the developer website.

## Latest Release
OSDK 3.4.1 was released on 06 Dec 2017. This is a bugfix release fixing build issues for STM32, Qt, and resolving issues #212 and #221. Additionally, MIT license verbiage has been added to the open source components of OSDK. Links to DJI EULA have been added for headers accompanying closed-source binaries.
OSDK 3.4.2 was released on 13 Dec 2017. Along with OSDK 3.4.1, this is a bugfix release fixing build issues for STM32, Qt, and resolving issues #212 and #221. Additionally, MIT license verbiage has been added to the open source components of OSDK. Links to DJI EULA have been added for headers accompanying closed-source binaries.

## Last Major Release

Expand All @@ -17,7 +17,7 @@ OSDK 3.4 was released on 22 Nov 2017. This release introduces support for Matric

| Aircraft/FC | Firmware Package Version | Flight Controller Version | OSDK Branch | Notes |
|-------------------|--------------------------|---------------------------|------------------------|-----------------------------------------------------------------------|
| **M210/M210 RTK** | **1.1.0410** | **3.2.39.12** | **OSDK 3.4 (Current)** | Requires DJI Assistant 2 version 1.1.8 |
| **M210/M210 RTK** | **1.1.0410+** | **3.2.39.12+** | **OSDK 3.4 (Current)** | Requires DJI Assistant 2 version 1.1.8 |
| | | | | |
| **M600/M600 Pro** | **1.0.1.65** | **3.2.41.9** | **OSDK 3.4 (Current)** | |
| | *1.0.1.65* | *3.2.41.9* | OSDK 3.3 | Firmware released 10/24/17 |
Expand Down
7 changes: 2 additions & 5 deletions osdk-core/api/src/dji_vehicle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -414,11 +414,8 @@ Vehicle::initVersion()
getDroneVersion();
#else
ACK::DroneVersion ack = getDroneVersion(wait_timeout);
if(ACK::getError(ack.ack))
{
ACK::getErrorCodeMessage(ack.ack, __func__);
return false;
}
// Don't call getError on this ACK, since we don't care about the
// activation state while getting version during initialization
#endif

this->platformManager->millisecSleep(2000);
Expand Down

0 comments on commit d7650f3

Please sign in to comment.