-
Notifications
You must be signed in to change notification settings - Fork 3
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
166 changed files
with
378 additions
and
41,370 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
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,19 +1,26 @@ | ||
##DJI Onboard SDK ROS Package for Video Decoding on Manifold | ||
|
||
This package is a specified video decoding package for Manifold. | ||
This video-decoding package is a specifically desiged package for Manifold to read the X3 video stream. | ||
|
||
###How to use | ||
1. Install the necessary library: it should be already there, try to run the project in the `demo` folder of your Manifold home directory. If not, please run the `install_lib.sh` | ||
1. Install the necessary library: refer [here](https://github.com/dji-sdk/manifold_cam) | ||
2. Delete the `CATKIN_IGNORE` file inside package and `catkin_make`. | ||
3. `rosrun dji_sdk_manifold_read_cam dji_sdk_manifold_read_cam` | ||
3. `sudo -s` first, then `rosrun dji_sdk_read_cam dji_sdk_read_cam` | ||
4. The image will be published into topic `/dji_sdk/image_raw` | ||
|
||
|
||
###Note: | ||
1. This package is specially designed for Manifold. | ||
2. The RC controller must be connected to Matrice 100 in order to get the video stream. | ||
3. The DJI Go has a power-saving strategy, users should either enter the camera view or do not run DJI GO at first in order to get the video stream. The video will be freezed if uses stay in the main screen of DJI GO. | ||
3. This package does not provice video transparent transmission. You cannot see the video on DJI Go while running this package. | ||
4. This package uses FFMPENG for video decoding. while the _nv one uses hardware decoding method. | ||
5. The image format is RGB, while the _nv one publishes Grayscale image. | ||
|
||
![image](../dji_sdk_doc/readcam_nv.png) | ||
|
||
The default video stream is in RGB format. | ||
![image](../dji_sdk_doc/readcam_nv.png) | ||
|
||
Comment the `#define RGB` in `nv_cam.cpp` if you prefer the grayscale. | ||
![image](../dji_sdk_doc/readcam.png) | ||
|
||
|
||
Note: frame size is 640x480, no matter RGB or Grayscale |
Oops, something went wrong.