4 votes
Accepted

what is the algorithm to get position (Linear displacement and linear velocity ) using IMU (Like MPU6050)?

I thought for sure that there would have been a duplicate question somewhere on the site that answers this question, but I can't find one, so here's a quick description of the method. Put your IMU ...
user avatar
  • 14.5k
4 votes
Accepted

Quadrocopter PID

Technically, you can do it either way, but consider the following scenario: You are flying with a heavy load, and there is a wind gust. Each rotor is operating at almost 100% capacity due to the heavy ...
user avatar
  • 14.5k
4 votes
Accepted

Creating MAVLink commands from python

There are a couple libraries for doing what you want to to, the first is pyMAVlink and the second is dronekit-python it is going to be easiest to use dronekit as it handles a lot of the lower level ...
user avatar
  • 1,909
3 votes

How to request a specific Mavlink packet from Ardupilot?

If you carefully go through Ardupilot code, you will find all the mavlink communication related function are put in file GCS_Mavlink.pde. If you wish to receive particular message you will have to ...
user avatar
  • 633
3 votes

How to get data from ArduPilot through Serial Port

To get the sensor data you need: First to write a MAV_DATA_STREAM_EXTRA1 message to the arduCopter. This message tells it to send out the sensor data (and at what ...
user avatar
3 votes

Basic programming in arducopter

You should start with http://dev.ardupilot.com/ You can find articles that will make you familarize with code. Alternatively you can look at Aeroquad(https://github.com/AeroQuad/AeroQuad) which runs ...
user avatar
  • 633
2 votes

Raspberry PI with HKpilot32

I would not attempt to power the Pi directly from the flight controller. The last thing you want is to have unexpected power demands crash your vehicle. The easiest solution is probably to grab a 5v ...
user avatar
  • 121
2 votes
Accepted

Ardupilot on Raspberry Pi

Firstly, you may be confusing ArduPilot/ArduCopter software with the ArduPilot Mega (APM) hardware platform. ArduPilot/ArduCopter is indeed a great piece of software and is still maintained. The ...
user avatar
  • 1,284
2 votes

A Delivery Drone

Most of the outdoor drones use GPS for autonomous navigation. Even the flight controllers like Ardupilot and Naza need to be given the GPS coordinates of the destination for autonomous flights. The ...
user avatar
1 vote

Can I preload a mission into my drone (navio2) so it can execute it without being connected to a ground station by telemetry during flight

Yes you can, see: https://ardupilot.org/copter/docs/auto-mode.html?highlight=mission https://ardupilot.org/dev/docs/learning-ardupilot-storage-and-eeprom-management.html but you need to be careful to ...
user avatar
1 vote

Why 3DR Power Module has two 5v and GND output

Dual power and ground pins are on the power module so that two other modules could be powered without having to split the power cables. Also, if the attached module draws significant current from ...
user avatar
  • 403
1 vote
Accepted

Where is the function _MAV_RETURN_ defined?

Macros(_MAV_RETURN_??) for uin8_t, int8_t and char are defined at https://github.com/diydrones/ardupilot/blob/master/libraries/GCS_MAVLink/include/mavlink/v1.0/protocol.h#L236 onwoards. However for ...
user avatar
  • 633
1 vote

How to communicate Ardupilot with Arduino

The best way to achieve this would be with RC channel pass through, you can configure any channel from 7-14 for RC passthrough (technically you can configure lower channels for this but this can cause ...
user avatar
  • 1,909
1 vote
Accepted

Change Message Interval ArduPilot

You don't need to send any mavlink message. You can simply change the parameter SR1_EXTRA_1 to desired Attitude data rate and your data rate will be changed. Similarly you can change other parameter ...
user avatar
  • 633
1 vote

APM Mission Planner 2.0.18 Install Firmware Failure Mac OS X 10.11

For hours I've been dealing with this and no one has documented the same issue online. I tried the following with no success: Changed permissions of parent folder ...
user avatar
  • 295
1 vote

Using 3DR Radio to communicate ArduPilot Data

The 3DR radios by default use 57600 baud, be sure that it is set properly on both the sending and receiving side, this has been the source of many problems for me.
user avatar
  • 1,909
1 vote
Accepted

Altitude hold for quadcopter with Accelerometer and Barometer

Sorry, I'm not sure exactly what your code is doing but generally speaking ... Instead of trying to control using the accelerometer directly, it is usually better to estimate velocity and control ...
user avatar
  • 2,679
1 vote

Telemetry with Ardupilot 2.6

have a look to my Java Mavlink Library : https://code.google.com/p/mavlinkjava/ It can be used on Android, Windows, Linux and Java RT JVM from IS2T. Guillaume
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible