Quantcast
Channel: ArduPlane - ArduPilot Discourse
Viewing all 7806 articles
Browse latest View live

Firmware Upgrade with SD Card?

$
0
0

@GFlight_1 wrote:

Hi guys, I have a Pixhawk (not cube version) that I run in a plane that has a pretty old firmware in it because the USB port is broke (connector broke off) so I can’t load new firmware onto it. I am wondering if I can upgrade the firmware through the SD card? I have searched around and found where people say you can put the Pixhawk into bootloader with the switch but how do I get the Pixhawk to read a firmware upgrade from the SD card? If anybody has a workflow that would be appreciated.

Thank you for your help.

Posts: 5

Participants: 2

Read full topic


VTOL QuadPlane Tricopter Autotune - CRASH

$
0
0

@ovolkmann wrote:

Hi everyone,

Today I went out with our Foxtech Nimbus to try and improve the flight performance in copter mode. I used the latest beta firmware (3.10 DEV) to have access to the Q_AUTOTUNE functionality. The first flight done was setup to tune roll which the plane managed to complete in roughly 5 minutes. Q_AUTOTUNE was engaged after the platform was stable in Q_LOITER. The flight was thankfully rather un-eventful and we did not find the aircraft “searching” to keep it’s nose in the wind very often.

Here is a link to a shared folder containing the logs and a video of the flight:

https://drive.google.com/drive/folders/1ucuz75uH9rUS2t1DRGB8IxII0ML6Cg8G?usp=sharing

https://youtu.be/gydbxTx_wIU

The next step was to tune Pitch. The flight went rather well however we did find that the platform was continuously searching and yawing to account for wind direction (I suppose that is what it was doing). Unfortunately the flight ended short of completing the autotune due to lack of capacity remaining in the battery pack. This took around 6 minutes.

Here is a link to a shared folder containing the logs and a video of the first attempt at Q_AUTOTUNE PITCH:

https://drive.google.com/drive/folders/1YVny_MephJ2xjtiy-V_mzMqrFJeH5Xqz?usp=sharing

I figured that perhaps the airspeed sensor was creating confusion for the autopilot (CUBE) and that was the reason why it had a hard time finding the wind direction so I decided to disable Q_VFWD and Q_WVANE_GAIN and try again. I may be totally off my mark here with the hypothesis that the airspeed sensor was causing problems so if anyone can clarify whether it is being used in copter modes, I would appreciate it. Alas, we took off and repeated the Q_AUTOTUNE for Pitch. Again, the platform kept circling and yawing trying to adjust for wind direction (there was practically no wind). The battery went down to 21.5 and failsafe alert (no action) was triggered. I decided to just let it play out and push the battery down to 21.1 and land then in the hopes of completing the tune however right at that decision moment the platform went head-over heals (back flip) and crashed nose-down. I did manage to see an EKF_POS error on the screen before it hit the ground. If someone could please diagnose what happened here, I would greatly appreciate it.

Here is a link to a shared folder containing the logs and a video of the second attempt at Q_AUTOTUNE PITCH which ended with a crash:

https://drive.google.com/drive/folders/1-MOs4rP5Mg4lNb9rkXcpTsEaBGmzepMD?usp=sharing

I hope that these logs help the developers improve on Q_AUTOTUNE (if needed) and definitely hope that someone can answer the following questions:

  1. Why in Pitch Tuning did the platform move so much? In Roll tuning it barely did any of these yaw dances. The wind was almost non-existant.

  2. Does the Airspeed Sensor get utilized in VTOL modes?

  3. Most importantly for me, What went wrong that caused the crash?

  4. Should Q_VFWD_GAIN be disabled when doing Q_Autotune with Tilt-Rotor Setups?

Posts: 1

Participants: 1

Read full topic

Modes VTOL QuadPlane please

$
0
0

@MartyMcFly wrote:

I no ive asked before but could we please have flight modes so we can assign them to a channel please my radio will not let me set up a six position switch many thank’s in advance

Posts: 3

Participants: 2

Read full topic

Where do I tell arduplane what configuration of airplane I'm flying?

$
0
0

@wsalopek wrote:

