tag:blogger.com,1999:blog-5078759924767413133.post6721658674969789322..comments2023-10-13T09:08:03.136+02:00Comments on Patrik Emilsson: Multiwii GPS AirplanePatrikhttp://www.blogger.com/profile/11823937159483839548noreply@blogger.comBlogger74125tag:blogger.com,1999:blog-5078759924767413133.post-26618735129669783062018-06-19T16:20:27.784+02:002018-06-19T16:20:27.784+02:00Hi, Patrick. Thank you for supporting this topic!
...Hi, Patrick. Thank you for supporting this topic!<br />Let the question on the iron.<br />I`am planing to use the Pro Mini 328 5/16, MPU6050 3 Axis gyro, NEO-6 V3.0 and Crius I2C-GPS.<br />1) Do you need MPU6050 in the GPS option?<br />2) If yes, are the SDA/SCL bus from Crius connecting to the SDA_A/SCL_A bus of the MPU6050 module?<br />3) Neo 6 V3.0 is compatible with multiwii 2.4?<br /><br />Thank you in advance!Anonymoushttps://www.blogger.com/profile/05911459994338242890noreply@blogger.comtag:blogger.com,1999:blog-5078759924767413133.post-12565751815699868252018-05-31T14:09:15.483+02:002018-05-31T14:09:15.483+02:00Hi Patrik
want to know if the Waypoints are funct...Hi Patrik <br />want to know if the Waypoints are functioning on the 2.4v of multiwii WinGUI <br /><br />I yet to try it out on the flying wing<br />anything I needed to know when setting up a missioncliffhttps://www.blogger.com/profile/08519776409423209250noreply@blogger.comtag:blogger.com,1999:blog-5078759924767413133.post-36001973818450741652017-12-31T23:49:47.877+01:002017-12-31T23:49:47.877+01:00Angle is always active if Failsafe is activated!.
...Angle is always active if Failsafe is activated!.<br />You probably experience that.<br />If any of Your RC channels is lower than "failsafe threshold"(980µs) the controller will detect Failsafe.<br />Trim your TX endpoints to the standard 1000 - 2000 range.<br /><br />Or if you simply test it without radio connected it will also detect failsafe.<br /><br />Have a Happy New Year<br />And have happy flights.Patrikhttps://www.blogger.com/profile/11823937159483839548noreply@blogger.comtag:blogger.com,1999:blog-5078759924767413133.post-45690346233618495682017-12-28T20:20:34.797+01:002017-12-28T20:20:34.797+01:00Hi Patrik,
sorry, but I have another question. Aft...Hi Patrik,<br />sorry, but I have another question. After uploading your sketch "151120" to my flight controller, I could see in the GUI that the "ANGLE" mode is always active, regardless of my AUX switch positions.<br />Is this a safety feature and by what is this regulated in the sketch? How can I switch off the ANGLE mode when I want e.g. Passthru or other flight modes?<br />Regards<br />Gerd<br />p.s. hope you have had a Merry Christmas!?Gerdhttps://www.blogger.com/profile/16567688122065093256noreply@blogger.comtag:blogger.com,1999:blog-5078759924767413133.post-25687933368712128092017-12-26T14:38:06.263+01:002017-12-26T14:38:06.263+01:00Patrik,
could download the file now. I'll try ...Patrik,<br />could download the file now. I'll try the firmware as soon as the weather permits.<br />Thank yoe very much.<br />GerdGerdhttps://www.blogger.com/profile/16567688122065093256noreply@blogger.comtag:blogger.com,1999:blog-5078759924767413133.post-88062783955937542962017-12-25T21:48:52.534+01:002017-12-25T21:48:52.534+01:00Hi Gerd,
I have had server crash and fall files i...Hi Gerd,<br /><br />I have had server crash and fall files isnt'restored proporly.<br />But now you should find it at..<br />http://panoramaic.se/files/MWii/MultiWii_FWnav_151120.zip<br />Actual file have today's date though but i keep the name for revision.<br /><br />If i remember correct it's basically same as MultiWii_FW_150431 but with added Angle Pid attenuation.<br />I use 151120 in my Bixler and still like it better than Basflight.<br />BF is easier to config though.<br /><br />Good luck<br />/PatrikPatrikhttps://www.blogger.com/profile/11823937159483839548noreply@blogger.comtag:blogger.com,1999:blog-5078759924767413133.post-50649637582436115032017-12-25T16:58:56.890+01:002017-12-25T16:58:56.890+01:00Hi Patrik,
thanks for your effort creating an airp...Hi Patrik,<br />thanks for your effort creating an airplane-MWI. What is the most recent version of your MultiWii which works flawless? Is it the "MultiWii_FW_150431 with failsafe fix" from panoramaic.se? Then I have it already. <br />And what is about your "MultiWii_FWnav_151120.rar" you announced in the very long thread on rcgroups.com? Is it only experimental? I can't found it anywhere for download.<br />Thanks<br />GerdGerdhttps://www.blogger.com/profile/16567688122065093256noreply@blogger.comtag:blogger.com,1999:blog-5078759924767413133.post-12536338223113146492017-12-14T18:34:53.202+01:002017-12-14T18:34:53.202+01:00Hi Chris,
I did some tests on the bench.
I can ena...Hi Chris,<br />I did some tests on the bench.<br />I can enable Hold on my setup.<br />Checked on Osd and Gui.<br /><br />Ensure you set the correct checkboxes.Patrikhttps://www.blogger.com/profile/11823937159483839548noreply@blogger.comtag:blogger.com,1999:blog-5078759924767413133.post-76674429045658794332017-11-26T21:00:01.902+01:002017-11-26T21:00:01.902+01:00Hi Patrik,
Yesterday i have a maiden with the fpv...Hi Patrik, <br />Yesterday i have a maiden with the fpv49 (trond) delta wing. <br />It flies like a dream. RTH is working great. But PosHold isn´t working. <br />I checked it via Bluetooth and EZ GUI: POS HOLD cannot be activated via<br />AUX. I checked it at Home too via GUI: GPS FIX is there, 10-11 Sattelites,<br />RTH is working but not POS HOLD. Have You any suggestions? <br />Thanks<br />ChrisAnonymoushttps://www.blogger.com/profile/05489949757902746389noreply@blogger.comtag:blogger.com,1999:blog-5078759924767413133.post-7153775800803477522017-11-16T07:28:18.748+01:002017-11-16T07:28:18.748+01:00Hi Patrik,
thank you for your quick answer. This ...Hi Patrik, <br />thank you for your quick answer. This solved my problem. And you have saved me a few night´s. Thank You!Anonymoushttps://www.blogger.com/profile/05489949757902746389noreply@blogger.comtag:blogger.com,1999:blog-5078759924767413133.post-66144835430940141622017-11-15T08:30:51.801+01:002017-11-15T08:30:51.801+01:00Hi Christian,
It's never to late.
I still fly...Hi Christian,<br /><br />It's never to late.<br />I still fly MWii in a Bixler and in Radjet800.<br /><br />In GPS.h you can find a active #define FAILSAFE<br />It just assumes that if you use a GPS Fail safe should be active.<br /><br />If you use a PPM receiver you have to define the PPM protocol.<br />And identify what pin to use.<br />Normal pwm reciever (one lead for each channel) should work direct as default.<br /><br />/PatrikPatrikhttps://www.blogger.com/profile/11823937159483839548noreply@blogger.comtag:blogger.com,1999:blog-5078759924767413133.post-84396780765345760252017-11-14T23:33:56.858+01:002017-11-14T23:33:56.858+01:00Hi, i hope it's Not to late for Questions.
Whe...Hi, i hope it's Not to late for Questions.<br />When i Power on the fc the beeper plays the failsafe "panic" pattern from Alarms. Cpp. I don't know why. I cant use throttle, pitch and aileron on my tx. In mw gui the failsafe throttle value is displayed, whereas in config.h. h failsafe is Not activated???Anonymoushttps://www.blogger.com/profile/05489949757902746389noreply@blogger.comtag:blogger.com,1999:blog-5078759924767413133.post-13867734963995654112017-01-13T20:11:58.560+01:002017-01-13T20:11:58.560+01:00Hi, Patrick!
Gathered on your schedule v 2.3
Com...Hi, Patrick! <br />Gathered on your schedule v 2.3 <br />Compiles CRIUS_LITE board <br />and other fees, is not compiled <br />Board CRIUS_SE v.2.0 <br />Why? Thank you!<br />collect2.exe:error:Id returned 5 exit statusAnonymoushttps://www.blogger.com/profile/04594543861965429198noreply@blogger.comtag:blogger.com,1999:blog-5078759924767413133.post-88160898399594951352016-07-06T09:31:44.970+02:002016-07-06T09:31:44.970+02:00Updated the linksUpdated the linksPatrikhttps://www.blogger.com/profile/11823937159483839548noreply@blogger.comtag:blogger.com,1999:blog-5078759924767413133.post-5634559779240052112016-07-06T04:02:52.727+02:002016-07-06T04:02:52.727+02:00Hello PatrikE,
Could you please update the link fo...Hello PatrikE,<br />Could you please update the link for your code as it no longer seems to work.<br />ThanksAlexNhttps://www.blogger.com/profile/01085820190271398228noreply@blogger.comtag:blogger.com,1999:blog-5078759924767413133.post-41059640083570044382016-03-16T09:08:29.289+01:002016-03-16T09:08:29.289+01:00Thanks!
It's work!Thanks!<br />It's work!Michaelhttps://www.blogger.com/profile/10957043115600950999noreply@blogger.comtag:blogger.com,1999:blog-5078759924767413133.post-81253712369973588742016-03-15T21:25:31.457+01:002016-03-15T21:25:31.457+01:00Some news in the newer versions of Ardiono IDE!..
...Some news in the newer versions of Ardiono IDE!..<br /><br />Remove (static const) from the line in PIDCtrl.h<br /><b>static const</b> float _filter = 7.9577e-3; // Set to "1 / ( 2 * PI * f_cut )";<br />Then it should compile.Patrikhttps://www.blogger.com/profile/11823937159483839548noreply@blogger.comtag:blogger.com,1999:blog-5078759924767413133.post-39606330050702150282016-03-15T19:44:21.603+01:002016-03-15T19:44:21.603+01:00Hi, Patrik!
Can't understand what i did wrong....Hi, Patrik!<br />Can't understand what i did wrong.<br />When i cheking the i2c_gps code i have an error: <br />Arduino: 1.6.8 (Windows 10), <br />PIDCtrl.h:87: error: 'constexpr' needed for in-class initialization of static data member 'const float PIDCtrl::_filter' of non-integral type [-fpermissive]<br /><br /> static const float _filter = 7.9577e-3; // Set to "1 / ( 2 * PI * f_cut )";<br /><br /> ^<br /><br />exit status 1<br />'constexpr' needed for in-class initialization of static data member 'const float PIDCtrl::_filter' of non-integral type [-fpermissive]<br /><br />Michaelhttps://www.blogger.com/profile/10957043115600950999noreply@blogger.comtag:blogger.com,1999:blog-5078759924767413133.post-78063584614457491472015-11-30T18:06:16.835+01:002015-11-30T18:06:16.835+01:00Hi Frederic,
The failsafe is spread over several ...Hi Frederic,<br /><br />The failsafe is spread over several files.<br />You can search in all files for.<br />f.FS_MODE & f.FAILSAFE_RTH_ENABLE<br /><br />Then you will find all appearances.<br /><br />Chatting here don't feel right.<br />It would be easier to move the discussion to another place.<br />Skype, FB messenger or Hangouts,<br />I have sent a Hangout request to you.Patrikhttps://www.blogger.com/profile/11823937159483839548noreply@blogger.comtag:blogger.com,1999:blog-5078759924767413133.post-75946869894180508142015-11-30T16:58:59.935+01:002015-11-30T16:58:59.935+01:00Hi Patrik
just tested 150431FSFix using your las...Hi Patrik<br /><br />just tested 150431FSFix using your last version, reusing only my config.h , gps.h, and def.h , as we said yesterday..<br /><br />RTH and Mission still work nice,<br /><br />but Failsafe still behaves the same way:<br /><br />when I turn off TX, the plane says RTH but flies away........I wait some time but......it executes RTH only when I turn on TX again...<br /><br />toggling RTH on-off doesn't allow to take control again... and the plane continues RTH....<br />I had to desarm-rearm in flight to take control...and land.. (anyway, I'm not as frightened as the first time ;-) )<br /><br /><br />Can you please tell me in what file(s) I can have a look at Failsafe routines?<br /><br /><br />thanks<br /><br />Frederic<br />Anonymoushttps://www.blogger.com/profile/00954874800965180256noreply@blogger.comtag:blogger.com,1999:blog-5078759924767413133.post-24390371796868332452015-11-29T17:14:12.485+01:002015-11-29T17:14:12.485+01:00Hi Patrik,
I hope I wasn't wrong, swapping gp...Hi Patrik,<br /><br />I hope I wasn't wrong, swapping gps.cpp files.... <br /><br />anyway, to remove any doubt, I'LL use your last 150431FSFix version, reusing config.h , gps.h, and def.h only ....!!<br /><br /><br />"" Failsafe triggers the normal RTH function and should behave the same way.""<br /><br /><br />In my trial, failsafe didn't switch RTH on ...(plane said RTH but flew away) : true RTH was striggered on, only when I turned TX on again...<br /><br />about RTH after failsafe, what do you mean by "toggle GPS mode" ?<br /><br />as I told you: ""but when I want to take control again, RTH continues even after "RTH on-off" switch by AUX.... "" seems the same as "toggle" isn't it??<br /><br />sorry for my poor English... but let's keep on moving forward... if you still want to.. ;-)<br /><br />Frederic<br /><br />Anonymoushttps://www.blogger.com/profile/00954874800965180256noreply@blogger.comtag:blogger.com,1999:blog-5078759924767413133.post-58315370646754975002015-11-29T14:39:23.029+01:002015-11-29T14:39:23.029+01:00quote...
I just tested 150431FSFix, swapping gps.c...quote...<br />I just tested 150431FSFix, swapping gps.cpp as you told me to.<br /><br />The 150431FSFix version contains the fix already!.<br />I hope you didn't swap it for the 150431 gps.cpp because it have the error..<br /><br />You can Reuse the Config file and GPS.h from old version but not gps.c<br /><br />About the continuing RTH after Failsafe..<br />You can toggle GPS mode to disable it.<br />It's there to avoid disabling by mistake.(Original MWii code)<br /><br />Failsafe triggers the normal RTH function and should behave the same way.<br />But I need to check what else is triggered by Failsafe to.<br /><br />Patrikhttps://www.blogger.com/profile/11823937159483839548noreply@blogger.comtag:blogger.com,1999:blog-5078759924767413133.post-78015652096855217232015-11-29T11:30:58.660+01:002015-11-29T11:30:58.660+01:00Hi Patrik,
I just tested 150431FSFix, swapping gp...Hi Patrik,<br /><br />I just tested 150431FSFix, swapping gps.cpp as you told me to.<br /><br />- RTH works nice stiched by AUX or Fence Distance...<br /><br />- Mission works nice too, even with RTH as last waypoint...<br /><br />- when I turn TX off, the plane says RTH but still flies away... so I turn TX on again and it executes "real" RTH... but when I want to take control again, RTH continues even after RTH on-off switch by AUX.... <br />So... no other way to take control again than desarm-rearm in flight ;-)<br /><br />It's the same behaviour as previous version....<br /><br />Could it be possible to code a "simple" RTH routine (like the one that works fine) when failsafe is detected?<br /><br /><br />Hope this will help..<br /><br />see you<br /><br />FredericAnonymoushttps://www.blogger.com/profile/00954874800965180256noreply@blogger.comtag:blogger.com,1999:blog-5078759924767413133.post-66530547548336416022015-11-25T10:00:47.647+01:002015-11-25T10:00:47.647+01:00Hi Patrik
thanks for your answer
just verified m...Hi Patrik<br /><br />thanks for your answer<br /><br />just verified my config.h's...<br /><br />they are the same: the only difference is that I uncommented #define STAY_IN_MISSION in 150431, (if commented TX turnoff was not detected and failsafe couldn't swich on )<br />while I let it commented in 151120 ....<br /><br />yes that's strange...<br /><br />I'll be glad to try 150431FSFix and let you know....<br /><br />Anonymoushttps://www.blogger.com/profile/00954874800965180256noreply@blogger.comtag:blogger.com,1999:blog-5078759924767413133.post-19044741146910646652015-11-24T22:15:02.166+01:002015-11-24T22:15:02.166+01:00Hi Frederic,
Sounds strange.
Did you use the same...Hi Frederic,<br /><br />Sounds strange.<br />Did you use the same config file as with the 150431 version?<br />The configs is compatible so you could use same in both.<br /><br />I took the old version and modified it.<br />panoramaic.se/Files/MultiWii_FW_150431_FsFix.zip<br />The changes is in gps.cpp and you should be able to just swap the file.<br /><br />Patrikhttps://www.blogger.com/profile/11823937159483839548noreply@blogger.com