Using Java for controlling the drone


Product: [Mambo/Swing/Rolling Spider/Airborne Cargo/Airborne Night/Hydrofoil]
Hi everyone! I am just getting into using drones, as this is my first drone, and I picked the MAMBO. I know a fair bit of Java, and was wondering, how can I use Java to control the drone? Thanks! Sorry if this has been asking before. I dont need to to be connected via Android or anything, just plain java, through a JVM on my computer! :):grin::grin::grinning::grinning:



This is not possible as our Java SDK uses Android API’s. You would need to remove these Android objects from the SDK. This can be a lot of changes to do.
For example, the discovery uses an Android service.


So, If I want to program a drone myself, what options do I have?



  • Program in Java for Android an Android app
  • Program in C an executable that will run on a Unix based computer (Linux, MacOs…). Please note that the BLE stack has not been implemented on the C api. The Wifi part is ok.
  • modifying the SDK to remove all Android specific calls from the Java API.


Is it possible I use a third party api, that may have already done that? Or is that not recomended.


It is possible. Lots of talented people have done their own implementation of the protocol, you just have to pick. Most of the libraries are mentioned in this forum.