In arducopter, I tell the firmware, for starters, two basic things…that I’m flying a quadcopter, and then what type of quadcopter (H-frame, Plus, X, etc).

In arduplane, do I need to tell the firmware that I’m flying a wing, v-tail, conventional plane, etc?

Thanks…

Posts: 3

Participants: 2

Read full topic

'QuadPlane' We have a big problem.

$
0
0

@111170 wrote:

Hello.
There was a big problem with our plane.
First, we put the QuadPlane firmware on pixhawk1.
Second, the parameter of Q_ENABLE was set to 1.
There’s a big problem here.
Four quadcopter motors and no fixed-wing motor.
There is no pwm signal for each channel on the pixhawk.
What’s wrong with you?

Posts: 1

Participants: 1

Read full topic

Need help diagnosing a plane crash during AUTO

$
0
0

@Nihal wrote:

HI,

I had a a new flying that I was testing and it crashed in the middle of an auto mission. The aircraft was tuned in the previous flight and had a good performance. The AUTO flight was going well while it suddenly banked hard in the middle of a straight and spiralled down. It fell down, but didn’t have any major damage (fortunately). I had a look at the logs but couldn’t find any major issues.

I did discover that the trim was a little off. The plane had to apply some UP elevator to fly level in the AUTO flight as seen here. CH 1 and CH2 out are off by about 150ms. THis is a flying wing, so the output mapping is where CH1-low and CH2-high corresponds to the plane pitching UP.

The moment of crash - You can notice that the plane is starting to roll and then lose track of the desired roll and pitch before doom.

Can anyone help me take a shot at this online?

https://drive.google.com/file/d/1gBvsB_ZvoqNYmkJnsOkoFeep1dE6E6jv/view?usp=sharing

Thanks

Posts: 1

Participants: 1

Read full topic

Connecting SITL (Arduplane) to RealFlight 8

$
0
0

@me_As wrote:

Hi everyone,

i’m trying to connect my SITL (Arduplane) on WSL with RealFlight 8, each one has a different IP@
to do that i pursuited this tutorial http://ardupilot.org/dev/docs/sitl-with-realflight.html
i completed the first step of Enabling RealFlight Link Feature & the 8.00.055 is activated
BUT i’m stack to connect RealFlight 8 with SITL, when i try to launch the simulator (knowing that RealFlight is lanched in another machine under the IP@ 192.168.0.110)

cd ~/ardupilot/ArduPlane
sim_vehicle -f flightaxis:192.168.0.110 –console

i get this ERROR

WARNING: no config for frame (flightaxis:192.168.0.110)

Any Help !

Posts: 1

Participants: 1

Read full topic

Reliability of Airspeed sensor

$
0
0

@prohitt wrote:

Hello!

I wanted to know that what if I calibrate airspeed sensor in China and use the same configuration in USA.

What I want to know is that will it give accurate readings in drastic temperature and weather changes?

Thank you.

Posts: 1

Participants: 1

Read full topic


Q_AUTOTUNE - TriCopter Tilt Rotor Results

$
0
0

@ovolkmann wrote:

Hi Everyone!

Just wanted to share with you our results from a few flights using Q_AUTOTUNE to try and improve on the VTOL performance of a tri-copter Tilt-Rotor (vectored yaw) platform. Tuning of each axis took in the range of 6 to 9 minutes (one battery pack per session). One thing we learnt very quickly (and unfortunately) is that some ESCs have a thermal-shutoff which resulted in a crash yesterday. Repairs were made and today we gave the platform ample time to cool off between flights.

Here are log files and videos of the Roll Tuning which was the only axis to successfully complete in one attempt:
https://drive.google.com/drive/folders/1ucuz75uH9rUS2t1DRGB8IxII0ML6Cg8G?usp=sharing

Here are the log files and videos of the Pitch Tuning which took 3 attempts to complete:

1st Attempt:
https://drive.google.com/drive/folders/1YVny_MephJ2xjtiy-V_mzMqrFJeH5Xqz?usp=sharing

2nd Attempt:
https://drive.google.com/drive/folders/1-MOs4rP5Mg4lNb9rkXcpTsEaBGmzepMD?usp=sharing

