Search found 332 matches
- Wed Nov 21, 2012 6:10 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
Hi guys, Sorry for delays... My plans was little bit changed... To be honest I did enough for the mwii project and comunity and it's time to do something for myself... So now I'm trying to copy naza behaviour related to AH functions and altitude ascend/descend and going to distribute (individually)...
- Tue Nov 20, 2012 9:24 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
kipkool wrote:As Multiwii is GPL, binary distribution without source is not an option, does this means you will develop a new flightcontroller code from scratch ?
nothing decided exactly yet... but in any case thanks for the info...
- Tue Nov 20, 2012 5:52 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
what you are not surprised?! You know me very well?
- Tue Nov 20, 2012 5:42 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
Hi guys, Sorry for delays... My plans was little bit changed... To be honest I did enough for the mwii project and comunity and it's time to do something for myself... So now I'm trying to copy naza behaviour related to AH functions and altitude ascend/descend and going to distribute (individually) ...
- Tue Nov 13, 2012 10:53 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
dramida wrote:Right now i have issues with arming the copter ...i wrote earlier about this.
I have not reproduced this issue with my AIO...
- Mon Nov 12, 2012 10:26 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
I think something works not as expected in this protection routine, i can assure i wasn't in baro mode and all i had to do was to try a few times and then armed... ok... thanks... I will re-check at home... BTW what do you think on this http://www.multiwii.com/forum/viewtopic.php?f=8&t=2371&...
- Mon Nov 12, 2012 10:14 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
It works fine that release. One point to mention, i observed in this last version that arming the copter with yaw right in not always working. Sometimes when i try to arm the copter, i hear a very short beep and green led from Crius AIOP blinks also shortly. Nothing happens after. After several ate...
- Mon Nov 12, 2012 6:11 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
I tested in-flight altitude hold and in does a far better job than previous R1170. For me was good enough the altitude hold behavior during fast flight. I can see it compensate the throttle when leaning also. Improvement: setting hower throttle to the point where Alt Hold is activated is strange , ...
- Mon Nov 12, 2012 4:47 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
I wonder if your solution will do a decent job on keeping the altitude during movement (real flying). In my 2.1_B[x] releases I tried to play with with solutions (my own and from alexmos)for throttle angle correction: (+) it works for fast forward flight (-) it make a big jumps (3-5m) when you chan...
- Mon Nov 12, 2012 12:37 am
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
And here is the video in witch the variation of altitude is controlled by throttle stick position Many thanks for nice demo! Only one note here. Althold point/zone - it's where it's activated, but not center position. So I will add VARIO code to MultiWii_shared branch and will reduce pids to 15-10 ...
- Sun Nov 11, 2012 6:22 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
I just tested the latest archive release with vario. It works very good with default pids. The video will post this night. A must se video with gps hold and vario baro mode and autolanding. Wow! Thanks a lot! Nice to hear that it works from first implementation attempt! And yes, with vario controll...
- Sun Nov 11, 2012 4:57 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
svn revision: m prepared archive: m Today I tested the r1248 with my 330frame X4 the BARO working fine. Many thanks! I think you was first I hope you are talking about testing "prepared archive" or "svn revision" from links above? i.e. not just r1248, because it hasn't latest ch...
- Thu Nov 08, 2012 9:26 pm
- Forum: Software development
- Topic: mobiDrone nano arduino OSD for MultiWii with PID config
- Replies: 295
- Views: 127070
Re: mobiDrone nano arduino OSD for MultiWii with PID config
1. I noticed a bad flickering, is there a known reason why the OSD is flickering randomly and is invisible sometimes for a few moments, which connection can be the reason. like this m ? http://www.multiwii.com/forum/viewtopic.php?f=8&t=1498&start=160#p24580 2. I believe the artificial horiz...
- Thu Nov 08, 2012 6:43 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
now alt hold is very good in AP mode (ALTHOLD_FAST_THROTTLE_CHANGE commented out) but it's very slow to control height with throttle stick outside deadband. In that solution vertical speed can be regulated by ALT D pid param. I suppose you used D>50. Try to use 30..40 In my config with ALT D=30 max...
- Thu Nov 08, 2012 6:42 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
I'm going to add this code to my branch soon... Done: 1) Vario PID controller implementation. /* In this mode, throttle stick position gives a desired vario. Regulation is divided into two parts, when throttle stick is inside ALT_HOLD_THROTTLE_NEUTRAL_ZONE, * the current althold regulation is used....
- Thu Nov 08, 2012 7:14 am
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
Hi guys, First of all thanks a lot for your ideas and tests. Sorry for delay... unfortunaly I have a lot of work now... Nice to hear that solutions for alt changing works and you found lots of points to improve! But as I told before that solutions more or less acceptable... So I would like to say th...
- Tue Nov 06, 2012 5:20 pm
- Forum: Software development
- Topic: mobiDrone nano arduino OSD for MultiWii with PID config
- Replies: 295
- Views: 127070
Re: mobiDrone nano arduino OSD for MultiWii with PID config
MichalM_sk wrote:Hi, on the first page is link to the schematic but there are some small hardware modifications at this time.
Is this last scheme?
http://www.toptel.sk/multicopter/downlo ... 0_schm.pdf
If no, could share the last one?
- Tue Oct 30, 2012 5:05 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
Don't download or even look at my version m. Could you upload your ZIPs here, because I had some trouble to register on German resource changing the throttle relative to the throttlestick middle will not do a good job If you are talking about first solution (2.a) from link below I found it useful f...
- Mon Oct 29, 2012 11:05 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
diyboy wrote:Is this new routines already implement to MultiWii_dev_r1232?
Can i test it with MultiWii_dev_r1232?
I have merged these solutions with last MultiWii_shared sources... you can take it here http://code.google.com/p/multiwii/sourc ... %2FMahowik
thx-
Alex
- Fri Oct 26, 2012 6:36 pm
- Forum: Ideas
- Topic: Attemp to integrate sonar (ultrasonic sensor)
- Replies: 265
- Views: 225577
Re: Attemp to integrate sonar (ultrasonic sensor)
doughboy wrote:perhaps you got a bad sonar.
It seems all my five sonars are broken...
Last time: just check raw data from sonar but during the inclination make sure that sonar (but not copter) at the same altitude
p.s. pls. look to the directional diagram (beam pattern) http://jaktek.com/wp-content/uploads/20 ... C-SR04.pdf
It helps to understand why...
- Fri Oct 26, 2012 6:28 pm
- Forum: Ideas
- Topic: Attemp to integrate sonar (ultrasonic sensor)
- Replies: 265
- Views: 225577
Re: Attemp to integrate sonar (ultrasonic sensor)
doughboy wrote:or you care to explain why it does not make sense?
As I wrote before... You can see that sonar has a conus-emitter which generates divergent beam... this why it independent for some angle range...
and just check raw data form sonar and you will see
- Fri Oct 26, 2012 6:11 pm
- Forum: Ideas
- Topic: Attemp to integrate sonar (ultrasonic sensor)
- Replies: 265
- Views: 225577
Re: Attemp to integrate sonar (ultrasonic sensor)
tried on concrete floor, with hcsr 04 and srf08, raw reading wasn't at all the same.... may be at 10cm of the floor with ground multipath reflection, but at 1m and more, raw values aren't the same at all. And with tilting correction, readings became stable and precise even with tilt more than 30°/4...
- Thu Oct 25, 2012 6:47 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
I prefer to work with dev files R1177 would be fine, i like to test pls. use the following define in config.h to switch between "alt change" solutions: // Natural alt change for rapid pilots. It's temporary switch OFF the althold when throttle stick is out of deadband defined with ALT_HOL...
- Thu Oct 25, 2012 4:45 pm
- Forum: Ideas
- Topic: Attemp to integrate sonar (ultrasonic sensor)
- Replies: 265
- Views: 225577
Re: Attemp to integrate sonar (ultrasonic sensor)
copterrichie wrote:Why not try two sonars (forward and aft) and compare the two readings? Yes, it is more weight.
you can try, but cheap sonars (like hc-sr04, dyp-me007) need to be handled with interrupt... so if you have resources on your board for this, why not
- Thu Oct 25, 2012 4:29 pm
- Forum: Ideas
- Topic: Attemp to integrate sonar (ultrasonic sensor)
- Replies: 265
- Views: 225577
Re: Attemp to integrate sonar (ultrasonic sensor)
tried on concrete floor, with hcsr 04 and srf08, raw reading wasn't at all the same.... may be at 10cm of the floor with ground multipath reflection, but at 1m and more, raw values aren't the same at all. And with tilting correction, readings became stable and precise even with tilt more than 30°/4...
- Thu Oct 25, 2012 3:59 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
how much did you set your dedaband for althold in config.h file? #define ALT_HOLD_THROTTLE_NEUTRAL_ZONE 20 - default value It depends on expo throttle which is set in GUI... As for me comfortable expo throttle = 35 and ALT_HOLD_THROTTLE_NEUTRAL_ZONE = 40... It helps to find hover point after altitu...
- Thu Oct 25, 2012 3:54 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
Or give us a link to your repository/branch instead ... copy & paste is error prone yep I'm still going to create repo for my own (already 4-6 month) Would it be possible to calibrate acc_1g with the barometer during normal flight? Alexmos implemented this way to find bias (during normal flight...
- Thu Oct 25, 2012 2:20 am
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
dramida wrote:I would very like to test the new routines, Alex please tell us where should we copy-paste and what to delete
What version you would like to test? Dev or 2.1?
I can prepare ZIP file
- Thu Oct 25, 2012 2:07 am
- Forum: Ideas
- Topic: Attemp to integrate sonar (ultrasonic sensor)
- Replies: 265
- Views: 225577
Re: Attemp to integrate sonar (ultrasonic sensor)
arducopter use tilt correction so i think it worth a try As I remember it was commented there... In any case I'm pretty sure and I checked this with at least hc-sr04, dyp-me007 Just do simple test... Start to tilt slowly and till 15-25 degree raw altitude value will be the same... after 15-25 it st...
- Wed Oct 24, 2012 11:31 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
Hi guys, Just to summarize couple of mandatory things which should go with new althold: 1) I made set of tests and can confirm that even mpu6050 requires correct acc_1g offset before motors ON. It helps to keep accZ (and calculated velocity) near zero even with big temperature drift... Tested with d...
- Wed Oct 24, 2012 10:49 pm
- Forum: Ideas
- Topic: Attemp to integrate sonar (ultrasonic sensor)
- Replies: 265
- Views: 225577
Re: Attemp to integrate sonar (ultrasonic sensor)
The only erratics values was above 4/5m where tilting correction gave more wobbly readings. #ifdef SONAR_TILT_CORRECTION float temp = cos(float(angle[1])/10) * cos(float(angle[0])/10); temp = max(temp+0.05, 0.707); temp = constrain(temp,0.707,1.0); temp = (float)sonarAlt * temp; if(temp<sonarAlt) s...
- Tue Oct 23, 2012 5:07 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
Mac9, please stop your fairytales... Not all people here have so good english... As for me I even couldn't translate your posts... It's much better to spent time and read the thread (at least last 10 pages) to resolve your issues related to new althold, than do SPAM here...
- Mon Oct 22, 2012 3:30 am
- Forum: Software development
- Topic: Better MPU6050 support
- Replies: 32
- Views: 20990
Re: Better MPU6050 support
Hi Sebbi !
It's really quite cool what you are doing! Don't stop on this! Thanks a lot!
You know, if you doing this OPEN, a lot of eyes see you...
Really, I'm very appreciate on your effort! Many thanks!
Alex
It's really quite cool what you are doing! Don't stop on this! Thanks a lot!
You know, if you doing this OPEN, a lot of eyes see you...
Really, I'm very appreciate on your effort! Many thanks!
Alex
- Fri Oct 19, 2012 5:50 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
Your change to my code have one dangerous situation. If you arm the copter before "count" reached zero, the count variable is zeroed, and "measured1G" variable is not divided by 8. Then you substract crazy value from accZ. It's very toughly... Also one more issue if do this only...
- Fri Oct 19, 2012 5:33 pm
- Forum: Software development
- Topic: Sponsored software development
- Replies: 34
- Views: 8968
Re: Sponsored software development
That's an interesting bug. I added it to the unofficial Trello board (m). I am not familiar with the GPS code, but after a brief look my theory is: The whole position hold algorithm is based on velocity derived from GPS locations and a target velocity derived from the relative position error. It th...
- Tue Oct 16, 2012 10:43 pm
- Forum: Software development
- Topic: Sponsored software development
- Replies: 34
- Views: 8968
Re: Sponsored software development
Controlled rate of climb/dive by throttle Could you describe in details how you see this? More throttle (from point where althold was activated) => more climb vertical speed? As for me it works in my b2, b3... has some lag but good for smooth altitude tuning, i.e. not for rapid acro fliers Auto-lan...
- Tue Oct 16, 2012 5:09 pm
- Forum: Ideas
- Topic: Attemp to integrate sonar (ultrasonic sensor)
- Replies: 265
- Views: 225577
Re: Attemp to integrate sonar (ultrasonic sensor)
shikra wrote:Alex that is very cool. looking forward to the vid.
Which sensor do you use?
Tried with HC-SR04 on the fly and DYP-ME007 in GUI... Still need to clean up some points and will post the code soon...
- Mon Oct 15, 2012 8:13 pm
- Forum: Software development
- Topic: Multiwii version 2.1.3 beta??
- Replies: 6
- Views: 2708
Re: Multiwii version 2.1.3 beta??
Just suppose that is my 2.1_b3 release viewtopic.php?f=8&t=2371&start=240#p24677 but it hadn't sonar code yet
sonar code is here viewtopic.php?f=7&p=25067#p25067
sonar code is here viewtopic.php?f=7&p=25067#p25067
- Mon Oct 15, 2012 7:37 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
JFSebastian wrote:Guys, this thread is getting very confusing.
What version do I use if I want alt hold that works?
Sebastian
if you want just try pls. use last dev http://code.google.com/p/multiwii/downl ... akechanges
- Mon Oct 15, 2012 7:32 pm
- Forum: Ideas
- Topic: Attemp to integrate sonar (ultrasonic sensor)
- Replies: 265
- Views: 225577
Re: Attemp to integrate sonar (ultrasonic sensor)
Hi guys, I have spent a lot of time this weekend to play with sonar solutions... About implementation from penpen77. I have found our at least 2 main issues with this approach: a) it's requires to average only correct raw sonar data readings but not 9999 b) there was not workable mix from sonar to b...
- Mon Oct 15, 2012 4:31 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
1) could very well be, have to confirm is EstAlt was lagging behind ... but the copter was hovering for a few seconds before I activated alt hold. Will try to log that behaviour tomorrow to confirm. I think, but not sure that altitude drop after switch althold on can be caused by 1G constants diffe...
- Sat Oct 13, 2012 5:46 am
- Forum: Software development
- Topic: Position Hold using Accelerometers global vectors
- Replies: 86
- Views: 36565
Re: Position Hold using Accelerometers global vectors
ok, you have velocity in earth frame. What is next? next it's possible to improve gps velocity and increase precision of position hold (PH) http://www.multiwii.com/forum/viewtopic.php?f=8&t=2503&start=10#p23631 so about solution for PH... i see the following: 1) get global x, y axis... actu...
- Thu Oct 11, 2012 4:46 am
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
Hi Alex, 1) could very well be, have to confirm is EstAlt was lagging behind ... but the copter was hovering for a few seconds before I activated alt hold. Will try to log that behaviour tomorrow to confirm. 2) and yeah, i noticed in another flight that the code counteracts whatever I do with the t...
- Wed Oct 10, 2012 6:08 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
I'm going to post it with b3 soon... Hi guys, Here is b3... Also RTH video with ALT_TO_RTH (If Alt-hold activated during the RTH or RTH during Alt-hold, it will keep specified altitude... =10m in config) and ALT_TO_RTH_FINISH (altitude after RTH, i.e. when copter reached to home position... =3m in ...
- Wed Oct 10, 2012 6:00 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
mahowik, I tested your baro code (the part that is in dev _shared) today and made some observations (using default alt PIDs of 5.0 0.020 30): 1) as soon as I activate alt hold the copter drops 1-2 meters 2) it did hold the altitude somewhat by not going below that initial drop, but gained altitude ...
- Tue Oct 09, 2012 10:19 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
Hi guys, On these weekend I have fixed some bugs in b2 and made RTH video with ALT_TO_RTH (If Alt-hold activated during the RTH or RTH during Alt-hold, it will keep specified altitude) and ALT_TO_RTH_FINISH (altitude after RTH, i.e. when copter reached to home position). 2- Altitude control (up and ...
- Tue Oct 09, 2012 5:19 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
if you want to try alt hold you can use any version specified above...
If you can't to get it working, see this viewtopic.php?f=8&t=2371&p=23923#p23819
If you can't to get it working, see this viewtopic.php?f=8&t=2371&p=23923#p23819
- Tue Oct 09, 2012 3:40 pm
- Forum: Software development
- Topic: mobiDrone nano arduino OSD for MultiWii with PID config
- Replies: 295
- Views: 127070
Re: mobiDrone nano arduino OSD for MultiWii with PID config
MichalM_sk wrote:Hi, there are some noise (sinchronisation) problems with your hw configuration.
I have reproduced this issue (one to one) on my hardware too...
Also I have found out that is not possible to turn off bat2 by config... //#define BAT2
thx-
Alex
- Mon Oct 08, 2012 5:16 pm
- Forum: Software development
- Topic: Altitude Hold improvement solution
- Replies: 580
- Views: 1586695
Re: Altitude Hold improvement solution
yes, for r1143 you should apply this fix viewtopic.php?f=8&t=2371&start=210#p24276
- Mon Oct 08, 2012 1:36 am
- Forum: Ideas
- Topic: A super acccurate MultiWii version?
- Replies: 28
- Views: 11726
Re: A super acccurate MultiWii version?
My 5 cents here Right mathematics w/o approximations and simplifying it's good but actually I suppose you will get only cycle time increasing, because: - gyro drift much more than inaccuracy by approximations (as I remember from playing with itg3200) in current implementation of rotation matrix - gy...