Quantcast
Channel: ArduPilot Discourse - Latest topics
Viewing all 46572 articles
Browse latest View live

SITL altitude won't increase

$
0
0

@ayertay wrote:

I followed the instructions online, and did the exact same thing on windows. I get the map. However, it won't takeoff. It says that takeoff started, but Alt is always 0.

Posts: 1

Participants: 1

Read full topic


What is Difference between *.cpp and *.pde in Ardupilot Directory?

$
0
0

@spirit wrote:

I want to modifying some code on APM 2.6

I'm using APM 2.6 So I'll use old firmware - ArduCopter 3.2.1
->

I downloaded it and searched libraries and found something odd.

I want to modify it with Arduiono IDE So I can only handle PDE Files.

but,
the directory is like that :

ArduCopter-3.2.1\libraries\AC_PID\examples\AC_PID_test\AC_PID_test.pde

there are _test in end of file name.

and also, there was *.cpp file :

ArduCopter-3.2.1\libraries\AC_PID\AC_PID.cpp

which file is used for Actual Compile?

where should I modify?

Posts: 2

Participants: 2

Read full topic

AC3.5RC1 gps/rng/optical flow analys request

$
0
0

@kuspower wrote:

I make flight with iris and SF11 + optical flow flying in loiter mode in AC3.5RC1 and standard ek2 settings.
During flight I test to go from no gps reception zone to gps zones, also, I flight over the ground and passing over roof of disused industrial building for see how ekf handle straight range finder changes and how EK2 handle GPS glitch.
Could you please check the logs and comment what you see and maybe tell us how to tune EK2 gates and noises for improve position holding and EK2 gps lidar optflow fuse?
Thanks you.

Posts: 1

Participants: 1

Read full topic

Air speed not functioning

$
0
0

@pmshop wrote:

Air Speed indicator on the left hand side of the HUD is not functioning.
This is in Mission Planner 1.3.44.3 Build 1.1.6269.37139

Posts: 1

Participants: 1

Read full topic

Meaning of the Abbrevations

$
0
0

@Varun wrote:

I am using Pixhawk and was curious to see the datalogs. I was surprised to see that there is no detailed explication of the sensors or variables. I mean, some of them are covered at the website of the Mission Planner (link), but not all, like, for example AHR2, BARO-CRt, BARO-SMS, CTRL-RMSRollP, GPA (VDop, HAcc, VAcc, SAcc, VV), and then the whole array of NKF sensors with various subvariables, etc etc.

Does anyone know where to find the full list of all of the possible sensors and their descriptions?
For example, AHR2 includes roll, pitch, yaw, alt, lat, lng, (these i do understand) which are redundant, but not the same as the other ones. I mean, if I don't understand them, how can I tell which one is relevant?

Posts: 2

Participants: 2

Read full topic

Calibrating compass confusion

$
0
0

@GordonR wrote:

I have my Pixhawk mounted transversely pointing to the right. My external compass is mounted pointing straight ahead to the front of the aircraft.

The instructions, both in Advanced Compass Setup and also in Mission Planner | Full Parameters say clearly that the compass orientation should be set with respect to the autopilot board. So I set AHRS_ORIENTATION = 2 (Yaw90) and COMPASS_ORIENT = 6 (Yaw270). I did a calibration which worked ok.

But the compass heading of the aircraft on the Flight Data screen was off by 90 degrees. It indicated South when the aircraft was pointing East.

So I redid the calibration this time with COMPASS_ORIENT _ 0 (None). Again it calibrated ok, and now the compass reading in the Flight Data screen is correct.

