Search found 13 matches

by iosonologio
Sun Oct 20, 2013 3:23 pm
Forum: Software development
Topic: Release v2.3 is coming soon... prepare
Replies: 96
Views: 46946

Re: Release v2.3 is coming soon... prepare

because baro signal is not updated internally so fast. See Baro_update() function and you will see you can't expect a new value sooner than 20ms after the previous one. I agree on Baro being updated every 20ms. But signal in multiwii config is received only every 300ms or so (please correct me here...
by iosonologio
Wed Oct 16, 2013 10:53 am
Forum: Software development
Topic: Release v2.3 is coming soon... prepare
Replies: 96
Views: 46946

Re: Release v2.3 is coming soon... prepare

Those are board related problems (or warming up, or simply weather change on a 20 min timescale). My was an issue about software. I repeat the question. Baro signal has some aliasing (i.e.: two successive points with the same value), that happens really often (every 3-5 points). Since the signal in ...
by iosonologio
Tue Oct 15, 2013 12:40 pm
Forum: Software development
Topic: Release v2.3 is coming soon... prepare
Replies: 96
Views: 46946

Re: Release v2.3 is coming soon... prepare

What about MultiWii conf. The Mac version has some troubles with the bluetooth, it is extremely slow. I know nothing about processing, so it would be better if somebody else tackles the issue. Second problem, i have noticed some issues in the baro signal on Multiwii conf: Baro signal has some aliasi...
by iosonologio
Thu Oct 10, 2013 6:21 am
Forum: Software development
Topic: Matlab serial connection
Replies: 3
Views: 1717

Re: Matlab serial connection

fscanf reads one line untill a terminator byte (LF or CR). arduino standard code uses LF as terminator for serial communication, It looks like i have to fread the serial communication (byte by byte) and parse it depending on the length of data. I should manage now. I will post here results (if anybo...
by iosonologio
Wed Oct 09, 2013 10:36 pm
Forum: Software development
Topic: Matlab serial connection
Replies: 3
Views: 1717

Matlab serial connection

I tried today to stream the data from the debug values directly into matlab, to do a little data analysis (that perversion is what happens when you study engineering). I wonder if somebody better than me in matlab or multiwii serial protocol can help me. The matlab code is fairly simple c=serial('/d...
by iosonologio
Tue Oct 08, 2013 3:21 pm
Forum: Software development
Topic: Enquiries about codings: Data units and Gyro & acc
Replies: 5
Views: 2525

Re: Enquiries about codings: Data units and Gyro & acc

I will try to answer. Please more experienced developers correct me. Your questions refer to the old-stile Alex PID controller. The PID works in three possible modes. The standard ACRO mode, ANGLE_MODE and HORIZON_MODE. HORIZON mode is actually only a combination of the other two (and i will not dis...
by iosonologio
Tue Oct 01, 2013 9:26 pm
Forum: Software development
Topic: Suggestion small altitude variations in althold
Replies: 1
Views: 999

Re: Suggestion small altitude variations in althold

I implemented the change as follows in Multiwii.cpp i modified the baro code: #if BARO && (!defined(SUPPRESS_BARO_ALTHOLD)) /* Smooth alt change routine , It's slowly increase/decrease * altitude proportional to stick movement (+/-100 throttle gives about +/-50 cm in 1 second with cycle time...
by iosonologio
Tue Oct 01, 2013 3:28 pm
Forum: Software development
Topic: What about axisPID[THROTTLE]
Replies: 2
Views: 1222

Re: What about axisPID[THROTTLE]

Global trust due to THROTTLE is something which is constant whatever axisPID values. Well, that's only partially true, with the new THROTTLE_ANGLE_CORRECTION the trust depend on the angle. and even more, throttle angle correction and althold work on rcCommand[THROTTLE] directly, in separate part of...
by iosonologio
Mon Sep 30, 2013 1:57 pm
Forum: Software development
Topic: What about axisPID[THROTTLE]
Replies: 2
Views: 1222

What about axisPID[THROTTLE]

It is bugging me a little bit how rcCommand[THROTTLE] is used both for the RC input and for the throttle output. To the point that correction on the throttle are done like rcCommand[THROTTLE]+= throttleAngleCorrection; Wouldn't it be more coherent with the rest of the code to have a value axisPID[TH...
by iosonologio
Sun Sep 29, 2013 6:56 pm
Forum: Software development
Topic: Suggestion small altitude variations in althold
Replies: 1
Views: 999

Suggestion small altitude variations in althold

At the moment is possible to vary the altitude by setting a temporary new altitude via the throttle stick. This is than taken by the Proportional part and give an effective throttle variation. Now, i believe that is not the best implementation, due to noise in baro signal the alt P is quite small. M...
by iosonologio
Fri Sep 27, 2013 12:22 pm
Forum: Software development
Topic: Altitude Hold improvement solution
Replies: 580
Views: 1593971

Re: Altitude Hold improvement solution

Yep.. i suspected so. I will test the actual code a deeply and see if it needs improvement :)
by iosonologio
Thu Sep 26, 2013 1:05 pm
Forum: Software development
Topic: Release v2.3 is coming soon... prepare
Replies: 96
Views: 46946

Re: Release v2.3 is coming soon... prepare

yes- i have same GUI overflow. Wasn't sure if it was just me as I was running it within processing - on win7 How the fuk do you people manage to get 100s of com ports in your system? Is this something FTDI drivers do? (luckily I never had more than one FTDI dongle). And why are they all appearing a...
by iosonologio
Tue Sep 24, 2013 9:32 am
Forum: Software development
Topic: Altitude Hold improvement solution
Replies: 580
Views: 1593971

Re: Altitude Hold improvement solution

Hi everybody. Well, let's just say that i started flying around last month, but i have some experience in arduino coding (and that's why i got to use multiwii). I like the job that has been done with multiwii and i hope to be helpful in the future. I was reading trough the Altitude hold code as of r...