-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
612 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
# DJI Onboard SDK ROS 3.3.1 | ||
# DJI Onboard SDK ROS 3.3 | ||
|
||
**Version 3.3.1 was developed to support N3/A3 FW 1.7.5 and above, and is backword compatible with M100 FW 1.3.1.** | ||
## Latest Update | ||
|
||
The latest update on Sep 8 2017 brought back the local position topic in Cartesian frame (ENU) and addressed several issues reported on github. The `dji_sdk/SetLocalPosRef` service and the `dji_sdk/local_position` topic were added. | ||
|
||
## Quick Start Guide | ||
|
||
|
@@ -10,47 +12,50 @@ The ROS package is a full rewrite of DJI Onboard SDK ROS, with changes in APIs, | |
|
||
ROS Wiki can be found [here](http://wiki.ros.org/dji_sdk). Please be sure to read the [release notes](https://developer.dji.com/onboard-sdk/documentation/appendix/releaseNotes.html). | ||
|
||
DJI Onboard SDK ROS 3.3 was developed to support N3/A3 FW 1.7.5 and above, and is backword compatible with M100 FW 1.3.1. | ||
|
||
## Firmware Compatibility | ||
|
||
| Aircraft/FC | Firmware Package Version | Flight Controller Version | OSDK Version Support | | ||
| Aircraft/FC | Firmware Package Version | Flight Controller Version | OSDK-ROS Branch | | ||
|--------------- |--------------------------|----------------------------|---------------------- | | ||
| **A3/A3 Pro** | **1.7.1.5** | **3.2.36.8** | **OSDK 3.3.1 (Current)** | | ||
| | 1.7.0.5 | 3.2.15.50 | OSDK 3.2 | | ||
| | 1.7.0.0 | 3.2.15.37 | OSDK 3.2 | | ||
| **A3/A3 Pro** | **1.7.1.5** | **3.2.36.8** | **OSDK-ROS 3.3 (Current)** | | ||
| | 1.7.0.5 | 3.2.15.50 | OSDK-ROS 3.2 | | ||
| | 1.7.0.0 | 3.2.15.37 | OSDK-ROS 3.2 | | ||
| | | | | | ||
| **N3** | **1.7.1.5** | **3.2.36.8** | **OSDK 3.3.1 (Current)** | | ||
| | 1.7.0.0 | 3.2.15.37 | OSDK 3.2 | | ||
| **N3** | **1.7.1.5** | **3.2.36.8** | **OSDK-ROS 3.3 (Current)** | | ||
| | 1.7.0.0 | 3.2.15.37 | OSDK-ROS 3.2 | | ||
| | | | | | ||
| **M600/M600 Pro** | Coming soon! | Coming soon! | **OSDK 3.3.1 (Current)** | | ||
| | 1.0.1.20 | 3.2.15.62 | OSDK 3.2 | | ||
| | 1.0.0.80 | 3.2.15.00 | OSDK 3.2 | | ||
| **M600/M600 Pro** | 1.0.1.60 | 3.2.41.5 | **OSDK-ROS 3.3 (Current)** | | ||
| | 1.0.1.20 | 3.2.15.62 | OSDK-ROS 3.2 | | ||
| | 1.0.0.80 | 3.2.15.00 | OSDK-ROS 3.2 | | ||
| | | | | | ||
| **M100** | 1.3.1.0 | 3.1.10.0 | **OSDK 3.3.1 (Current),** | | ||
| | | | and OSDK 3.2 | | ||
| **M100** | 1.3.1.0 | 3.1.10.0 | **OSDK-ROS 3.3 (Current),** | | ||
| | | | and OSDK-ROS 3.2 | | ||
|
||
## Notes on differences between M100 and A3/N3 setup | ||
|
||
Backward compatibility for M100 was brought in version 3.3.1. However, due to the limitations of the flight controller of M100, some new features such as hardware sync, MFIO, on demand telemetry data (subscription) are only supported by A3/N3, and some settings for M100 are different from those for A3/N3. | ||
Onboard SDK ROS is backward compatible with M100. However, due to the limitations of the flight controller of M100, some new features such as hardware sync, MFIO, on demand telemetry data (subscription) are only supported by A3/N3, and some settings for M100 are different from those for A3/N3. | ||
|
||
1. The DJI Assistant 2 for M100 and for A3/N3 are slighly different. Please download DJI Assistant 2 from the corresponding product webpage. | ||
1. The DJI Assistant 2 for M100 and for A3/N3 are slighly **different**. Please download DJI Assistant 2 from the corresponding product webpage. | ||
|
||
2. The DJI SDK ROS package requires different baud rate for M100 and A3/N3. For M100, set the baud rate to 230400 in DJI Assistant 2's "SDK" tab, and the sdk.launch file; while for A3/N3, use 921600. | ||
2. The DJI SDK ROS package requires **different baud rate** for M100 and A3/N3. For M100, set the baud rate to 230400 in DJI Assistant 2's "SDK" tab, and the sdk.launch file; while for A3/N3, use 921600. | ||
|
||
3. For M100, on the right side of the "SDK setting" tab of DJI Assistant 2, set the Data Type of ACC and GYRO to "Raw Data", and ALTI to "Data Fusion". The reason is that the raw data of acc and gyro are part of the /dji_sdk/imu message. | ||
3. For M100, on the right side of the "SDK setting" tab of DJI Assistant 2, set the Data Type of ACC and GYRO to "Raw Data", and ALTI to "Data Fusion". The reason is that the raw data of acc and gyro are part of the `/dji_sdk/imu` message. | ||
|
||
4. The flight_status enums for M100 and A3/N3 are different. See dji\_sdk.h for details and demo_flight_control for examples. | ||
4. The `flight_status` enums for M100 and A3/N3 are different. See `dji_sdk.h` for details and `demo_flight_control` for examples. | ||
|
||
5. Some topics are only available on A3/N3: display_mode, angular_velocity_fused, acceleration_ground_fused, trigger_time. | ||
5. Some topics are only available on A3/N3: `display_mode`, `angular_velocity_fused`, `acceleration_ground_fused`, `trigger_time`. | ||
|
||
6. The imu topic is published at 400Hz on A3/N3, and at 100Hz on M100. | ||
|
||
7. Some services are only available on A3/N3: mfio_config, mfio_set_value, set_hardsyc | ||
7. Some services are only available on A3/N3: `mfio_config`, `mfio_set_value`, `set_hardsyc` | ||
|
||
## Support | ||
|
||
You can get support from DJI and the community with the following methods: | ||
|
||
- Github Issues or [gitter.im](https://gitter.im/dji-sdk/Onboard-SDK) | ||
- Report issue on github | ||
- Email to [email protected] | ||
- [**DJI Forum**](http://forum.dev.dji.com/en) | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
float64 latitude | ||
float64 longitude | ||
float64 altitude | ||
float64 radius | ||
float32 angular_speed | ||
float64 latitude # degree | ||
float64 longitude # degree | ||
float64 altitude # meter | ||
float64 radius # meter | ||
float32 angular_speed #deg/s | ||
uint8 is_clockwise | ||
uint8 start_point | ||
uint8 yaw_mode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# first 4 bit: Total number of actions | ||
# last 4 bit: Total running times | ||
# action_repeat | ||
# lower 4 bit: Total number of actions | ||
# hight 4 bit: Total running times | ||
uint8 action_repeat | ||
uint8[16] command_list | ||
int16[16] command_parameter | ||
uint16[16] command_parameter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.