3rd Success:
https://drive.google.com/drive/folders/1LjdtpmAuT1SksM0EEzokhNhPmwQaeGIU?usp=sharing

Here are the log files and videos of the Yaw Tuning which took 2 attempts to complete thanks to not having level calibrated correctly:

1st Attempt:
https://drive.google.com/drive/folders/14fIppVqtIVNKGr0btYcgdCFoWRRqspD9?usp=sharing

2nd Success:
https://drive.google.com/drive/folders/1bf1lBRO4eou8VsouKaN7Vy9KZDAJKfw1?usp=sharing

AUTOTUNED PIDS SHORT TEST FLIGHT:
https://drive.google.com/drive/folders/1N1SNJMNFUMesEc_i97hBu3dXWFQZGFOV?usp=sharing

Could someone give me some tips on improving the yaw on this platform? Unfortunately I do not think that the YAW Q_Autotune did the best job in getting the wag out of it as you can see in the log files from the “AUTOTUNED PIDS SHORT TEST FLIGHT” logs above. Any other tips/suggestions on the tuning from here would also be greatly appreciated.

All in all, very impressed at how this Q_AUTOTUNE worked! Great job to all the devs and beta testers out there! Hope this effort of ours is useful!

Cheers!

@iampete, @Leonardthall, @tridge, @Naterater

Posts: 4

Participants: 3

Read full topic

Reading Airspeed Out Loud in Mission Planner

$
0
0

@Knerdler wrote:

