Acro mode! And more...

News, Setup, Compiling, Flashing, Development

Acro mode! And more...

Postby Max » Fri Apr 15, 2016 3:54 am

Hi all,

I've published a new round of changes, including the long-awaited "acro," or rate-control mode. There are quite a few new features and improvements overall. Two rate-control modes, in fact ;)

I/we will need to work on documenting everything more/better, but for now I'll just post what I have and fill in the details later. Read the tooltips in QGC by hovering over the config fields, there is a lot of documentation in there.

All changes so far are merged into one new branch of the code repo, named "feature_integration".

First up is the (somewhat terse) changes list: https://github.com/mpaperno/aq_flight_c ... CHANGES.md

(The REAL changes list: https://github.com/mpaperno/aq_flight_c ... ntegration :geek: )

Firmware builds: ftp://ftp.autoquad.org/3/334693_22529/a ... tegration/

Updated QGC 1.7 Beta 3 with GUI for all the new setup goodies:

Taranis scripts for S-Port implementation: Will publish these soon. https://github.com/mpaperno/AQ-OTx-Lua The essential data like voltage is in standard format, works with any S-Port device/script. Custom script is needed to show things like flight mode, battery %, GPS status, etc. The physical connection between AQ and S-Port capable Rx requires a hardware adapter (same as a PX4 needs, for example).

Update 13-Nov-2016 - Taranis Lua scripts now published: https://github.com/mpaperno/AQ-OTx-Lua

Simulator: More information posted here.

As always, your feedback is appreciated and necessary -- good or bad. I've flown this myself in real life and many hours in the sim, but as always test carefully. If you crash while in acro mode, don't blame the code! :twisted:

More later,
-Max


RC-settings.png
RC-settings.png (48.5 KiB) Viewed 4405 times


Control.png
Control.png (22.2 KiB) Viewed 4405 times


Attitude-PID.png
Attitude-PID.png (24.19 KiB) Viewed 4405 times


Misc-settings.png
Misc-settings.png (33.97 KiB) Viewed 4405 times


taranis-telem1-v1-nocurr.png
taranis-telem1-v1-nocurr.png (18.33 KiB) Viewed 4401 times


taranis-telem1-callouts.png
Max
 
Posts: 2814
Joined: Mon Aug 13, 2012 9:45 pm
Location: Near Ithaca, NY, USA

Re: Acro mode! And more...

Postby Max » Fri Apr 15, 2016 4:45 am

Some notes about acro/rate mode:

  • It can be used with either Quatos or PID controller.
  • For PID there is a separate set of parameters -- the defaults work for me but likely need to be tuned.
  • Quatos requires no special tuning for rate mode.
  • For both controllers, rate mode can be tuned using new Tilt Rate setting (degrees per second at full sticks) and the new Tilt Rate "Smoothing Filter" -- lower filter numbers mean crisper control. The defaults are fairly conservative -- if you're a good pilot you'll probably want to make those more agressive.
  • Remember to adjust expos/rates on your Tx, a lot about how the controls feel will depend on your radio.
  • If you cut throttle completely (eg. while inverted), you will turn the motors off and will not have any control. When doing flips it is best to keep the throttle above "off" position. One way to ensure this is to set up your radio to change the minimum throttle setting while in acro mode.
  • The new, optional, auto-throttle-cut feature makes it less necessary to move throttle stick all the way down when inverted.
  • Rate mode does work simultaneously with with altitude hold, though obviously it can't "hold altitude" when inverted or at 90* tilt. If you set an aggressive climb rate and maximum ascent speed in AQ settings, it is possible to do flips while in altitude-hold mode -- AQ will cut power while inverted and then try to quickly recover when right-side-up again.

-Max
Max
 
Posts: 2814
Joined: Mon Aug 13, 2012 9:45 pm
Location: Near Ithaca, NY, USA

Re: Acro mode! And more...

Postby nigelUNO » Fri Apr 15, 2016 7:00 am

Hi Max,
Keep up the good Work!!!!!!!

Ciao
nigelUNO
 
Posts: 11
Joined: Wed Apr 13, 2016 1:52 pm

Re: Acro mode! And more...

Postby aBUGSworstnightmare » Fri Apr 15, 2016 9:12 am

Thanks Max! Well done!

EDIT: DOES NOT RUN RELIABLE ON RPI3! NEED TO FIGURE OUT WHAT'S GOING ON!
Looks like I've screwed up one of the uSD cards while testing VLC with hardware acceleration. All fine after a fresh startover :idea: Will prepare an uSD card image of my current card and put into Dropbox.

I've attached a compiled version for Raspberry Pi3 in case anybody of you want's to test it. Will add a link to my dropbox folder later.
2016-04-15-080526_1122x769_scrot.png
Latest QGC running on Raspberry Pi
Last edited by aBUGSworstnightmare on Fri Apr 15, 2016 6:28 pm, edited 2 times in total.
aBUGSworstnightmare
 
Posts: 1460
Joined: Fri Jun 22, 2012 5:24 pm

Re: Acro mode! And more...

Postby Luxar » Fri Apr 15, 2016 9:39 am

Great work !!!


Gruß Ralf
Greetings from Germany - Ralf
Luxar
 
Posts: 53
Joined: Mon Dec 30, 2013 12:20 pm

Re: Acro mode! And more...

Postby Simson » Fri Apr 15, 2016 10:35 am

Max,
awesome, you increased the number of Waypoints to 100.
That's great.
I'm looking forward to test that out.
I let you know.
Thanks a lot for the great work!
Cheers, Harry
Simson
 
Posts: 62
Joined: Tue Jan 20, 2015 1:07 pm

Re: Acro mode! And more...

Postby teramax » Fri Apr 15, 2016 12:18 pm

well Max, if i had no chair under my but i woud have needed one instantly.
Am i dreaming?
AQ´s going acro, how cool is that :o
somehow everything can fly
http://www.youtube.com/user/ter4m4x
teramax
 
Posts: 500
Joined: Sun Sep 02, 2012 11:19 pm
Location: Lower Austria

Re: Acro mode! And more...

Postby whizz101 » Fri Apr 15, 2016 12:45 pm

Great stuff! Thanks Max. Looking forward to some new flight possibilities. !
whizz101
 
Posts: 82
Joined: Thu Oct 16, 2014 9:00 pm

Re: Acro mode! And more...

Postby JussiH » Fri Apr 15, 2016 5:39 pm

Yup, we are lucky to have Max.

Great work!

Thanks

Jussi
JussiH
 
Posts: 2103
Joined: Thu Jun 21, 2012 9:25 pm

Re: Acro mode! And more...

Postby funth1ngs » Fri Apr 15, 2016 5:54 pm

Hi Max,

thank you very much for your great work!

I found an issue with yaw in manual mode:

After the motors are started, the copter always yaws north. It's possible to change (and hold) the yaw direction in flight, but when I land and restart the motors the copter yaws north again.

Cheers,
Heiko
funth1ngs
 
Posts: 52
Joined: Tue Jul 03, 2012 3:57 pm

Next

Return to AQ Firmware

Who is online

Users browsing this forum: No registered users and 2 guests