Question: Has something changed in Plane 1.3.37? Are the instructions now incorrect? I note a post from bisenberger (May '16) who also thought there was a yaw issue.

GordonR

Posts: 3

Participants: 2

Read full topic

No SBUS signal after update from 3.4.4 to 3.4.5

$
0
0

@re4mat0r wrote:

Hi. After updating to 3.4.5 RC doesn't work anymore. I use Futaba 14SG. It worked with 3.4.4. When I downgrade to 3.3.3, it also works, but I need 3.4. In calibration screen of Mission Planner rc channels are empty and sometimes randomly jump when I move all sticks.

What can be the problem? Or is it possible somehow to install 3.4.4 Hexa for Pixhawk. Can not find it anywhere.

Please help.
Roman

Posts: 1

Participants: 1

Read full topic

V3.5 rc1 uncontrolled flight

$
0
0

@rbachtell wrote:

After dozens of perfectly stable flights my 960 hex decided to have it's way with me. I went out to the flying field to test telemetry range with TX1 (not the first time with TX1). Just after take off it twitched and started heading off on it's own, after a panicked attempt to regain control I finally managed to hard land with minimum damage. I am not well versed at log reading so if someone would be kind enough to look it over I would be forever grateful. I don't think it is firmware related but I have been over the craft and can't find any problems. It flew last weekend several times and no changes have been made since.

Cheers
RB97.BIN (785.7 KB)

Posts: 2

Participants: 2

Read full topic


The list of available modes in MAVProxy

$
0
0

@Pavel_Bobov wrote:

Where does MAVProxy get the list of available modes?

AUTO> ('Available modes: ', ['AUTO', 'GUIDED', 'MANUAL', 'LEARNING', 'RTL', 'INITIALISING', 'HOLD', 'STEERING'])

...

Mode(0x00000040)> mode
Mode(0x00000040)> No mode mapping available

Posts: 2

Participants: 1

Read full topic

NAV_SET_YAW_SPEED Question

$
0
0

@hdmathias wrote:

Hi everyone. Today I began experimenting with the new NAV_SET_YAW_SPEED command. After a few tries (and software updates) I got it to work. Well, more or less.

My setup is an onboard companion computer, Pixhawk and Dronekit Python. I can get the rover to move and then stop. After I stop the vehicle by sending a NAV_SET_YAW_SPEED command with velocity of 0, I issue vehicle.close() and the script terminates. So far, so good.

Then if I run the script again, I see an endless stream of the following message:
'>>> NAV_SET_YAW_SPEED not record last 3secs, stopping'

These start as soon as I connect to the vehicle, before any other part of my script runs. It's as if the script is still running from the previous time. The second run will succeed but the above message scrolls the entire time.

So, what am I doing wrong? How do I get the rover to stop expecting the NAV_SET_YAW_SPEED commands so that the script can terminate properly?

Thanks.

Posts: 2

Participants: 2

Read full topic

My idea for GSOC

$
0
0

@khwu wrote:

What I am doing

I am Kang-Hua. I am currently a master student studying at San Jose State University majoring software engineer. Because of a recent project, I found ArduPilot community and GSoC. The project is actually a competition host by the City of San Jose[link]. They have trouble removing graffiti at certain places such as highway overpasses. Our approach is building an autonomous drone system to achieve the goal. Luckily, our idea passed the first phase and entering the second phase of the competition.
Here are some modules for our system so you can have a better idea of whatwe are doing:

  • Communication & companion computer
  • Image detection using machine learning
  • Controller for spray (removal) and tilting cameras
  • Mission setup through Ground station or App
  • Vertical/Horizontal navigation system (spiral around pillars under highway overpasses)

My responsibility is to create an interface linking other components together. On the drone, it is the companion computer; on the ground, I will provide APIs for ground station and machine learning server. Something like this:

As you can see, I need to deal with communication problems. I started using DroneKit and learned basics about MavLink protocol and portion of ArduPilot functions. I believe I will be handy with them very soon.

My Idea for GSOC

I would like to push further on the communication part so my proposal for GSoC is building distributed systems for drones. (I just got into this field. Bear with me, if this has been developed.) Like other distributed systems, there will be a master drone giving orders to rest slave drones. Here are some scenarios: controlling multiple drones flying from one place to another together; carrying one heavy product; spraying pesticide. In this case, building multiple drone application easier and users only have to control the master drone. It also has to have other features like basic collision avoidance while collaboration.

If you have any suggestion, feel free to reach me through bondk818@gmail.com. Thank for your time.

Posts: 1

Participants: 1

Read full topic

Poshold problem 3.4.5

$
0
0

@ua0ldk wrote:

Hi all.
I have strange holding of position (Poshold mode) of my quad in windy weather today.This mode is similar althold. Other modes - Stab, Althold, Loiter are correct in 3.4.5. FC is Pixhawk LITE. No errors in log and no ideas.

Any help is appreciated.

Log is here

http://chava.ru/2017-03-05.bin

Posts: 1

Participants: 1

Read full topic

Nightmare compass calibration

$
0
0

@lucamax wrote:

I'm facing big problems of compass calibration with two Pixhawk boards from Mrobotics and 3.4.5 firmware.
Compass are two M8N Gps with integrated compass (HMC5983) from Drotek and two stand alone HMC5983 external compass.

1) One of the M8N DRotek gps that worked properly on a original Pixhawk always give high Z offset, over 560 .

