Onboard-SDK-ROS | Official ROS packages for DJI onboard SDK | Robotics library
kandi X-RAY | Onboard-SDK-ROS Summary
kandi X-RAY | Onboard-SDK-ROS Summary
Official ROS packages for DJI onboard SDK.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Onboard-SDK-ROS
Onboard-SDK-ROS Key Features
Onboard-SDK-ROS Examples and Code Snippets
Community Discussions
Trending Discussions on Onboard-SDK-ROS
QUESTION
I'm trying to activate my work space to control DJI M210 RTK V2, i get two errors, the first error is when i use (catkin_make) and I've attached the codes that i get, and the second error is when i launch the package (roslaunch dji_sdk sdk.launch) and also its in the attachment as you see.
...ANSWER
Answered 2019-Oct-08 at 12:09you need to install the nmea_msgs package. Just run the command: sudo apt-get install ros-kinetic-nmea-msgs
QUESTION
I`m facing issue that with OSDK-ROS 3.7 and 3.8, I could not run demo_flight_control sample correctly
After api auto taking off in the simulator, the drone just stuck there. And there is command being published to the flight_control ENU topic.
The GPS based demo_mission has no issue. It can auto fly to the coordinate.
The hardware and firmware version I`m using is
STATUS/1 @ parseDroneVersionInfo, L729: Hardware = A3
STATUS/1 @ parseDroneVersionInfo, L730: Firmware = 3.3.8.47
The minimal sample for reproducing the issue is from here
https://github.com/dji-sdk/Onboard-SDK-ROS/tree/3.8/dji_sdk_demo/src
The flight_control issue is the same for OSDK (option b) and OSDK-ROS (default)
For Previous 3.3 3.5 3.6 I never encounter this before. I`ve send report to dev@dji.com. No response yet
...ANSWER
Answered 2019-Jun-21 at 05:09I solve the problem by myself
On https://github.com/dji-sdk/Onboard-SDK-ROS/tree/3.7 and 3.8 reqires at least 1.7.6
But I can't find it 1.7.6 in the DJI assistant 2 firmware only 1.7.7 and 1.7.5. So I decided to use 1.7.7
But 1.7.7 does only work for GPS waypoint mission and does not support setpoint_generic based control
So the solution is to use 1.7.5 to get both GPS based mission and ros topic based velocity control working.
Below this version, the version control in the DJI system is hell with randomly labeled version. So you have to keep trial and error to get things up
Below is DJI Email response. Pretty useless but will provide some cue for others to debug the similar issueBruce Cheung (DJI)
Dear Shenghai,
Thank you for contacting DJI.
We cannot reproduce the problem you mentioned by using A3 with OSDK3.7 and 3.8
Can you try to take control authority directly? using /dji_sdk/sdk_control_authority
Also try publishing the /dji_sdk/flight_control_setpoint_ENUposition_yaw control command, do not use the sample.
Thank you for your understanding and support, hope you a delighted life.
Best Regards, DJI SDK Support Team
Hi Bruce
I tried what you mentioned., use
QUESTION
I built along this page.
https://developer.dji.com/onboard-sdk/documentation/sample-doc/sample-setup.html#linux-oes
But, the following error occurred. Do you know the solution?
Errors << dji_sdk:make /home/robotics/catkin_ws/logs/dji_sdk/build.make.001.log /home/robotics/catkin_ws/src/Onboard-SDK-ROS/dji_sdk/src/modules/dji_sdk_node_mission_services.cpp: In member function ‘bool DJISDKNode::missionStatusCallback(dji_sdk::MissionStatus::Request&, dji_sdk::MissionStatus::Response&)’: /home/robotics/catkin_ws/src/Onboard-SDK-ROS/dji_sdk/src/modules/dji_sdk_node_mission_services.cpp:20:62: error: ‘class DJI::OSDK::MissionManager’ has no member named ‘wayptCounter’ response.waypoint_mission_count = vehicle->missionManager->wayptCounter; ^ /home/robotics/catkin_ws/src/Onboard-SDK-ROS/dji_sdk/src/modules/dji_sdk_node_mission_services.cpp:21:62: error: ‘class DJI::OSDK::MissionManager’ has no member named ‘hotptCounter’ response.hotpoint_mission_count = vehicle->missionManager->hotptCounter; ^ /home/robotics/catkin_ws/src/Onboard-SDK-ROS/dji_sdk/src/modules/dji_sdk_node_mission_services.cpp: In member function ‘bool DJISDKNode::missionWpActionCallback(dji_sdk::MissionWpAction::Request&, dji_sdk::MissionWpAction::Response&)’: /home/robotics/catkin_ws/src/Onboard-SDK-ROS/dji_sdk/src/modules/dji_sdk_node_mission_services.cpp:131:32: error: ‘class DJI::OSDK::MissionManager’ has no member named ‘wayptCounter’ if (vehicle->missionManager->wayptCounter == 0)enter image description here
...ANSWER
Answered 2019-Apr-12 at 11:00It seems Onboard-SDK-ROS 3.7 (latest commit months ago) does not build on top of Onboard-SDK 3.8 (latest commit 9 days ago) which removed wayptCounter and hotptCounter.
Best solution: DJI release Onboard-SDK-ROS with support for the new features of Onboard-SDK 3.8.
Immediate solution: Downgrade Onboard-SDK to 3.7 so that Onboard-SDK-ROS 3.7 is supported. The DJI instructions you followed are broken until DJI release Onboard-SDK-ROS 3.8 (or DJI change their Onboard-SDK-ROS instructions to download the older Onboard-SDK 3.7).
Last year Onboard-SDK 3.7 and Onboard-SDK-ROS 3.7 were released on the same day so this problem didn't happen, it is disappointing that they are now out of sync, breaking builds like yours.
I also notice that the Onboard-SDK 3.8 README.md from 2019-04-03 links to the latest release notes, which starts with "Release Notes for Onboard SDK 3.6 2018-08-14 3.7 OSDK 3.7 Highlights".
I hope that someone at DJI is about to update the Onboard-SDK release notes to 3.8 and push commits to release Onboard-SDK-ROS 3.8.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Onboard-SDK-ROS
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page