Servers by jDrones

Code Bounty for DJI CANBus [Expired]


(James Pattison) #1

Topic: Add DJI A2/3/N3 CANBus protocol

Proposal type: Hardware [ ] , Software [x ] , Other [ ] : _________________

Description: a significant shortfall for many people wishing to use ArduPilot is the lack of an integrated camera/gimbal system, such as are common with DJI platforms.
In addition, DJI manufacture some good vehicle platforms, that a growing number of users are converting to ArduPilot.
The ability to natively interact with DJI CANBus subsystems such as gimbals, cameras and escs would greatly benefit ArduPilot users, and leverage the engineering efforts of DJI whilst maintaining the freedoms and capabilities of ArduPilot.

Planned amount $$ (USD): TBD

Estimated time for completion: unknown


Configuring Ardupilot for UAVCAN
(tridge) #2

yep, that would be very useful!


(OlliW42) #3

suggestion: DJI A2/3/N3
:slight_smile:


(James Pattison) #4

Edit made. Thanks Olli.


(Fnoop) #5

This would be a massive, massive advance for the Ardupilot ecosystem.


(OlliW42) #6

I just recalled that there had been this blog on DiyDrones: http://diydrones.com/profiles/blogs/universal-adapter-for-dji-gimbals, in which some legal concerns were discussed. I’m not a law person, god knows, and really can’t say anything, but wonder if that’s a potential topic of relevance here too. I think the protocol is not public.


(James Pattison) #7

Legitimate point. I’m not a lawyer either, but proprietary protocols are regularly reverse engineered by the open source community, and at least one ArduPilot dev has a history of doing such things. I also think that it isn’t completely silly/naive to just ask DJI if they’ll give it to us.


(Gregoire Linard) #8

That would be a massive plus indeed…
Not sure if DJI would be open to that though.


(David Buzz) #9

the diydrones poster uses a
Jetson TK1 with an Innodisk EMUC-B201 PCIe to CAN adaptor
and the camera video feed is connected to the USB port of tk1, while the rest of the gimbal is connected to the canbus adapter… so as far as the hardware goes… it’s all off-the-shelf.


(James Pattison) #10

Thanks! - unfortunately the code hasn’t been open sourced afaik. Ideally there wouldn’t be a need for the Jetson though: a direct CAN implementation would support more users.


(James Pattison) #11

Cross linking from GitHub


(Olivier Brousse) #12

A very worthy proposal, and some earlier and preliminary conversations with some at DJI were promising. But there does not seem to be enough manpower to pursue such a project at this time, so funding committee is expiring this. Thank you for the initiative!