What you can certainly do is to allow an output driver to load two mixers and blend between them. I think it boils down to how exactly the attitude influences mixing. However, I keep thinking that you need to do this in the controller, since its so vehicle dependent (not only on attitude, but also on speed, amongst other things I can think of). If you fly with a transitioning rotorcraft at 45 degrees pitch its not clear if you're trying to be a quad leaning against the wind or if you're an airplane trying to gain altitude quickly.
-Lorenz
------------------------------------------------------
Lorenz Meier
Institute for Visual Computing
ETH Zurich
http://www.inf.ethz.ch/personal/lomeier/
On Feb 25, 2013, at 11:05 AM, buzz <
davi...@gmail.com<mailto:
davi...@gmail.com>>
wrote:
Actually... can the PX4 built-in mixing already do all of this?
Lorenz, Could I setup a PX4 native mixer so that it mixed the control surfaces differently based on the the current *attitude* of the airframe? Is this available in the PX4 mixer? ( eg, for prop-hang type scenario? )
On 25 February 2013 19:58, buzz <
davi...@gmail.com<mailto:
davi...@gmail.com>> wrote:
my imagination says that in the same way we can proportionally increase aileron throw to account for lower aircraft speed, we could proportionally mix other more complex systems to account for all these kinds of behaviours.
the key is determining what source data could possibly be relevant for all mixings:, beyond all the usual position/velocity/attitude/acceleration data, the only other things I can see that might need "mixing" are the RC inputs. I'm no expert but I think other sensors like airpeed and rpm would best be left out of this, as their primary purpose is to make sure the AHRS is correct.
I think each mixer would be critically tied to a primary data source ( such as speed or an attitude angle) , and as that one changes, the mixer would follow. we are already comfortable with mixing tables for Quad/Hexa/Octa/H/T/+/X/Tri layouts in copters. ( for the math, see here:
http://paparazzi.enac.fr/wiki/RotorcraftMixing )
I guess I'm proposing that instead of limiting the math to computing the needed "throttle commands for each of the motor controllers.", we could do all control surfaces on all aircraft types? Maybe.
On 25 February 2013 19:16, Randy Mackay <
rmac...@yahoo.com<mailto:
rmac...@yahoo.com>> wrote:
I should clarify my position though that when I said, "i'm skeptical..." I meant I'm skeptical about the old APO stuff which tried to mash everything together including user input, main loops, etc into one big program. I agree that there's more sharing we could do across planes and copters if that's what you're getting at.
for the specific case of the copter and looks like a box kite and can fly sideways, I think that one is much more like a copter so I'd extend the copter code. For the planes that can land vertically, i think they're basically planes with a special trick when it comes time to land...so i'd use the plane code.
..but not trying to be a downer...i'd be very happy if someone with more imagination than me can come up with an elegant method to capture the differences in apparently very different airframes to allow us to bring it together more.
-Randy
________________________________
From: buzz <
davi...@gmail.com<mailto:
davi...@gmail.com>>
To:
drones-...@googlegroups.com<mailto:
drones-...@googlegroups.com>
Sent: Monday, February 25, 2013 5:37 PM
Subject: Re: [drones-discuss] AHRS_ORIENTATION option - mount your APM/PX4 in any orientation
Hi, Randy,
How would you propose supporting the following then: a quad/plane hybrid ( which currently would require ArduCopter and ArduPlane to be mashed together ) , or some sort of single-prop aircraft that can "prop hang", and then behave somewhat like a coaxial helicopter?
Buzz.
On 25 February 2013 18:10, Randy Mackay <
rmac...@yahoo.com<mailto:
rmac...@yahoo.com>> wrote:
I believe that james goppert tried to do something like that with the APO stuff. I'm a bit skeptical that trying to abstract it that far is really helpful. At some point the method used to capture the differences is just as complex as having two separate programs.
-Randy
________________________________
From: buzz <
davi...@gmail.com<mailto:
davi...@gmail.com>>
To: Andrew Tridgell <
tri...@samba.org<mailto:
tri...@samba.org>>
Cc:
drones-...@googlegroups.com<mailto:
drones-...@googlegroups.com>
Sent: Monday, February 25, 2013 4:23 PM
Subject: Re: [drones-discuss] AHRS_ORIENTATION option - mount your APM/PX4 in any orientation
I think that having a mixing strategy that lets the airframe implementer describe how much a certain channel or source of data X has control over rotation, for a given body angle Y ( or attitude angle Y in earth frame, if that helps ) would be flexible enough to support just about anything.
eg1: In a classical shape airframe at normal attitudes and speeds, the ailerons controls (say) 95% of roll ( in earth frame ) , and engine RPM controls 5% of roll ( torque roll in opposite direction). In a "prop hang" scenario, the earth-frame change means that "roll" ( in the earth frame) is controlled almost entirely (100%) by rudder ( prop airflow over rudder tilts airframe left-right a bit ) , and engine rpm controls altitude ( 100%) as well as the efficacy of the tail surfaces ( perhaps as a 20% mix ) , and the ailerons only act as anti-torque and yaw surfaces ( 99% mixing to yaw, where 1% is from rpm)?
Yes, all of these control mixings have much different behaviour in different attitudes, so there would be a need for the implementer of the aircraft and/or design to build a mixing table for any major airframe types, but then Quads and Planes and transitioning vehicles could use the same underlying control behaviours.
did I just make sense to anyone, it makes sense in my head. :-)
Buzz
To unsubscribe from this group and stop receiving emails from it, send an email to
drones-discus...@googlegroups.com<mailto:
drones-discuss%2Bunsu...@googlegroups.com>.
To unsubscribe from this group and stop receiving emails from it, send an email to
drones-discus...@googlegroups.com<mailto:
drones-discuss%2Bunsu...@googlegroups.com>.
To unsubscribe from this group and stop receiving emails from it, send an email to
drones-discus...@googlegroups.com<mailto:
drones-discuss%2Bunsu...@googlegroups.com>.
To unsubscribe from this group and stop receiving emails from it, send an email to
drones-discus...@googlegroups.com<mailto:
drones-discuss%2Bunsu...@googlegroups.com>.
To unsubscribe from this group and stop receiving emails from it, send an email to
drones-discus...@googlegroups.com<mailto:
drones-discus...@googlegroups.com>.