Search found 332 matches
- Thu Sep 20, 2012 2:34 am
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
Re: Altitude Hold improvement solution
I did some more testing with mahowik's code today, tweaking the PID values. Getting there, but my current config reacts very aggressively against changes (you can hear the motors revving up and down quickly). There is a noticeable effect, but I'm still struggling to find the optimal values (it stil...
- Mon Sep 17, 2012 2:08 am
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
Re: Altitude Hold improvement solution
Hi guys, Thanks a lot to all for feedback! As for now i have a vacation in Mexico an I'm far from my toys Also i have internet only on reception with my android so it's not so useful to write a lot... sorry... I think if you are going to include this to next release, it make sense to add it as exper...
- Sat Sep 15, 2012 11:10 am
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
Re: Altitude Hold improvement solution
Tazzy wrote:How about to put the code implemented in a ready to try zip file, then i think a lot of none coders also will try it out and give some feedback.
Thanks for help!
You can just replace IMU.ino or take full sketch here http://forum.rcdesign.ru/blogs/83206/blog15204.html
- Fri Sep 14, 2012 8:30 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
- Fri Sep 14, 2012 5:06 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
Re: Altitude Hold improvement solution
Many thanks for quick response! Without any tuning, and quite windy weather, it holds within one meter... .... MPU6050 and BMP-085 baro (whichs drifts by one meter already on the table...) within one meter in windy weather - it's very good results for bmp085 (its precision about +/-1m) even AFTER tu...
- Fri Sep 14, 2012 4:00 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
Re: Altitude Hold improvement solution
Guys! Any news? Also I see very strange behavior of some guys here (like topic starter). Two weeks ago they screamed: "altitude hold is the weakest function in MWC!!!" etc. But now when real solution is provided, they even have not interest with this... Veeeeeeeeeery strange... jealousy or...
- Wed Sep 12, 2012 5:36 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
Re: Altitude Hold improvement solution
can you see the right velocity on debug2 during the vertical movements? e.g. start move up with ~1m/s and stop after 1s you should see positive spike about 80..120 on debug2 try to test this when motors OFF (and then when motors ON) without alt hold activated http://www.multiwii.com/forum/download/f...
- Wed Sep 12, 2012 5:10 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
Re: Altitude Hold improvement solution
timecop wrote:Also I'm not having very clear accZ effect - its there, but not as much as in demo video.
have you tried to check in GUI as I described above?
- Wed Sep 12, 2012 2:25 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
Re: Altitude Hold improvement solution
copterrichie wrote:I get better than +/- 50cm with nothing but Throttle control.
E.g. you can keep with more precise on altitude >30m during FPV in wind?
@copterrichie: again especially for you! stop SPAM!
- Wed Sep 12, 2012 2:06 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
Re: Altitude Hold improvement solution
if you are talking about sketch from this post http://www.multiwii.com/forum/viewtopic.php?f=8&t=2371&start=40#p22485, yes there are more changes, but related to the new alt hold - all in IMU.ino... I have a look to your code changes, seems it's ok. So pls. check the following: - cycle time ...
- Wed Sep 12, 2012 5:22 am
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
Re: Altitude Hold improvement solution
Hi guys! All necessary changes for new baro+acc alt hold only in one file IMU.ino You can just compare this with official IMU.ino from 2.1 version with any merge tool and apply necessary diff where you want: dev or your own... 1) for ms5611 - pls. use IMU_ms5611.ino 2) for bmp085 - at first also try...
- Tue Sep 11, 2012 1:38 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
Re: Altitude Hold improvement solution
Also here is little bit refactored version for ms5611 #define UPDATE_INTERVAL 25000 // 40hz update rate (20hz LPF on acc) #define INIT_DELAY 4000000 // 4 sec initialization delay #define BARO_TAB_SIZE 21 #define ACC_Z_DEADBAND (acc_1G/50) void getEstimatedAltitude(){ static uint32_t deadLine = INIT_...
- Tue Sep 11, 2012 1:33 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
Re: Altitude Hold improvement solution
Update: I tried again with Ales's code, now I succeed, with the 5;0,030;30 PIDs it works great, even in windy conditions with GPS hold!!! Many thanks for the tests! Which acc and baro you are using? my current PIDs 5.2 - 0.020 - 30 @timecop: I also tried to test bma020+bmp085 yesterday (in GUI only...
- Mon Sep 10, 2012 9:10 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
Re: Altitude Hold improvement solution
Today I flew with alt hold and I can say it is satisfying stable. It could be better but right now, I got the sweet spot. 20 cm of error. Video soon. Do you want to test baro+acc solution? http://www.multiwii.com/forum/viewtopic.php?f=8&t=2371&p=22485#p22485 As I remember default 2.1 alt ho...
- Mon Sep 10, 2012 6:29 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
Re: Altitude Hold improvement solution
probably bmp085 no so precise and has big noise for this solution/approach... i will check in a few day...
- Mon Sep 10, 2012 5:30 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
Re: Altitude Hold improvement solution
mahowik I will try to do a test of your code tomorrow. With old algo I can get a very good althold while hover. But It would be a plus if I can do dynamic movements at same altitude. one more advantage with using acc+baro algorithm: when you go up/down with velocity of 1-2m/s and activate alt hold,...
- Mon Sep 10, 2012 5:01 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
Re: Altitude Hold improvement solution
Guys! Pls. stop this SPAM!!! This topic about alt-hold improvement solutions!!!
- Mon Sep 10, 2012 4:36 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
Re: Altitude Hold improvement solution
Here is your statement:"Yes, expo throttle can help to keep altitude BUT not for long term and in calm..." How do you define LONG TERM ? In other words, what does Long Term means to you? I mean when you tune expo throttle in mwii from GUI (or on your TX) it's very simple to find the throt...
- Mon Sep 10, 2012 4:19 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
Re: Altitude Hold improvement solution
copterrichie wrote:Define long term?
not sure that i understood the question...
- Mon Sep 10, 2012 3:44 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
Re: Altitude Hold improvement solution
copterrichie wrote:Just curious here being what controls Altitude on a Rotor copter is the throttle, have anyone made any adjustments to the MWC's Throttle Curve? Personally, I get good altitude holding without the usage of a baro.
Yes, expo throttle can help to keep altitude BUT not for long term and in calm...
- Mon Sep 10, 2012 3:20 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
Re: Altitude Hold improvement solution
I moved this code to baseflight and tried it out. Turning on baro just makes quad instantly shoot up in the air. I see some attempts at keeping altitude, but its very erratic and 'strong', I guess due to P=5.0. Changes are here: m I'm pretty sure I carried everything over same way - and I tried thi...
- Mon Sep 10, 2012 5:43 am
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
Re: Altitude Hold improvement solution
Hi guys! This weekend I became restless again that we are worse than others! I have already tried and spent too much time 6-8 month ago without real success, but today I have collected all my knowledge again and made second attempt. In two words! Now I can say "I got real results with baro+acc ...
- Mon Sep 03, 2012 1:50 am
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
Re: Altitude Hold improvement solution
pm1 wrote:And her a vido showing PH+Alt hold: https://vimeo.com/48646152
It's not quite correct to test algoritms based on baro data near the ground. Because if altitude less than 60-100cm you get -1..2m in measuring because of the air cushion effect there...
- Mon Sep 03, 2012 1:41 am
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
Re: Altitude Hold improvement solution
Hi guys, if someone interesting, here is accZ calculation invarianted from inclination. It's projection of ACC vector to global Z axis (estimated by gyro vector G), with 1G subtructed: (I got this during a lot of discussions with alexmos on althold...) Math: accZ = A * G / |G| - 1G int16_t invG = In...
- Fri Aug 31, 2012 9:56 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
Re: Altitude Hold improvement solution
Hi, ... - double integrated ACC data and errors accumulations... exactly my experience too. I did then concentrate on baro only, I denoise the input in a different way. I now have a D term, which prevents fast vertical velocity. In hover I it is as good as the baro delivers (sometimes I see jumps o...
- Fri Aug 31, 2012 3:20 am
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1591998
Re: Altitude Hold improvement solution
Hi, I have spent tooooo much time with alt hold improvements 6-8 months ago... And can say exactly that main issue is: ACC values should be double intergrated before correction according baro values (e.g. by using Complementary Filter) AND after that integrations it's far from the real distance... T...
- Wed Aug 29, 2012 4:31 pm
- Forum: Software development
- Topic: mobiDrone nano arduino OSD for MultiWii with PID config
- Replies: 295
- Views: 127370
Re: mobiDrone nano arduino OSD for MultiWii with PID config
MichalM_sk wrote:it should work fine.
New PRE7.5 version available on my codepage.
Great!
So it means that it has auto recognition of RSSI type? I.e. analogue or PWM?
- Tue Aug 28, 2012 3:32 pm
- Forum: Software development
- Topic: mobiDrone nano arduino OSD for MultiWii with PID config
- Replies: 295
- Views: 127370
Re: mobiDrone nano arduino OSD for MultiWii with PID config
Hi Michal,
Does it possible to support RSSI (PWM) in your project?
Some receivers has RSSI in PWM. E.g. D8R-XP http://www.frsky-rc.com/ShowProducts.asp?id=126
thx-
Alex
Does it possible to support RSSI (PWM) in your project?
Some receivers has RSSI in PWM. E.g. D8R-XP http://www.frsky-rc.com/ShowProducts.asp?id=126
thx-
Alex
- Wed Aug 15, 2012 3:59 am
- Forum: Ideas
- Topic: Direct Frsky telemtry data from MW FC
- Replies: 359
- Views: 1160168
Re: Direct Frsky telemtry data from MW FC
I'm not sure, if I understood the byte stuffing method correctly, if not, can anyone explain me how it works??? Yes, it's correct. It gives possibility: 1) to pass 0x5E as data (not as header) with replacing it to 0x5D 0x3E 2) to pass 0x5D as data (with replacing it to 0x5D 0x3D) because 0x5D disca...
- Mon Aug 13, 2012 4:30 am
- Forum: Ideas
- Topic: Direct Frsky telemtry data from MW FC
- Replies: 359
- Views: 1160168
Re: Direct Frsky telemtry data from MW FC
i hope in r769 it stores the datas in eeprom already... last changes:
http://code.google.com/p/er9x/source/br ... /frsky.cpp
FAS100 fixes,Voice on A1/A2
fixes,Inactivity alarm fix,TelemetrEZ
support, flash saving
but need to try to make sure though...
Actually open9x in most cases the same or it's fully another firmware (features, gui etc.)?
http://code.google.com/p/er9x/source/br ... /frsky.cpp
FAS100 fixes,Voice on A1/A2
fixes,Inactivity alarm fix,TelemetrEZ
support, flash saving
but need to try to make sure though...
Actually open9x in most cases the same or it's fully another firmware (features, gui etc.)?
- Sat Aug 11, 2012 2:37 am
- Forum: Ideas
- Topic: Direct Frsky telemtry data from MW FC
- Replies: 359
- Views: 1160168
Re: Direct Frsky telemtry data from MW FC
@tobi86: you was right... frsky receiver not so clever as I supposed before I have success with passing GPS speed every 125ms...
- Sat Aug 11, 2012 2:32 am
- Forum: Ideas
- Topic: Direct Frsky telemtry data from MW FC
- Replies: 359
- Views: 1160168
Re: Direct Frsky telemtry data from MW FC
mahowik - there's a bug in the baseflight implementation of frsky tele and yours - you need to do xor-stuffing when the output sequence has 0x5e in it - check the pDF and er9x implementation for example. Ive been meaning to fix this in my code, not often occuring condition but still needs to be tak...
- Fri Aug 10, 2012 11:37 pm
- Forum: Ideas
- Topic: Direct Frsky telemtry data from MW FC
- Replies: 359
- Views: 1160168
Re: Direct Frsky telemtry data from MW FC
- e.g. it doesn't make sense to send GPS_speed and Course every 500ms because frsky receiver will send it every 1 sec. No, YOU can decide how often the Datas will be send. Only if you use the FrSky sensor hub, the Datas will be send as defined in the source code of this hub. If you copy GPS speed f...
- Fri Aug 10, 2012 5:02 am
- Forum: Ideas
- Topic: Direct Frsky telemtry data from MW FC
- Replies: 359
- Views: 1160168
Re: Direct Frsky telemtry data from MW FC
So I tested this and can say that is works fine (take no more than 2-3ms in jumps!), but have not checked this in real flight though... I made some changes according to V2.0 of "Frame Protocol of FrSky Telemetry Hub System" m - e.g. it doesn't make sense to send GPS_speed and Course every ...
- Thu Aug 09, 2012 11:29 pm
- Forum: Ideas
- Topic: Direct Frsky telemtry data from MW FC
- Replies: 359
- Views: 1160168
Re: Direct Frsky telemtry data from MW FC
You guys write about using a simple inverter for the TTL to RS232 (why Frsky, why?!?!) conversion. Does that really work? I mean you'd normaly need negative voltage for a 1 ... don't you? I bought a level converter that is really big, so I am interested in shrinking its size (and use your code for ...
- Thu Aug 09, 2012 11:16 pm
- Forum: Ideas
- Topic: Direct Frsky telemtry data from MW FC
- Replies: 359
- Views: 1160168
Re: Direct Frsky telemtry data from MW FC
In the original MultiWii code only Serial Port0 (the port used for programming and config with the FTDI) is driven via interrupts. I configured serial3 in FrSky_telemetry.ino like serial port0 of the original Multiwii version. I don't use SerialWrite(). I use instead write_FrSky8() and at the end o...
- Thu Aug 09, 2012 9:28 pm
- Forum: Ideas
- Topic: Direct Frsky telemtry data from MW FC
- Replies: 359
- Views: 1160168
Re: Direct Frsky telemtry data from MW FC
It must take much more than 10ms if you don't use interrupts and transfer datas with 9600 baud! 1 Bit takes 104 us --> 1 Byte (8 bit + 1 start bit + 1 stop bit) = 1 ms --> One Value (1 * Header, 1 * Data ID, 2 * Data) 4 Byte = 4 ms --> only GPS Datas with 10 Data IDs (Position 6, speed 2, alt 2) = ...
- Thu Aug 09, 2012 6:09 pm
- Forum: Ideas
- Topic: Direct Frsky telemtry data from MW FC
- Replies: 359
- Views: 1160168
Re: Direct Frsky telemtry data from MW FC
Wow! Great job! Thanks a lot! It seems we are in sync with our investigation! Actually last night i have soldered an inverter (tranzistor + 3 resistors) and used the code base of this thread (but not yours yet ). I have played with "ALL IN ONE PRO Flight Controller v1.0" based on mega2560 ...
- Fri Aug 03, 2012 5:14 pm
- Forum: Ideas
- Topic: Direct Frsky telemtry data from MW FC
- Replies: 359
- Views: 1160168
Re: Direct Frsky telemtry data from MW FC
I agree. All my MWC models have a Pro Mini and I didn't want to give up the GUI's serial port. With that in mind, I'm finishing up my FrSky interface and it involves a slave processor that acts as a I2C bridge. That is to say, the FrSky FAS-100 current sensor and telemetry R/C Rx plug into the brid...
- Tue Jul 31, 2012 3:55 pm
- Forum: Software development
- Topic: MultiWii release 2.1 is here :)
- Replies: 52
- Views: 46952
Re: MultiWii release 2.1 is here :)
Hi guys,
Which Arduino IDE version is preferable to use for compile 2.1? I'm still using Arduino 1.0, but probably Arduino 1.0.1 is more right for some special features of 2.1?
thx-
Alex
Which Arduino IDE version is preferable to use for compile 2.1? I'm still using Arduino 1.0, but probably Arduino 1.0.1 is more right for some special features of 2.1?
thx-
Alex
- Tue Jul 24, 2012 5:37 am
- Forum: Software development
- Topic: MultiWii release 2.1 is here :)
- Replies: 52
- Views: 46952
- Tue Jul 24, 2012 5:35 am
- Forum: Software development
- Topic: Defines for Chinese IMUs
- Replies: 66
- Views: 53806
Re: Defines for Chinese IMUs
it seems I have found a bug. For new CRIUS_AIO_PRO_V1 board obsolete MPU6050_EN_I2C_BYPASS define is used... It should be new one MPU6050_I2C_AUX_MASTER #if defined(CRIUS_AIO_PRO_V1) #define MPU6050 #define HMC5883 #define MS561101BA #define ACC_ORIENTATION(X, Y, Z) {accADC[ROLL] = -X; accADC[PITCH]...
- Mon Jul 23, 2012 5:19 pm
- Forum: Software development
- Topic: mobiDrone nano arduino OSD for MultiWii with PID config
- Replies: 295
- Views: 127370
Re: mobiDrone nano arduino OSD for MultiWii with PID config
Solutions for better visibility in direct sunlight (stronger background) http://i49.tinypic.com/s16blf.png 1. Remove resistor shown in Figure. 2. If it is still weak, change resistor for background with value about 20 ohm. What is the resistor numbers from scheme here m need to be changed/removed? ...
- Mon Jul 09, 2012 9:29 pm
- Forum: Software development
- Topic: Let's try to release 2.1: first try based on r949
- Replies: 74
- Views: 21285
Re: Let's try to release 2.1: first try based on r949
I just flew with Alex Hex6+ I wish I had put it on a switch for comparison, but can say it works fine. And subjectively it felt better flying. Last time it it just didn't feel quite right..... I didn't have that feeling this time. Shikra, thanks for the quick response! It seems we have found right ...
- Mon Jul 09, 2012 6:33 pm
- Forum: Software development
- Topic: Let's try to release 2.1: second try based on r964
- Replies: 65
- Views: 24818
Re: Let's try to release 2.1: second try based on r964
about mixes and throttle expo: viewtopic.php?f=8&t=1973&p=18348#p18348
- Mon Jul 09, 2012 6:31 pm
- Forum: Software development
- Topic: Let's try to release 2.1: first try based on r949
- Replies: 74
- Views: 21285
Re: Let's try to release 2.1: first try based on r949
Hi, I understand the coeff are not correct in the original version, but something seems wrong here because the weight of ROLL factor for 4&5 motors shouldn't be the same as the others. Hi Alex, I have got a couple of good feedbacks for these new mixes on russian forum: m m Actually the logic is...
- Fri Jul 06, 2012 7:41 pm
- Forum: Software development
- Topic: mobiDrone nano arduino OSD for MultiWii with PID config
- Replies: 295
- Views: 127370
Re: mobiDrone nano arduino OSD for MultiWii with PID config
Where it's possible to download PRE7? I see on download page only PRE6
https://code.google.com/p/mobidrone/downloads/list
https://code.google.com/p/mobidrone/downloads/list
- Sun Jul 01, 2012 2:33 am
- Forum: Software development
- Topic: Anyone can please explain the HEX/HEX6X mix tables?
- Replies: 2
- Views: 1586
- Sun Jul 01, 2012 2:16 am
- Forum: Software development
- Topic: Let's try to release 2.1: first try based on r949
- Replies: 74
- Views: 21285
Re: Let's try to release 2.1: first try based on r949
Nice to hear Alex! I found 2 bugs: 1) incorrect mixes for HEX6 and HEX6X. We have found out that it has not proportional weight/power for roll and pitch, e.g. for HEX6X: #ifdef HEX6X motor[0] = PIDMIX(-1/2,+1/2,+1); //REAR_R motor[1] = PIDMIX(-1/2,-1/2,+1); //FRONT_R motor[2] = PIDMIX(+1/2,+1/2,-1);...
- Tue Jun 26, 2012 3:23 am
- Forum: Software development
- Topic: mobiDrone nano arduino OSD for MultiWii with PID config
- Replies: 295
- Views: 127370
Re: mobiDrone nano arduino OSD for MultiWii with PID config
Hi, it is not possible to connect two devices to one serial port. You need i2c gps board to solute it. Hi Michal, But actually if you don't need configure/init (with PMTK commands) GPS from arduino (or crius etc.) it's possible to use only TX from GPS and RX on arduino side accordingly. So we have ...