Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 12 16:06
    wenbozzz commented #567
  • May 12 09:58
    DJI-Jerry commented #772
  • May 12 09:16
    DJI-Colin opened #772
  • May 11 05:46
    JieQ1996 commented #567
  • May 11 02:03
    dji-dev commented #766
  • May 11 01:54
    dji-dev commented #771
  • May 11 01:51
    dji-dev commented #764
  • May 11 01:36
    akamilkhan commented #771
  • May 10 14:28
    wang-zi-tao commented #766
  • May 10 10:19
    lorenzave commented #771
  • May 10 10:16
    lorenzave commented #764
  • May 10 10:03
    dji-dev commented #764
  • May 10 04:24
    dji-dev commented #771
  • May 09 15:59
    akamilkhan opened #771
  • May 08 14:12
    Hepan02 commented #770
  • May 08 10:36
    Hepan02 closed #770
  • May 08 10:36
    Hepan02 commented #770
  • May 08 10:34
    Hepan02 commented #770
  • May 08 01:41
    dji-dev commented #770
  • May 07 17:39
    Hepan02 commented #770
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.
I am trying to build an application using STM32 but couldn't get much
resources or I should say zero resources
Hitesh Sagar
@Hitesh-Sagar
@dji-dev
Hitesh Sagar
@Hitesh-Sagar
@chooolll could you please help me in getting started with Onboard SDK development with STM32
MatM210
@MatM210
Hello DJI team and user community, can anybody tell me how I can collect the timestamp info from the RTK module or Drone clock for use in my program? I'm currently using DJI::OSDK::Telemetry::RTK Struct (TOPIC_RTK_POSITION etc.) to collect latitude, longitude, and HFSL data. I need to have the drone's own timestamp alongside the above information (not the GPSinfo timestamp in time_ms and time_ns which I already have) to be saved in my program. Can somebody please help? Thanks in advance.
Elite yang
@roseyangyu
which may bind externally can not be used when making a shared object; recompile with -fPIC
when i make that,I get that error,How do I solve that
Hitesh Sagar
@Hitesh-Sagar
Hi Everyone,
I was building linux sample of Onboard SDK and getting error "Port did not send" however the serial started successfully
Hitesh Sagar
@Hitesh-Sagar
@pavankumarbn
Kindly help
Asish Mehta
@ashibhuvan
anyone have any success using viritualRC?
JongWoon Lee
@sharkvary
Onboard-SDK not supported with DJI N3-AG FC board?
Asish Mehta
@ashibhuvan
im using matrice 100
Asish Mehta
@ashibhuvan
anyone ever use virtualRC before, anyone know if it is still supported on matrice 100
the matrice 100 is an enterprise drone yet the support and codebase from dji is super terrible
the whole point of enterprise products is the support
JasonKSchreiber
@JasonKSchreiber
There is not much REAL support in this channel, just all of us asking for help, but no one able to actually help. I’m betting there are no dji devs on here, just users struggling with the intricacies of the DJI SDK!!
Asish Mehta
@ashibhuvan
Yes, there is no real support here but you get decent support on github.
jason what do you need help with? @JasonKSchreiber
Hitesh Sagar
@Hitesh-Sagar
@JasonKSchreiber I agree. No one help here. Even experienced developers do noy reply, even you direct message them
xhr1117
@xhr1117
请问onboard SDK是一个应用程序吗,如何下载
inconceivable7
@inconceivable7
Hi,
How can i enable Digital zoom of XT2 using STM32 with A3 OSDK. I have looked for the information in DJI Dev site but found none.
rishabh1024
@rishabh1024
Hi,
I'm facing an error while connecting N3 flight controller with Nvidia Nano with Ubuntu 18.04 using UART pins on Nano and API port on the flight controller. While running the sample code I receive the following error:
"Drone version not found, please do not proceed."
lbdhr
@lbdhr
you can reverse the RXD and TXD and have a try
JongWoon Lee
@sharkvary
Is it possible to get LiPO Battery info by OSDK?
github-user-007
@github-user-007
@dji-dev M600Pro OnboardSDK3.9: xOffset will be yawDesired instead of forward when using "moveByPositionOffset(vehicle, yOffsetDesired, zOffsetDesired, yawDesired)",please give help!!!
github-user-007
@github-user-007
How can I set HorizontalCoordinate to HORIZONTAL_BODY? Onboard SDK
Twinkly1993
@Twinkly1993
I installed Onboard-SDK3.9 before, and I changed it to version 4.0 today. I found that the program failed to compile. It seems that some header files were not found, and the path needs to be changed....How do I delete the path that points to version 3.9 and change it to point 4.0 version
kangmin7
@kangmin7
"Drone version cannot be obtained" Error in OSDK 3.8 just can't be solved. Nothing works at all