Questions tagged [dronekit-android]

DroneKit-Android is for questions about building an Android app with the DroneKit set of APIs for drones from 3D Robotics.

DroneKit is a set of APIs created by 3D Robotics. The Dronekit-Android tag is specifically for questions related to building Android apps using the API.

22 questions
4
votes
2 answers

Change velocity with message to Mavlink

I'm trying to move a vehicle by changing the velocity. I've been able to perform the operation successfully in Python, but for my project I can not use Python, so I'm using Android to try to make the same operation. The working functionality in…
3
votes
1 answer

Failed to resolve 3DR Services library dependency while syncing Gradle in Android Studio

I'm working through this example on the DroneKit Android documentation website. When I sync the Gradle after adding the 3DR Services library dependency "com.o3dr.android:droneKit-android:2.3.11", I receive: Error:(24,13): Failed to resolve:…
1
vote
1 answer

Android Studio Error Manifest merger failed : Apps targeting Android 12 exported already exists

I'm not good at English, so I use a translator. I'm sorry. I'm working on a project to control drones on mobile, and I'm going to find a module called dronekit and use it, but when I apply it, the same error appears. Manifest merger failed :…
mist-rain
  • 11
  • 1
1
vote
0 answers

Implementing collision detection python script on dronekit

We're building off of the Tower app, which was built with dronekit-android, and flying the 3dr solo with it. We're thinking about adding some sort of collision detection with it. Is it feasible to run some python script on the drone, basically…
cyinwei
  • 11
  • 3
1
vote
1 answer

Dronekit android tower telemetry update frequency

I've just started looking into building something using dronekit. Before I dive headfirst into this (and I fully realize this might be a difficult question to answer): What kind of telemetry update frequency can I expect from the 3DR services…
Trondh
  • 3,221
  • 1
  • 25
  • 34
1
vote
1 answer

How to write a code in Android to send waypoints to my 3DRobotics drone?

Good afternoon. At the moment I am trying to write the code in the "Main Activity" to send some waypoints to my IRIS drone but it is only working when the points are five. Could you check my code and give me suggestions about what is happening and…
Javieredo
  • 11
  • 3
1
vote
0 answers

Updating yaw with msg_request_data_stream and MavlinkObserver

I am working on a project in which I am controlling a quadcopter with an android phone. I have noticed that the using the DroneListener to listen for ATTITUDE_UPDATED messages is not updating the yaw nearly as fast enough as I need it to. I would…
1
vote
3 answers

Is there a MAVLink mission commands list available?

I am new to Dronekit. I was wondering if there is place where I can find a list of all the available mission commands.
Diego Medina
  • 31
  • 1
  • 3
0
votes
1 answer

What are the arguments needed for ConnectionParameter?

I've been following 3DR Dronekit-Android step-by-step project to create a mission planner app on Android Studio. I am stuck on creating a method for connecting via UDP. extraParams.putInt(ConnectionType.EXTRA_UDP_SERVER_PORT,…
0
votes
1 answer

Using usb to connect Android to Pixhawk

I am looking for a way to connect my pixhawk to an android device using the USB(OTG) cable. After doing some research i figured there is two possible ways to do that. Either using the micro usb port on the pixhawk or just using a USB FTDI cable to…
HAOUAS Khaled
  • 40
  • 1
  • 6
0
votes
0 answers

Drone.getAttribute(AttributeType.Signal) returns invalid Signal

I am attempting to implement the Dronekit-Android library on my own app with a 3DR Solo. I have a drone telemetry screen that already displays the drone's altitude, battery percentage, speed, etc. All of that data is successfully retrieved and…
TEK292
  • 261
  • 1
  • 13
0
votes
1 answer

Get drone flying state vi Drone kit

Is there a way to get the flying state of the drone using dronekit ? and by flying state I mean: Landed, Taking off, hovering, flying, landing
HAOUAS Khaled
  • 40
  • 1
  • 6
0
votes
2 answers

DroneKit mission not sent to drone

I'm trying to create simple mission using Drone-Kit android. Mission myMission = new Mission(); myMission.clear(); Takeoff to = new Takeoff(); ReturnToLaunch rtl = new ReturnToLaunch(); //set Altitude in…
Seiran
  • 126
  • 9
0
votes
1 answer

DroneKit simple takeoff not working

I'm trying to make a simple Takeoff command. Here is the code below: ControlApi.getApi(this.drone).takeoff(10, new AbstractCommandListener() { @Override public void onSuccess() { } @Override …
Seiran
  • 126
  • 9
0
votes
0 answers

dronekit-android API addMavlinkObserver causes system crash

I am using dronekit-android packages that can successfully connect to PX4 board. However, I try to receive the mavlink message in a while 1 thread, the receive API addMavlinkObserver causes the system crash. After the drone is connected, I simply…
Sean Hsu
  • 11
  • 2
1
2