You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ReadMe.md
+57-28Lines changed: 57 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,47 +1,68 @@
1
-
# DJI Onboard SDK ROS 4.0.1
1
+
# DJI Onboard SDK ROS 4.1.0
2
2
3
3
## Latest Update
4
4
5
-
OSDK-ROS 4.0.1 was released on 24 August 2020.You need to read newest update below to get update information. Please see the [release notes](https://developer.dji.com/onboard-sdk/downloads/) and [ROS sample setup](https://developer.dji.com/cn/onboard-sdk/documentation/development-workflow/environment-setup.html#linux-with-ros) for more information.And We will update [ROS Wiki](http://wiki.ros.org/dji_sdk/) later.
5
+
OSDK-ROS 4.1.0 was released on 20 January 2021.You need to read newest update below to get update information. Please see the [release notes](https://developer.dji.com/onboard-sdk/downloads/) and [ROS sample setup](https://developer.dji.com/cn/onboard-sdk/documentation/development-workflow/environment-setup.html#linux-with-ros) for more information.And We will update [ROS Wiki](http://wiki.ros.org/dji_sdk/) later.
6
6
7
7
### 1. feature
8
-
This 4.0.1 version releases a feature package: dji_osdk_ros. The package contains two different framework's interface. OSDK-ROS-obsoleted kept ros3.8.1's interface.
8
+
This 4.1.0 version releases a feature package: dji_osdk_ros. The package contains two different framework's interface. OSDK-ROS-obsoleted kept ros3.8.1's interface.
9
9
(__note:We will cancel support for the OSDK-ROS-obsoleted's interface in the next version.__)
(__note: If you roslaunch dji_vehicle_node.launch to get m300_stereo_param.yaml, the yaml file will be prouduced in .ros folder(/home/${user}/.ros).And you need to copy it to the directory which you need to rosrun.__)
27
-
7. we also kept all services and topics of osdk-ros 3.8.1. If you want to use these interfaces,you need to run dji_sdk_node and use it's services and topics.
15
+
This update mainly includes:
16
+
1. Battery information interface and sample;
17
+
2. hms interface and sample;
18
+
3. update flight-control interface and sample:
19
+
include:
20
+
>set_joystick_mode
21
+
>joystick_action
22
+
>get/set_go_home_altitude
23
+
>set_home_point
24
+
>rename 'set_current_point_as_home' to 'set_current_aircraft_point_as_home'
25
+
>rename 'enable_avoid' to 'set_horizon_avoid_enable'
26
+
>rename 'enable_upwards_avoid' to 'set_upwards_avoid_enable'
27
+
>get_acoid_enable_status
28
+
>kill_switch
29
+
>emergency_brake
30
+
>update flight_task_control,include:
31
+
a.add velocity and yaw rate control action
32
+
b.add turn on/off motor action
33
+
c.add force landing and confirm landing action
34
+
d.add cancel landing and cancel go home action
35
+
36
+
4. fixed telemetry_node problem:displayMode and rcConnection is zero.
37
+
38
+
5. we also kept all services and topics of osdk-ros 3.8.1. If you want to use these interfaces,you need to run dji_sdk_node and use it's services and topics.
28
39
(__note: These interfaces are not fully compatible with onboard-sdk4.0.1.And they will not be supported in next osdk-ros version.__)
OSDK-ROS 4.0.1's firmware compatibility depends on onboard-sdk 4.0.1's. you can get more information [here](https://developer.dji.com/cn/document/0c2b2d75-d019-480c-9241-8c8e7209692d);
150
+
OSDK-ROS 4.1.0's firmware compatibility depends on onboard-sdk 4.1.0's. you can get more information [here](https://developer.dji.com/cn/document/0c2b2d75-d019-480c-9241-8c8e7209692d);
124
151
#### Ros
125
152
you need to install ros first.Install instruction can be found at: http://wiki.ros.org/ROS/Installation. We just tested ROS kinetic version.
126
153
#### C++11 Compiler
127
154
We compile with C + + 11 Standard.
128
155
#### onboard-sdk
129
-
you need to download onboard-sdk4.0.1,and install it.
156
+
you need to download onboard-sdk4.1.0,and install it.
130
157
>$mkdir build
131
158
>$cd build
132
159
>$cmake ..
@@ -140,6 +167,8 @@ __note:we only test on kinetic,but it should be support on other version.__
140
167
> $sudo apt install ffmpeg
141
168
#### libusb-1.0-0-dev
142
169
> $sudo apt install libusb-1.0-0-dev
170
+
#### libsdl2-dev
171
+
> $sudo apt install libsdl2-dev
143
172
#### opencv3.x
144
173
We use OpenCV to show images from camera stream. Download and install instructions can be found at: http://opencv.org. Tested with OpenCV 3.3.0.Suggest using 3.3.0+.
145
174
#### stereo-vision function
@@ -158,7 +187,7 @@ You will need to add an udev file to allow your system to obtain permission and
0 commit comments