I’m looking to have airspeed be read out loud in intervals between 1s and 5s. I originally wanted to pass airspeed through the telemetry port to my Taranis X9D but it turns out that PX4 doesn’t support airspeed conversion to SBUS (https://docs.px4.io/en/peripherals/frsky_telemetry.html). Per this documentation (http://ardupilot.org/planner/docs/other-mission-planner-features.html ) it is possible to read out airspeed in “30s Intervals”.

  1. Is there a way to change that interval in the code somewhere?

  2. Is there hardware that can change I2C signal into SBUS and I can insert that into my X8R radio?

  3. Is there a way I can read the airspeed off my screen or have a program access the airspeed within Mission Planner and read it out loud?

I’m happy to explain my setup more if you think there’s an option for reading airspeed out loud unrelated to what I have mentioned. The back-up plan is to just have someone read out airspeed as their only job.

Posts: 3

Participants: 3

Read full topic

Incorrect calculation for nav_roll_cd in L1 Controller

$
0
0

@bnsgeyer wrote:

I need someone to back me up here on this bug I believe I have found. I was reviewing the L1 controller code in an effort to use the controller for heli high speed waypoint navigation. I think the calculation for nav_roll_cd is incorrect. Here is the current code that calculates this variable

int32_t AP_L1_Control::nav_roll_cd(void) const
{
float ret;
ret = cosf(_ahrs.pitch)*degrees(atanf(_latAccDem * 0.101972f) * 100.0f); // 0.101972 = 1/9.81
ret = constrain_float(ret, -9000, 9000);
return ret;
}

My concern is where the multiplication by 100.0f is placed. It is inside the parenthesis for the conversion from radians to degrees. I believe the intent of the multiplication by 100 is to convert the value to centidegrees. in its current form it multiplies the radian value of the roll angle by 100. This line should read
ret = cosf(_ahrs.pitch) * 100.0f * degrees(atanf(_latAccDem * 0.101972f));

@tridge, @rmackay9 who is the right person to verify this?

Posts: 3

Participants: 2

Read full topic

EKF have a glitch in POS.Alt estimation

$
0
0

@thethaibinh wrote:


While flying a quadplane at AUTO mode, the EKF suddenly have a glitch, in which, POS.Alt and POS.RelHomeAlt steeply dropped 120m. It then recovers because of the quadplane actually climbs up to ~300m. The altitude error remains until landing at -80m (appeared in GCS). Could anyone help me explain why and how to fix this?
Thank a bunch.

Posts: 1

Participants: 1

Read full topic

Crash during flight q-plane 3.9.7. Help

$
0
0

@omerd wrote:

Hi.
Could somebody help me analyze my plane log
This was the 10 time I flew this plane,
i was flight about 7 min in 500 radius
during the flight with no command the plane started to turn left in max rate , and get overspeed 31 m/s
and crashed nose down into the ground.

the plane is quad V-tail plane.

I’m afraid there’s a bug, because the incident took place after a few minutes with no command from the ground
I’m flying with the latest version 3.9.7

there is link to the log -


Thank you very much

Posts: 1

Participants: 1

Read full topic

Setting up elavator in hand lauch

$
0
0

@MartyMcFly wrote:

Hello my friends is there a parameter I can set to have say some up elevator in auto hand launch many thank’s

Posts: 2

Participants: 2

Read full topic

Q_Tilt_Mask Parameter Setup

$
0
0

@T.erkam wrote:

Hello, I’m building a VTOL Aircraft which has tilt-quadplanes with the front two motors tilting and Quad-H configuration but I couldn’t understand the explanation of the Q_Tilt_Mask parameter explanation. Could you calculate and explain this parameter for me.
Thanks.

Posts: 2

Participants: 2

Read full topic


DO NOT use DO_LAND_START with Quadplane in current firmware... till this is fixed

$
0
0

@pompecukor wrote:

Hi All,

I already opened and issue in githud. Just decided to post a warning here till the devs get around to it. I know many do not read the github on a daily bases.
This way may save someone else from a nasty surprize.

Short version, do not use Do_land_start in any quadplane mission. Be sure to set Set RTL_Autoland to 0.

Long version… read detailed post on github.

Cheers
Alex

Posts: 1

Participants: 1

Read full topic

Self-mode exchange

$
0
0

@remorem wrote:

Why does the pixhawk cube 2 plane switch to self-stabilized mode when it is in auto and RTL mode?

Posts: 1

Participants: 1

Read full topic

Tailsitter problem at pwm motor

$
0
0

@Malpom wrote:

Hi Friends i have a great problem for my new model in conf. tailsitter.

problem is the stop of pwm exit for motor after conversion in Q flight mode

my configurations is:
Matek 405-wing ( but problem is same whit minipix Holybro and Omnibus)
Firmware the lastest at today 14/4/2019

my configurations start in this mode:

1:First flash firmware arduplane
2:make arhs orietation of board whit 6 (turn 270°)
3:Make a radio travel configurations
4: Make orientation setup and level
5:Reboot
6:remove proprs
7:add at servo configuration left and right motor at servo 1 and servo 2 and elevon servo for make a plane conf. complete.
7:Make arming active for setup travel to esc.
8:Reboot and make a esc setup max to min…

at this time in manual mode the plane works good and trottle works well.

9: active Q mode
10: Reboot
11: active tailsitter conf and x configuration
12: reboot
13: make flight mode :manual, Qstabilize Q loiter for plane Stabilize.FBWA RTH

now try model whit out prop and the problem is:

after transition from manual to Q mode the trottel don’t work…only work in manual and in plane configuration,

if my plane is level when i make a Qmode the trottle increase and the flapperon move up but after 2 seconds motor pwm stop and brake…

add my param list is fome people can help me…

thx for attentiontailsitter malpo.param (22.2 KB)

Posts: 8

Participants: 2

Read full topic

How to write datalogs to SD card?

$
0
0

@justin.mader wrote:

Howdy,

Could someone please point me to the docs that explain how to have datalogs automatically write to the SD card? I’ve found pages that explain how to access the logs but nothing that shows how to write to one. I’m using the Matek F405 Wing board. The build is super tight so the only way to physically access the card is complete disassembly(not ideal). Just want to make sure I’ve got this working before I slap it all back together. Thanks!

Cheers,
Justin

Posts: 3

Participants: 2

Read full topic

Reading an analog sensor

$
0
0

@Corey wrote:

I am trying to read an analog hall effect angle sensor using a Pixhawk 2 running Arduplane 3.9.7. The sensor operates on 5V, but I would think I could use the 3.3V AD port. I can’t find any posts that answer whether a generic analog sensor can be read by the Pixhawk verses specific sensors that are programmed into the firmware. Thanks in advance.

here is the sensor I am trying to use: amazon.com/gp/product/B01G50OHZM

Posts: 1

Participants: 1

Read full topic

Viewing all 7806 articles
Browse latest View live