Search found 26 matches
- Tue Oct 15, 2013 7:27 pm
- Forum: Software development
- Topic: Release v2.3 is coming soon... prepare
- Replies: 96
- Views: 46876
Re: Release v2.3 is coming soon... prepare
to be honest I've kinda given up on Baro on my Crius AIOP v2 board ... I got down to -12m (and still descending) the other night while my quad was sat on the floor for about 20 mins for some testing of the latest pre release version. Same for me, I never got good results on altitude with my AIOP V2...
- Sun Oct 13, 2013 5:09 pm
- Forum: Software development
- Topic: Release v2.3 is coming soon... prepare
- Replies: 96
- Views: 46876
Re: Release v2.3 is coming soon... prepare
Hi,
One question: do you plan to integrate changing pids with POT value and Ziegler-Nichols algorythm as described here:
viewtopic.php?f=7&t=1701
?
Thanks
One question: do you plan to integrate changing pids with POT value and Ziegler-Nichols algorythm as described here:
viewtopic.php?f=7&t=1701
?
Thanks
- Tue Apr 23, 2013 10:31 pm
- Forum: Ideas
- Topic: Altitude, baro and MS5611
- Replies: 28
- Views: 10902
Re: Altitude, baro and MS5611
yes, you're right, the compiler do not cast implicitely intermediate result:
http://www.avrfreaks.net/index.php?name ... 61&start=0
http://www.avrfreaks.net/index.php?name ... 61&start=0
- Sat Apr 20, 2013 1:49 pm
- Forum: Software development
- Topic: List of problems in Version2.2
- Replies: 58
- Views: 20732
Re: List of problems in Version2.2
Hi, I found that constant GYRO_SCALE in the code is computed at each loop. It looks weird to rely on the computer to dothis optimisation. What do you think ? in IMU.ino #define GYRO_SCALE ((2279 * PI)/((32767.0f / 4.0f ) * 180.0f * 1000000.0f)) //(ITG3200 and MPU6050) ... void getEstimatedAttitude()...
- Thu Apr 18, 2013 7:59 pm
- Forum: Ideas
- Topic: Altitude, baro and MS5611
- Replies: 28
- Views: 10902
Re: Altitude, baro and MS5611
New fights test today Well, I am not yet convinced by alti, but it starts working a bit. I now understand better the problems: the baro pressure is not accurate enough and need to be averaged. ok I have done a runing average on 32 values. As the estimated altitude function is supposed to be running ...
- Wed Apr 17, 2013 12:52 pm
- Forum: Ideas
- Topic: Altitude, baro and MS5611
- Replies: 28
- Views: 10902
Re: Altitude, baro and MS5611
I tried to integrate Mahovic code in my 2.2, but it does not give better result. So, I'll stick with my own code changes and the running average. It seems to give the best results (on the graph at least) from all I tried. Once I have understood and implement how the altitude pid works, I'll try agai...
- Wed Apr 17, 2013 12:46 pm
- Forum: Ideas
- Topic: Altitude Correction With Changing Air Pressure
- Replies: 3
- Views: 1822
Re: Altitude Correction With Changing Air Pressure
You could also think of having a second baro on the kopter and take an average of both. My guess is that the baro should not drift that much if it is sufficiently compensated.
- Sat Apr 13, 2013 10:42 pm
- Forum: Ideas
- Topic: Changing PID Values with a Pot
- Replies: 73
- Views: 57559
Re: Changing PID Values with a Pot
I understand that conf.P8/I8/D8 values are correct, but the way they are displayed is not. There should be a reason, but i don't know it. May be someone can explain ?
- Sat Apr 13, 2013 10:37 pm
- Forum: Ideas
- Topic: Altitude, baro and MS5611
- Replies: 28
- Views: 10902
Re: Altitude, baro and MS5611
I use version 2.2, and I understood that code from mahovik was integrated in that version. I flew again today, stability with gyro and pid set with Ziegler-Nichols is sooo good. Stable mode could be better not as good as naza. Alti still does not workwell , I get big variation between +-3 meters eve...
- Thu Apr 11, 2013 7:12 pm
- Forum: Ideas
- Topic: Altitude, baro and MS5611
- Replies: 28
- Views: 10902
Re: Altitude, baro and MS5611
while this code takes care of the wait time for the temperature/pressure conversion inside the barometer (see documentation of the MS5611 and different timing for the BMP baro). Agree, but 40Hz is not that much, especially with a running average based on 32 values. Anyway, it should'nt solve my bad...
- Thu Apr 11, 2013 10:55 am
- Forum: Ideas
- Topic: Altitude, baro and MS5611
- Replies: 28
- Views: 10902
Re: Altitude, baro and MS5611
Hi, When I move up or down the quadro, I see baro(Alt) changing on the graph almost immediately. So i assumes that the running average on 32 values does not really induce significant lag. Yesterday I did flight test with my code changes. Very disapointing. The altiltude hold does not work better, ev...
- Tue Apr 09, 2013 10:06 pm
- Forum: Ideas
- Topic: Altitude, baro and MS5611
- Replies: 28
- Views: 10902
Re: Altitude, baro and MS5611
The last graphs on baroPressure value show that the value is still not regular enough. So I try to make a running average on that value and see the result. i use a table with 32 entries, which is quite a lot of computations still, but gives better results: in IMU.ino #if defined MS561101BA #define B...
- Tue Apr 09, 2013 8:49 pm
- Forum: Ideas
- Topic: Altitude, baro and MS5611
- Replies: 28
- Views: 10902
Re: Altitude, baro and MS5611
Bonjour Alexinparis
In the MS5611 datasheet, ms561101ba_ctx.c[] is an unsigned int 16. So shifting left should not a be problem and values subtracted should still be within int32 range.
In the MS5611 datasheet, ms561101ba_ctx.c[] is an unsigned int 16. So shifting left should not a be problem and values subtracted should still be within int32 range.
- Tue Apr 09, 2013 7:34 pm
- Forum: Ideas
- Topic: Changing PID Values with a Pot
- Replies: 73
- Views: 57559
- Tue Apr 09, 2013 1:01 pm
- Forum: Ideas
- Topic: Altitude, baro and MS5611
- Replies: 28
- Views: 10902
Re: Altitude, baro and MS5611
Scales are the sames, if you compare those 2: with alt: http://www.multiwii.com/forum/download/file.php?mode=view&id=2119 with baroPressure instead of alt http://www.multiwii.com/forum/download/file.php?id=2124 Thanks for the hint about baroTabSize. I'll try also with my own mean average calcula...
- Mon Apr 08, 2013 10:23 pm
- Forum: Ideas
- Topic: Altitude, baro and MS5611
- Replies: 28
- Views: 10902
Re: Altitude, baro and MS5611
So let's continue the story.. I checked the baroPressure value just after the temperature and pressure compensation as recommended by MS5611 datasheet. To view that value, I changed the "Altitude" by "baroPressure" value in datas sent by kopter to the PC. The result is this, the ...
- Mon Apr 08, 2013 9:43 pm
- Forum: Ideas
- Topic: Changing PID Values with a Pot
- Replies: 73
- Views: 57559
Re: Changing PID Values with a Pot
Could these calculations also be done in the GUI, freq and ku instead of PID values? Are the GUI values = program config. values? I suspect not, the formulas with the osc. frequency of 2Hz, P and I should have the same value, this is not the case in the GUI (P=3.3 I=0.045 for example)! Very confusi...
- Mon Apr 08, 2013 9:26 pm
- Forum: Ideas
- Topic: Altitude, baro and MS5611
- Replies: 28
- Views: 10902
Re: Altitude, baro and MS5611
Does it really make a difference if you do the lengthy calculation after the temperature readout instead of the pressure readout? I don't expect real diference. A good baro is a baro with a lot of lag so it averages over a long time and then the pressure is pretty stable. But since this one needs t...
- Sun Apr 07, 2013 11:47 pm
- Forum: Ideas
- Topic: Altitude, baro and MS5611
- Replies: 28
- Views: 10902
Altitude, baro and MS5611
I 'd like to start a new thread related to ALT hold and MS5611. Yes, another thread on same topic you could say, but the idea is to use it also as a reminder for myself After several tests, and several trial of PID tuning, I was unhappy with the altitude hold. My quadro flies pretty well on gyro and...
- Sun Apr 07, 2013 10:49 pm
- Forum: Ideas
- Topic: Changing PID Values with a Pot
- Replies: 73
- Views: 57559
Re: Changing PID Values with a Pot
By default PPM signal out on the 8FG is 8 channels. 12Ch out can be configured in the trainer menu, but I am not sure it works; at least it does not between two 8FG. Also, the multiconf does not show chanels above 8, but if you affect pot like I did, you should see related config values changing in ...
- Sat Apr 06, 2013 6:12 pm
- Forum: Getting Started - MultiWii config and setup
- Topic: SBUS
- Replies: 1
- Views: 893
SBUS
SBUS does not work for me. Most channels are working fine, but I can see on multiwii.conf a lot of jitter on some channels.
Has anyone experience same problem ?
Has anyone experience same problem ?
- Sat Apr 06, 2013 6:00 pm
- Forum: Ideas
- Topic: Changing PID Values with a Pot
- Replies: 73
- Views: 57559
Re: Changing PID Values with a Pot
I made a new version with 4 more pots in order to use 12 channels total. RC must be PPM (SBUS does not work for me) to get 12 channels. Now, I can tune almost all in flight (gyro R+P), level, alti, pos, posR, navrR (oy yaw). Your RC should have enough pots of course to do this. In multiwii.ino, at t...
- Thu Apr 04, 2013 1:24 pm
- Forum: Ideas
- Topic: Changing PID Values with a Pot
- Replies: 73
- Views: 57559
Re: Changing PID Values with a Pot
to 4eprops: yes <first post edited>
- Thu Apr 04, 2013 10:45 am
- Forum: Ideas
- Topic: Changing PID Values with a Pot
- Replies: 73
- Views: 57559
Re: Changing PID Values with a Pot
just replace all "div_int" by "/"
- Thu Apr 04, 2013 9:13 am
- Forum: Ideas
- Topic: Changing PID Values with a Pot
- Replies: 73
- Views: 57559
Re: Changing PID Values with a Pot
ah, yes i forgot this: at the end of the annexCode() function
- Wed Apr 03, 2013 10:09 pm
- Forum: Ideas
- Topic: Changing PID Values with a Pot
- Replies: 73
- Views: 57559
Re: Changing PID Values with a Pot
(post edited)Hi, I just tried the PID tuning together with the Ziegler-Nichols method on my quadri. I am pretty impressed, so far it works great. Before I was trying to tune by hand but never get good results. One pot (aux3) is for for gyro roll and pitch (same values for both), and one pot for leve...