Questions tagged [ardupilot]
Ardupilot is an autopilot that is based on the Arduino platform.
39
questions
6
votes
3
answers
12k
views
How to get data from ArduPilot through Serial Port
I'm doing a project related to telemetry, and I want to make ArduPilot (programmed with ArduPlane 2.73) send through a serial port the sensors informations such as height, GPS position, etc.. I have ...
6
votes
2
answers
10k
views
Altitude hold for quadcopter with Accelerometer and Barometer
I wonder currently how to implement an altitude control for a quadcopter. I have atm just a barometer/GPS and an accelerometer.
Barometer and GPS are relatively straight forward implemented, but not ...
5
votes
1
answer
7k
views
Creating MAVLink commands from python
I am struggling to find any clear documentation on how to create MAVlink commands using python.
I am looking to create an autonomous glider and require some of the basic functions
Retrieve GPS Data ...
5
votes
1
answer
840
views
What is telemetry used for?
I'm pretty new to the world of UAS after a ten year holiday from RC flying.
I'm looking at Ardupilot and am wondering what purpose telemetry serves? Is it just to get in flight data back to a ground ...
5
votes
1
answer
171
views
Any globally unique signature in Ardupilot hardware, or Arduino in general?
I have several APM 2.5 boards and need to identify them based on some globally unique hardware signature that does not change with programming.
Arduinos and atmel AVR chips in general do not have (...
4
votes
5
answers
7k
views
Quadcopter instability with simple takeoff in autonomous mode
I'm trying to get a quad rotor to fly. The on board controller is an Ardupilot Mega 2.6, being programmed by Arduino 1.0.5.
I'm trying to fly it in simple autonomous mode, no Radio controller ...
4
votes
2
answers
474
views
Quadrocopter PID
I am building a quadcopter for my school project. I am trying to program my own flight controller using PID algorithm.
I'll try to make my question simple using as an example below only two motors
<...
4
votes
2
answers
4k
views
How to request a specific Mavlink packet from Ardupilot?
I'm developing a program for communicating with Ardupilot using Mavlink. I've generated code based on the Mavlink definition for Ardupilot, and I have the basic communication working.
What I can't ...
4
votes
1
answer
2k
views
sending and receiving parameters to ardupilot
I am interested in getting an arducopter with an ardupilot(APM). I read through the documentation and from what I understand, ardupilot is the low level hardware and firmware that directly controls ...
3
votes
1
answer
7k
views
what is the algorithm to get position (Linear displacement and linear velocity ) using IMU (Like MPU6050)?
So I have been working on a drone project for a very long time, now I decided to work on Kalman filter which is used widely nowadays like Ardupilot. I looked at the source code so basically understand ...
3
votes
3
answers
3k
views
Telemetry with Ardupilot 2.6
I'm using the telemetry kit from 3DR robotics (433MHz) to interface with Ardupilot Mega 2.6, controlling a quadcopter. The Mission Planner (v1.2.84) by Michael Oborne works well with the telemetry kit,...
3
votes
1
answer
2k
views
Basic programming in arducopter
I am starting with a project using Arducopter. I am a person familiar with arduino, but seeing the arducopter for the first time. Commands codes and everything is completly different compared to ...
3
votes
1
answer
7k
views
Ardupilot on Raspberry Pi
I'm making a quadcopter for the first time and want to be as low cost as possible, and when it comes to flight controllers APM is the best open-source project, and is compatible with Raspberry Pi.
My ...
3
votes
1
answer
2k
views
Android phone + ADK + Arducopter APM 2.5 for autonomous quadcopter
for a project for a robotic lab, i'd like to build an automous quadcopter able to follow a path and land on its own. I'd like to use an onboard android phone to do the image processing and recognition ...
2
votes
2
answers
617
views
ArduIMU noisy output in Quadrotor
We are using ArduIMU (V3) as our Quadrotor's inertial measurement unit. (we have a separate board to control all motors, not with ArduIMU itself).
Now we have a problem with ArduIMU's sensors output....
2
votes
0
answers
25
views
Checking for external compass in mission planner
How can I check whether the external compass is really selected for my APM 2.8 using mission planner.
The primary purpose of using the external compass is to have less electro magnetic interference ...
2
votes
1
answer
785
views
Uploading edited code for Arducopter
I'm attempting to customise some code for my DIY pentacopter frame.
To that end, i've modified the some existing code, and saved it under AP_MotorPenta.cpp and AP_MotorsPenta.h . I'm currently trying ...
1
vote
1
answer
2k
views
How to retrieve parameters from mavlink .tlog using pymavlink?
I've been able to use pymavlink.mavutil to read telemetry from a .tlog created by MissionPlanner.
To do this, I create a mavlogfile like this:
...
1
vote
1
answer
812
views
Change Message Interval ArduPilot
I am using Mavlink protocol (in c++) to communicate with the ArduPilotMega, I am able to read messages such as ATTITUDE for example.
I am currently getting only 2Hz (message rate) and I would like to ...
1
vote
1
answer
209
views
Where is the function _MAV_RETURN_ defined?
I'm trying to understand the source code of ArduPlane. The MAVLink message is decoded using a set of _MAV_RETURN_???? functions, e.g. ...
1
vote
1
answer
550
views
Using 3DR Radio to communicate ArduPilot Data
I am trying to send some data over to my PC from the Arduipilot, I used a Normal USB connection to send over a recurring string like this:-
...
1
vote
1
answer
931
views
APM Accelerometer Calibration
I am trying to manually calibrate the on-board accelerometer of an APM 2.6 controller.
I am using the following code (I found this somewhere, don't remember where) with Arduino 1.0.5 (in Windows ...
1
vote
1
answer
279
views
On the ardupilot board, what is the difference between A10 / A11 ground pins and the PWM ground pins?
I'm looking for an electrical explanation of the statement here:
Warning: Do not connect power (red + & black -) from the RC10 (A10) &
RC11 (A11) connectors to the servos, just use the ...
1
vote
0
answers
38
views
Displaying a GPS Route (By Waypoints) on Mission Planner with Dronekit
Hope you are all doing well. I am working on a navigation project right now. According to a starting and goal location, I use Open Route Service to create a GPS Route. I have the coordinates (lateral ...
1
vote
0
answers
132
views
Mission Planner: How to create a custom Waypoint Command
I am trying to set up a waypoint in Mission Planner that causes the drone to hover, take sensor data from a custom sensor, then either land or continue hovering based off of what the sensor data says. ...
1
vote
0
answers
153
views
How can i do message packet signing using javascript/node js for MAVLink v2 messages
I am trying to control ardupilot using nodejs. My requirement is to use Javascript solution instead of Python/C.
The mavlink.io page for supported languages shows javascript generated library has ...
1
vote
0
answers
2k
views
How to send a new Mavlink message from Ardupilot?
I'm trying to add a new message to the MAVLink interface. Following this page, there are the steps I took:
Added the message to ardupilotmega.xml. Right at the end of the file:
...
0
votes
1
answer
154
views
A Delivery Drone
I'm building a delivery drone as my final year project. A drone that can deliver a package to offices around my small town autonomously, for my final year project.
I would like to know how this drone ...
0
votes
1
answer
32
views
Raspberry PI with HKpilot32
I would like to connect my RP3 to the HKpilot. While most connections are pretty straightforward, I would like to know how ca I power the PI:
It is stated in the above link that "The RPi can be ...
0
votes
1
answer
55
views
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
The question really speaks for itself. I don't have any way to connect with my navio2, running ardupilot, during flight (except a radio controller if things go wrong). Could I still make my drone ...
0
votes
1
answer
200
views
Why 3DR Power Module has two 5v and GND output
Why are there two 5V and GND output in 3DR Power module (https://www.instructables.com/id/Safetly-use-CLONE-APM-Power-Modules/)
(https://www.youtube.com/watch?v=M6OSp05Y5b8).
Can we power up an APM 2....
0
votes
2
answers
464
views
How to communicate Ardupilot with Arduino
Can anyone tell me if it is possible to send data through the analogue pins of the Ardupilot to the analog pins of the Arduino?
For example, I would like to trigger a button on a channel from my ...
0
votes
1
answer
1k
views
APM Mission Planner 2.0.18 Install Firmware Failure Mac OS X 10.11
I installed Multiple versions of APM (2.0.7, 2.0.17, 2.0.18) on Windows 7, Ubuntu 14.04, and OSX 10.11. I could connect to my ...
0
votes
0
answers
37
views
Implementation EX-BUS-protocol for Pixhawk 2.1
I am building a drone with 6 motors and I use Ardupilot to control the drone based on this project in website of ardupilot. To examine the temperature of each motor i use the Jeti EX-Bus protocol as ...
0
votes
0
answers
70
views
Why do we connect pins 2 and 3 on APM to enable PPM
Why is it necessary to connect signal pins 2 and 3 via jumper on an APM2.8 board to enable PPM.
I am using flysky fs-ia6b receiver with the APM mentioned above.
Pins 2 and 3 control pitch and ...
0
votes
0
answers
26
views
Best practices for quad-copter designing
What are the some of the best practices for placing the components (including battery, GPS, flight-controller, wires, receiver etc.) on the air-frame of an 'X' quad-copter to ensure the minimum power ...
0
votes
0
answers
199
views
APM Planner on Linux/Ubuntu "open from file" not working
I can't open parameter list with APM Planner.
Moreover I can't find anyone with same problem.
I run it on Ubuntu/trusty 14.04
It does not see files with any extensions including ...
0
votes
1
answer
245
views
What does ardupilot do and how does it do it?
I have been using ardupilot on drones for a while and I don't exactly know what it does. I know it keeps a drone leveled, lets us set way points and automatically fly through them, etc. Is that it? If ...
-1
votes
1
answer
47
views
How can I connect arducopter to Raspberry Pi?
This is my school project. I would like arducopter to connect to Raspberry Pi but I do not know how to do it. Please help me!