by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 07 10:05
    dji-dev commented #592
  • Aug 07 07:15
    addriumruss commented #592
  • Aug 07 07:11
    dji-dev commented #592
  • Aug 06 08:01
    peza8 commented #570
  • Aug 06 08:01
    addriumruss opened #592
  • Aug 06 07:12
    dji-dev commented #591
  • Aug 05 17:22
    zongoalbert opened #591
  • Aug 05 12:43
    matspetter commented #586
  • Aug 05 12:27
    matspetter commented #586
  • Aug 05 09:58
    DJI-Jerry commented #590
  • Aug 05 09:07
    DJI-Jerry opened #590
  • Aug 05 08:22
    dji-dev commented #586
  • Aug 04 08:02
    dji-dev commented #509
  • Aug 04 07:18
    dji-dev commented #589
  • Aug 03 13:31
    dji-dev commented #588
  • Aug 03 10:12
    DimaNyumovich opened #589
  • Aug 03 07:35
    matspetter opened #588
  • Aug 03 07:00
    dji-dev commented #587
  • Aug 02 09:31
    10857117 opened #587
  • Jul 31 13:00
    matspetter commented #586
loiopol
@loiopol
@pavankumarbn the last compatible SDK for matrice 100 was (if I remember well) the 3.4
Ivica Suran
@isuran
nope, we are working with 3.6
this could be port issue
peccadillo
@peccadillo
I have experienced a rare problem with the Telemetry update rate.
While I set the update rate to 50Hz (GPS location) from the onboard package, it returns the same value over a span of 1-2s before updating a new one. On DJI Assistant I have set the update rate to 50Hz as well. Has anyone encountered this problem before? The M210 firmware that I'm using is 1.09 and Onboard SDK 3.6.
Alexis Paques
@AlexisTM
@loiopol https://github.com/dji-sdk/Onboard-SDK It says 3.4 for the M100 :/
rakshith95
@rakshith95
@rakshith95
Hello, I'm trying to use the Onboard SDK for the Matrice 210 RTK. I'm having a problem with understanding what the App ID and Key is. The link given to register, and generate an app id,key: https://developer.dji.com/register/ does not seem to be working
How can I generate this?
Mark Browning
@mabrowning

I'm having a bad time with the Subscription API. I keep getting:

STATUS/1 @ getErrorCodeMessage, L656: removePackage
STATUS/1 @ getCMDSetSubscribeMSG, L739: SUBSCRIBER_VERSION_DOES_NOT_MATCH

And

STATUS/1 @ startPackage, L350: Start package 0 result: 2.
STATUS/1 @ startPackage, L352: Package 0 info: freq=50, nTopics=1.

STATUS/1 @ getErrorCodeMessage, L656: startPackage
STATUS/1 @ getCMDSetSubscribeMSG, L739: SUBSCRIBER_VERSION_DOES_NOT_MATCH
Mark Browning
@mabrowning
Which corresponds to SubscribeAck::VERSION_DOES_NOT_MATCH (0x02)
And the "OPEN" protocol document hasn't been updated since the M100...
Mark Browning
@mabrowning
But I'm on the latest firmware:
STATUS/1 @ parseDroneVersionInfo, L719: Hardware = PM410
STATUS/1 @ parseDroneVersionInfo, L720: Firmware = 3.3.10.4
Mark Browning
@mabrowning
However... the DJI sample app does work :(
Err... ok. After running the DJI sample telemetry application, now my subscriptions are going through fine...
Mark Browning
@mabrowning
Apparently, one needs to call subscription->verify()
Mark Browning
@mabrowning
And the DJI SDK does call that... but only during the gimbal initialization... and prior to SDK 3.4, this was done in a different order...
Nabarun Goswami
@naba89
Hi, I am wondering is the newly introduced TOPIC_ESC_DATA telemetry is supported on the Matrice 100 platform?
Nabarun Goswami
@naba89
If not, can the Flight Controller on the Matrice 100 be replaced with a supported one like N3 or A3?
Mark Browning
@mabrowning
The M100 doesn't support any subscription topics, only the broadcast data
Nabarun Goswami
@naba89
I see. OK. Thanks for the info.
natellu
@nateIIu_twitter
hello, im creating a waypoint mission with the gs pro app. In the settings for lost RC Signal i only have the options land, hover, return to home. Can i change the settings of a Mission that i uploaded with the gs pro over the onboard sdk? Because if i create a mission there i can set the RCLost Action to just continue the mission.
Trishant Roy
@trishantroy
Hey... I am trying to make a autonomous quadcopter using N3 as flight controller. But I am unable to understand how to control (channel values or position) using the SDK in ROS. Do we have to publish the position/channel data to some ROS topic to achieve that?
peterlu2017
@peterlu2017
hey,How can i use Onboard-SDK for M600 pro?
I have download the SDK,but not know how to use it
Alexandr
@muchosun
You need to install on main ramp onboard PC with Linux and install on it onboard SDK.
peterlu2017
@peterlu2017
Can i use STM32 communication tools to connect M600 pro?
Alexandr
@muchosun
Yes. All info in manual on github
peterlu2017
@peterlu2017
ok, thanks u much
coldshock1123
@coldshock1123
Can anyone advice me on how to change the waypoint location/coordinates of the flightcontrol-sample? Tried modifying the main.cpp but to no avail :( is really new to the SDK
^ Running an M100 with OSDK
ubuntu with Nvidia TX2
Alexandr
@muchosun
Read manual
coldshock1123
@coldshock1123
DJI OSDK Documentation you mean? Im really lost as it does not mention which file /directories i should work on :(
coldshock1123
@coldshock1123
Tried modifying the movebyPositionOffset in the main.cpp however the drone flew the original flightcontrol sample instead the modified one
azimgivron
@azimgivron_gitlab
Hey guys, i'm trying to compile the SDK v3.3 here on Ubuntu 18.04 and I can't find any documentation on this
here is the error msg i get : In file included from /home/azimgivron/Documents/Onboard-SDK-3.3.0/osdk-core/platform/linux/src/linux_serial_device.cpp:15:0:
/home/azimgivron/Documents/Onboard-SDK-3.3.0/osdk-core/platform/linux/inc/linux_serial_device.hpp:79:3: error: ‘fd_set’ does not name a type; did you mean ‘tzset’?
fd_set m_serial_fd_set;
^~
tzset
/home/azimgivron/Documents/Onboard-SDK-3.3.0/osdk-core/platform/linux/src/linux_serial_device.cpp: In member function ‘int DJI::OSDK::LinuxSerialDevice::_checkBaudRate(uint8_t (&)[2048])’:
/home/azimgivron/Documents/Onboard-SDK-3.3.0/osdk-core/platform/linux/src/linux_serial_device.cpp:137:19: error: no matching function for call to ‘end(uint8_t [2048])’
if (std::end(buf) == std::find(std::begin(buf), std::end(buf), 0xAA))
^
In file included from /usr/include/c++/7/utility:76:0,
from /usr/include/c++/7/algorithm:60,
from /home/azimgivron/Documents/Onboard-SDK-3.3.0/osdk-core/platform/linux/src/linux_serial_device.cpp:16:
/usr/include/c++/7/initializer_list:99:5: note: candidate: template<class _Tp> constexpr const _Tp std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp> __ils) noexcept
^~~
/usr/include/c++/7/initializer_list:99:5: note: template argument deduction/substitution failed:
/home/azimgivron/Documents/Onboard-SDK-3.3.0/osdk-core/platform/linux/src/linux_serial_device.cpp:137:19: note: mismatched types ‘std::initializer_list<_Tp>’ and ‘uint8_t
{aka unsigned char}’
if (std::end(buf) == std::find(std::begin(buf), std::end(buf), 0xAA))
^
/home/azimgivron/Documents/Onboard-SDK-3.3.0/osdk-core/platform/linux/src/linux_serial_device.cpp:137:48: error: no matching function for call to ‘begin(uint8_t [2048])’
if (std::end(buf) == std::find(std::begin(buf), std::end(buf), 0xAA))
^
In file included from /usr/include/c++/7/utility:76:0,
from /usr/include/c++/7/algorithm:60,
from /home/azimgivron/Documents/Onboard-SDK-3.3.0/osdk-core/platform/linux/src/linux_serial_device.cpp:16:
/usr/include/c++/7/initializer_list:89:5: note: candidate: template<class _Tp> constexpr const _Tp
std::begin(std::initializer_list<_Tp>)
begin(initializer_list<_Tp> ils) noexcept
^~~~~
/usr/include/c++/7/initializer_list:89:5: note: template argument deduction/substitution failed:
/home/azimgivron/Documents/Onboard-SDK-3.3.0/osdk-core/platform/linux/src/linux_serial_device.cpp:137:48: note: mismatched types ‘std::initializer_list<_Tp>’ and ‘uint8_t {aka unsigned char}’
if (std::end(buf) == std::find(std::begin(buf), std::end(buf), 0xAA))
^
/home/azimgivron/Documents/Onboard-SDK-3.3.0/osdk-core/platform/linux/src/linux_serial_device.cpp:137:63: error: no matching function for call to ‘end(uint8_t [2048])’
if (std::end(buf) == std::find(std::begin(buf), std::end(buf), 0xAA))
^
In file included from /usr/include/c++/7/utility:76:0,
from /usr/include/c++/7/algorithm:60,
from /home/azimgivron/Documents/Onboard-SDK-3.3.0/osdk-core/platform/linux/src/linux_serial_device.cpp:16:
/usr/include/c++/7/initializer_list:99:5: note: candidate: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp>
ils) noexcept
^~~
/usr/include/c++/7/initializer_list:99:5: note: template argument deduction/substitution failed:
/home/azimgivron/Documents/Onboard-SDK-3.3.0/osdk-core/platform/linux/src/linux_serial_device.cpp:137:63: note: mismatched types ‘std::initializer_list<_Tp>’ and ‘uint8_t {aka unsigned char}’
if (std::end(buf) == std::find(std::begin(buf), std::end(buf), 0xAA))
^
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:197:0,
from /usr/include/stdlib.h:394,
from /usr/includ
do you have any idea of what I should do ? Thanks
camilojimo
@camilojimo
Hi Im using an A3 flight controller and i've been trying to get Telemetry with the last release of sdk 3.7, specifically I'm trying to subscribe to TOPIC_RC_FULL_RAW_DATA, when i run the telemetry sample it gives me 3 options | Available commands: |
| [a] Get telemetry data and print |
| [b] Select some subscription topics to print |
| [c] Get telemetry data and save to file |
option a works fine which subscribe to topic_rc but b and c keeps showing me this problem

STATUS/1 @ verify, L244: Verify subscription successful.
STATUS/1 @ startPackage, L350: Start package 0 result: 34.
STATUS/1 @ startPackage, L352: Package 0 info: freq=50, nTopics=1.

STATUS/1 @ getErrorCodeMessage, L656: startPackage
STATUS/1 @ getCMDSetSubscribeMSG, L739: SUBSCRIBER_ILLEGAL_UID

STATUS/1 @ getErrorCodeMessage, L656: subscribeToDataForInteractivePrint
STATUS/1 @ getCMDSetSubscribeMSG, L739: SUBSCRIBER_ILLEGAL_UID

STATUS/1 @ getErrorCodeMessage, L656: removePackage
STATUS/1 @ getCMDSetSubscribeMSG, L739: SUBSCRIBER_PACKAGE_DOES_NOT_EXIST

STATUS/1 @ reset, L567: Reset Subscription Successful.

does anyone know what could be the issue ?
rogeriobonatti
@rogeriobonatti
Hi, has anyone used the external GPS for the DJI M210 drone? The external connection seems fine for the first minute or so, but after the first minute it automatically switches back to the internal GPS (which is mostly blocked by payload on the top in our drone), and the signal drops. There is no option on DJI assistant to explicitly use the external GPS. Has anyone succeeded in making it permanently use the external GPS?
lbdhr
@lbdhr
Hi, I have tried the telemetry sample of Linux platform. Once I select b) option of the sample, it only printed STATUS/1 @ reset, L567: Reset Subscription Successful.. Then the program exited automatically. I am curious why this happened? It seems no error occurred.
chooolll
@chooolll
We use STM32,A3 and OSDK. In what range we can set float32_t DJI :: OSDK :: Control :: CtrlData :: x in the command flightCtrl () and x in the command positionAndYawCtrl (), and how this values affect the speed of movement? How to use them correctly?Can I use these commands and velocityAndYawRateCtrl() when flying without GPS?
JongWoon Lee
@sharkvary
Hi~! Is it possible to connect our own RTK-GPS Module to A3 FC Board and do trip application on onboard SDK??
Evagoras Makridis
@evagorasmakridis
Hello, I have an error while trying to build the OnboardSDK for matrice M100.
An example is this:
/home/user/catkin_ws/src/Onboard-SDK-ROS/dji_sdk/src/modules/dji_sdk_node_mission_services.cpp:466:32: error: ‘class DJI::OSDK::MissionManager’ has no member named ‘hotptCounter’
alejodosr
@alejodosr
Hi all, has anyone tested M210 RTK V2 and OSDK 3.8/3.8.1 and successfully retrieve camera images from X4S? In ubuntu 16.04 I am getting this error:
STATUS/1
STATUS/1
STATUS/1
STATUS/1 @ keep_camera_x5s_state, L44:
ERRORLOG/1 @ sendData, L189:
ShahAkibSarwar
@ShahAkibSarwar

