Search found 11 matches

by ctzsnooze3
Sat Dec 13, 2014 1:03 pm
Forum: Software development
Topic: How to know if FC is inverted?
Replies: 0
Views: 989

How to know if FC is inverted?

Hi I'm experimenting with inverted flight, and I need a variable that indicates the angle of the accelerometer while inverted. att.angle[PITCH] appears to max out at 90 degrees (vertical), at 10 per degree of rotation. If the FC is rotated past vertical vertical to inverted, this value does not incr...
by ctzsnooze3
Wed Dec 03, 2014 1:02 pm
Forum: Ideas
Topic: Horizon mode enhancement? = Disable levelling when near vert
Replies: 1
Views: 1939

Re: Horizon mode enhancement? = Disable levelling when near

If anyone is interested, I think that I may have arrived at a possible solution, thanks to the assistance of several people here: in multiwii.cpp, at #if PID_CONTROLLER == 1 // evolved old school comment out the default so it's like this: //if ( f.HORIZON_MODE ) prop = min(max(abs(rcCommand[PITCH]),...
by ctzsnooze3
Wed Dec 03, 2014 1:01 pm
Forum: Software development
Topic: Horizon mode only when horizontal? - fun idea?
Replies: 5
Views: 2269

Re: Horizon mode only when horizontal? - fun idea?

Try this? in multiwii.cpp, at #if PID_CONTROLLER == 1 // evolved old school comment out the default so it's like this: //if ( f.HORIZON_MODE ) prop = min(max(abs(rcCommand[PITCH]),abs(rcCommand[ROLL])),512); then put this in its place: // this uses equal angle and horizon mode corrections - limited ...
by ctzsnooze3
Mon Dec 01, 2014 3:17 pm
Forum: Software development
Topic: Horizon mode only when horizontal? - fun idea?
Replies: 5
Views: 2269

Re: Horizon mode only when horizontal? - fun idea?

I also wondered what would happen if you over-wrote the 50 degrees max inclination to say 90 degrees?
C
by ctzsnooze3
Mon Dec 01, 2014 12:39 pm
Forum: Software development
Topic: Horizon mode only when horizontal? - fun idea?
Replies: 5
Views: 2269

Re: Horizon mode only when horizontal? - fun idea?

Hi Patrick Thanks to your advice I found the AcroTrainer code. It seems to be an all or none switch, operable in Angle mode, that disables all modes (i.e. puts you into Acro) when the sum of the roll and pitch sticks add up to a value exceeding the AcroTrainer value. It could be useful as a testing ...
by ctzsnooze3
Sun Nov 30, 2014 9:24 am
Forum: Software development
Topic: Horizon mode only when horizontal? - fun idea?
Replies: 5
Views: 2269

Horizon mode only when horizontal? - fun idea?

Hi - and my apologies for cross-posting... I fly a lot in Horizon mode and I really enjoy it. I do quick flips, rolls etc and have a great time. To whoever made it - thank you! I've noticed, however, that when near-vertical (i.e. nose pointing to sky), the quad is very uncomfortable - with hardly an...
by ctzsnooze3
Sun Nov 30, 2014 9:14 am
Forum: Ideas
Topic: Horizon mode enhancement? = Disable levelling when near vert
Replies: 1
Views: 1939

Horizon mode enhancement? = Disable levelling when near vert

Hi I fly a lot in Horizon mode and I really enjoy it. I do quick flips, rolls etc and have a great time. To whoever made it - thank you! I've noticed, however, that when near-vertical (i.e. nose pointing to sky), the quad is very twitchy - with hardly any throttle at all, it very strongly wants to l...
by ctzsnooze3
Thu Oct 30, 2014 9:58 am
Forum: MultiWii tweaking - flying experience
Topic: D term scaling (PID tuning)
Replies: 2
Views: 2452

Re: D term scaling (PID tuning)

HI You might be trying to tune D in the wrong direction. Most of us think that higher D numbers mean *more* Differential component in a classical PID algorithm. Actually, in multiwii, it is the other way around. See m Higher D numbers in the GUI actually *reduce* the Differential component of a clas...
by ctzsnooze3
Fri Aug 08, 2014 9:31 am
Forum: Software development
Topic: What happens if ACC / Level Mode PID's are set to/near zero
Replies: 2
Views: 1328

Re: What happens if ACC / Level Mode PID's are set to/near z

Isn't the Pitch/Roll PID Rate applicable to gyros in all modes - not just Horizon mode? Are you absolutely certain that it applies to Acc? As far as I'm aware, the Pitch/Roll PID Rate value reduced gyro PID's at high stick values. I didn't think it has anything at all to do with Horizon mode or with...
by ctzsnooze3
Thu Aug 07, 2014 8:04 am
Forum: Software development
Topic: Using Acc signal for lateral position stability?
Replies: 0
Views: 910

Using Acc signal for lateral position stability?

Hi I find Level andHorizon modes great. I understand that they use the Acc signal to keep the frame level. I notice also that Baro mode uses the Acc signal for the D component of it's PID algorithm, and that seems to me to work really well for short-term stability in the vertical plane. So obviously...
by ctzsnooze3
Thu Aug 07, 2014 7:55 am
Forum: Software development
Topic: What happens if ACC / Level Mode PID's are set to/near zero
Replies: 2
Views: 1328

What happens if ACC / Level Mode PID's are set to/near zero

Hi In Horizon mode, the documentation for 2.2 says that there is a gradual removal of the Acc contribution (becoming more like manual/acro) when pitch/roll sticks are moved away from centre. I've tried this mode and like it a lot. This functionality implies that it is possible in software to reduce ...