2) The other M8N Drotek Gps
- even if it is aligned with the Pixhawk , the heading red line in Mission Planner is less or more 90° rotated
- The red heading line continues slowly to rotate over 360° even if the drone is steady
- With 3.4.5 the internal compass disappear when I2C connector from the Gps Mag is connected, with 3.3.3 both are present.

3) Using the I2C splitter seems to make things even worst .

I did everything I could to obtain a proper compass calibration , upload again the firmware, compass are far from esc , iron , power lines .
I2C wires are short, far from power lines , I use outdoor calibration with USB connection since it gets samples faster.

With 3.4.5 and "auto complete" option sometimes the calibration is successfull even if just one axis is rotated.

Guys , a real nightmare , that cost me hours and hours of work and failure as the only final result.

Posts: 2

Participants: 2

Read full topic

Bebop 2 video stream

$
0
0

@Gabuland wrote:

Hello,
I'm new in the drone environment and I bought a bebop 2 drone a few month ago. I decided to take my drone experience to the next level by joining the ArDupilot community. I've been flying the bebop drone (with Copter 3.4 installed) a couple times and it perfomed extreamly right with a high GPS accuracy but I couldn't figure out why I didn't get any video stream back on my laptop neither could I take any picture ou record on flight...
I use AMP planner 2 on a Mac OS
Thanks !

Posts: 1

Participants: 1

Read full topic

Plane Crash logs 3.7.1


Translate ptich/roll angle to PWM output for servos?

$
0
0

@mauritzg wrote:

Hi

Is there a way to have the pitch and roll angle translate/map to PWM outputs for servo angle? I would like to have two servos turn directly proportional to my Quads pitch and roll angle. Is this configuration possible? Like a gimbal but working with servos knowing that servos are slower than brush-less motors.

Posts: 1

Participants: 1

Read full topic

Bad AHRS, pos vert&horz variance

$
0
0

@puhumight wrote:

Hi all,
i just bought a pixfalcon and entered the pixhawk world.
I am us'ng copter 3.4.5 and during configuration i faced errors related to Bad AHRS.
In MP everthing is seems allright but when i turned the motors on and start to move quadrotor first vibe turns to red and ekf turns to yellow and then ekf turns into red and I faced Bad AHRS, pos vert&horz variance errors.
I calibrate acc. and compass man times, do declination angle manually but nothing works.
here are my parameters.33.zip (4.2 MB)
What should i do to fix it?
I am looking forward to your replies.
thanks in advance...

Posts: 1

Participants: 1

Read full topic

Tiny RTK integraton

$
0
0

@funfrancis wrote:

Hi

Have anybody used the TINY RTK with RTK
have some issues and would be glad if it could be solved

For the standalone test, I believe you did the steps here: https://drotek.com/lessons/useer-module-rtk-drotek/

Some doubts, hope you could clarify them for me
For the standalone test, the following steps were followed: https://drotek.com/lessons/useer-module-rtk-drotek/
1. Base setup, (as mentioned in https://drotek.com/en/documentation/tiny-rtk-documentation/ ), an additional RTCM 1127 is activated and its necessary to activate bothe the uart and usb. Is it differentate between standalone and flight controller integration?

  1. Rover, In the standalone test, what all params need to be activated. NMEA params are disabled and NAV params are enabled.

  2. Can we see the location and distance between the base and rover in a map form in the BASE?

Posts: 1

Participants: 1

Read full topic

Disarm: GPS Speed Error

$
0
0

@flyingw wrote:

Hello all,

I am getting this error:

What does it mean?

I want to demo the setup and need to be able to arm indoors without GPS. How can I disable the pre-arm check for this condition? I already disabled the pre-arm checks in the parameters list, but I still get this error regardless.

Please advise. Thank you,

Paul

Posts: 1

Participants: 1

Read full topic

Getting Params 12 Dialog Box

$
0
0

@ardisd wrote:

I have noticed that a Getting Params 12 Dialog Box does not appear to be working on the latest version of mission planner I can cancel the message and everything works as normal.

Thanks
David Ardis

Posts: 1

Participants: 1

Read full topic

Viewing all 46572 articles
Browse latest View live