Hi all, I am very new to DJI OSDK. I am currently working on a project, where I need to give the GPS coordinates of a certain location to my Matrice 100. I tried using the Waypoints Mission, but if I set the variable 'wayptPolygonSides' to 1, and then set the desired the GPS coordinates in the iterative algorithm for generating the waypoint, I get this:

STATUS/1 @ getErrorCodeMessage, L656: runWaypointMission
STATUS/1 @ getCMDSetMissionMSG, L883: MISSION_OBTAIN_CONTROL_REQUIRED

STATUS/1 @ printInfo, L204: Mission Manager status:

STATUS/1 @ printInfo, L205: There are 1 waypt missions and 0 hotpoint missions
Initializing Waypoint Mission..
Waypoint created at (LLA): 0.534897 -1.680698 10.000000
Creating Waypoints..
Waypoint created at (LLA): 0.534897 -1.680698 10.000000

STATUS/1 @ getErrorCodeMessage, L656: uploadWaypoints
STATUS/1 @ getCMDSetMissionMSG, L883: WAYPOINT_MISSION_DATA_NOT_ENOUGH
Waypoint created at (LLA): 0.534900 -1.681000 15.000000

STATUS/1 @ getErrorCodeMessage, L656: uploadWaypoints
STATUS/1 @ getCMDSetMissionMSG, L883: WAYPOINT_MISSION_DATA_NOT_ENOUGH
Waypoint created at (LLA): 0.534897 -1.680698 10.000000

STATUS/1 @ getErrorCodeMessage, L656: uploadWaypoints
STATUS/1 @ getCMDSetMissionMSG, L883: WAYPOINT_MISSION_DATA_NOT_ENOUGH
Uploading Waypoints..

STATUS/1 @ getErrorCodeMessage, L656: runWaypointMission
STATUS/1 @ getCMDSetMissionMSG, L883: MISSION_OBTAIN_CONTROL_REQUIRED

If anyone anyone has experience with such a project, I'll be grateful if you could direct me towards the right path.

Hitesh Sagar
@Hitesh-Sagar
Hey everyone!.
I am very new to DJI Onboard SDK and wanted to create awesome apps. But couldn't find resources
kindly help me.