Search found 57 matches

by fryefryefrye
Wed Apr 16, 2014 8:35 am
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 151758

Re: Airplane mode RTH

crashlander wrote:Must check my TX/RX since it is not impossible that I'm getting sporadic and short FS's.
Regards
Andrej


I'm think the mechanism from APM is much better.

If FS is trigged, it will stay in FS until AUX change actived by pilot.
by fryefryefrye
Wed Apr 16, 2014 8:28 am
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 151758

Re: Airplane mode RTH

I can see it But only way my code will disam is in FAILSAFE_RTH. // Always DISARM when Home is within 10 meters if FC is in failsafe. if( f.FAILSAFE_RTH_ENABLE ){ if( GPS_distanceToHome <10 ){ f.ARMED = 0; But clearly it disarms at exactly 10 meters! Which means it's in failsafe!...¨ Strange!... Sh...
by fryefryefrye
Tue Apr 15, 2014 2:25 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 151758

Re: Airplane mode RTH

@PatrikE Browsing the original Arduino code and your comments I understand that FailSafe Landing will only be triggered when there is real FS situation and not during normal user/pilot initiated RTH routine (as was before)? Regards Andrej You are right. RTH actived by AUX will let the plane stay ab...
by fryefryefrye
Mon Apr 14, 2014 3:47 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 151758

Re: Airplane mode RTH

If the plane is within a 10 meter radius from home it will Disarm and set target Altitude a few meters over ground to descend. If the plane is armed and looses signal at home the motor will stop. Your Mishap was a normal RTH set from AUX by your Receiver. If you program FS in the RX you better prog...
by fryefryefrye
Mon Apr 14, 2014 3:32 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 151758

Re: Airplane mode RTH

Did you turn off your transmitter on the ground (while the plane was armed) to initiate failsafe (be more careful if you did that )? Otherwise if you have such a bad receiver that it failsafe's within meters of your plane I wouldn't trust it to fly the plane. As I have wrote before, my antenna on t...
by fryefryefrye
Mon Apr 14, 2014 9:28 am
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 151758

Re: Airplane mode RTH

How did you activate GPS_Home? @crashlander I program my receiver on plane to active GPS_HOME when lost signal. There is no BUG on this issue as I can see. I do the arm, then it lost control. May be there should some settings to turn off "Auto lunch" .When I do not need it. I will modify ...
by fryefryefrye
Mon Apr 14, 2014 5:38 am
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 151758

Re: Airplane mode RTH

Danger!!!!!!! GPS_Home should be active under conditions. While my antenna on transmit have some problems today. My plane lost control just after armed. GPS_Home was actived while it still on the ground. Lucky it takes off without hitting something, and stays above the home. It was very dangerous at...
by fryefryefrye
Wed Apr 02, 2014 3:55 am
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 151758

Re: Airplane mode RTH

Hello PatrikE I found the plane was active too much when I move the elevator stick. So I reduce the percentage in the radio, But I lost the stick combination function after that. So, I reset the the radio, and try to do it in the code. Do you think it's OK? May be we need a setting for plane here. e...
by fryefryefrye
Tue Mar 25, 2014 3:09 am
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 151758

Re: Airplane mode RTH

@ PatrikE

Do you have any plan to use the OSD?

I have Integrated RemzibiOSD support in your nav code and it can be compiled, and I will test it when I got the OSD.

A lot of modify from ino to cpp/h. :-(

http://www.rcgroups.com/forums/showthread.php?t=1899490
by fryefryefrye
Tue Mar 25, 2014 2:58 am
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 151758

Re: Airplane mode RTH

@ PatrikE One small problem: when plane just cross the destination point, for a moment, it have not made the decision which turn it will make. It will left, right, left, right, left, right, for few times in 5 seconds. Finally, the plane make the decision and turn. ===================================...
by fryefryefrye
Mon Mar 24, 2014 7:23 am
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 151758

Re: Airplane mode RTH

Todays version uses Altitude error and angle of attack to control throttle. Min Gps throttle and cruise throttle can be set in the config for GPS. A minimum ground speed check is made to ensure the plane travels forward and not backwards. Throttle will be added as a I term to build up speed. Today,...
by fryefryefrye
Sun Mar 23, 2014 1:34 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 151758

Re: Airplane mode RTH

Todays version uses Altitude error and angle of attack to control throttle. Min Gps throttle and cruise throttle can be set in the config for GPS. A minimum ground speed check is made to ensure the plane travels forward and not backwards. Throttle will be added as a I term to build up speed. I thin...
by fryefryefrye
Thu Mar 20, 2014 3:04 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 151758

Re: Airplane mode RTH

PatrikE wrote:Strange..
Have not seen this before.
I'll look in too it.
Must be some Eeprom setting who block it!
Test to clear Eeprom to see if anything happens as a start.


Reason found.

I used a lot of trim on the radio for elev for the second heavy Battery. That caused the GPS_HOLD can not work.
by fryefryefrye
Thu Mar 20, 2014 9:28 am
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 151758

Re: Airplane mode RTH

Strange.. Have not seen this before. I'll look in too it. Must be some Eeprom setting who block it! Test to clear Eeprom to see if anything happens as a start. My plane dive into river when I switch off the radio to test the fail back. Maybe some thing wrong in the radio receiver. Because AUX can l...
by fryefryefrye
Thu Mar 20, 2014 7:48 am
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 151758

Re: Airplane mode RTH

Hello PatrikE I have a try on GPS_HOLD and GPS_HOME today. On the first power on ,the LED of GPS is not flashing, re-power on GPS LED showing 7+ sat is working. On the first Battery, everything is working fine, GPS_HOLD and GPS_HOME are working well. But Strange things happened on the next battery, ...
by fryefryefrye
Fri Mar 14, 2014 3:24 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 151758

Re: Airplane mode RTH

So I only need to plug the y harness into either the left or right output from the board. I have tried that and it does not work, the ailerons just move about 20 degrees and lock there and will not respond to input from my tx, but I can see the aileron channel move in the gui. I Will try again late...
by fryefryefrye
Fri Mar 14, 2014 7:38 am
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 151758

Re: Airplane mode RTH

Is there documentation in the rar file that tells me the pinout. Not currently. But here is the pinout for Mega boards. http://www.multiwii.com/forum/viewtopic.php?f=7&t=2456&start=410#p47260 I have 2 servos for my ailerons plugged into a y harness. But there are two outputs for them from t...
by fryefryefrye
Thu Mar 13, 2014 7:37 am
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 151758

Re: Airplane mode RTH

Since i have 8 channels and only need two for flight modes. I use a dedicated switch just for ARM. OK but it should be armed for all flight conditions right? if its stick armed, it could potentially disarm in flight if the stick is moved accordingly. I am curious what Stick Setup combo is, I have n...
by fryefryefrye
Wed Mar 05, 2014 6:48 am
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 151758

Re: Airplane mode RTH

Do you know the BARO is working for airplane ? Not in current version. It will only control throttle but not Elevator. Do you have plan to write some code on Alt_Keep? I think the code is already in your FW_NAV code, just move some of then into BARO. For people without Baro, the GPS alt also can be...
by fryefryefrye
Mon Mar 03, 2014 1:36 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 151758

Re: Airplane mode RTH

PatrikE wrote:GPS_hold works.
It will save the pos in 3D where it's enabled and repetedly return to the same point.
Altitude from GPS is used.
Should keep around +/- 2m.


Thank you, hope I can have the fly in the weekend of the next week.
by fryefryefrye
Mon Mar 03, 2014 2:44 am
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 151758

Re: Airplane mode RTH

Is there other problems than I-Term when you use FixedWingNav ? Sunday is over when I got your reply about "I-Term". So I'm fly with MWC2.2 on Sunday. I have updated FixedWingNav in my plane and finish the ground test. I will try GPSHOME next time. Is the GPS_hold working in your FixedWin...
by fryefryefrye
Sun Mar 02, 2014 2:03 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 151758

Re: Airplane mode RTH

Set Yaw I to zero. It's worked. Thank you. I'm flying the MWC 2.2 on airplane with ANGLE mode today, It's so easy to fly. I try to switch to GPSHome with MWC 2.2, the plane keep flying higher and higher, but it will turning around above my head, and will not goto far away. Any ideas about that ? I ...
by fryefryefrye
Sat Mar 01, 2014 12:31 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 151758

Re: Airplane mode RTH

I Packed all All tools and Modified Versions I Used For Dev. Info in the Package. FixedWingNav.rar All major problems is fixed and It feels Stable now. /Patrik I want use this code to my plane. But there is a problem. So I switch back to Official 2.2 for my first fly. Rudder is working OK in pass-t...
by fryefryefrye
Mon Sep 30, 2013 3:56 am
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 297547

Re: Odp: MultiWii EZ-GUI

When I set new holding point in “Map”, I must try 2-3 times that the holding point in MWC can be updated. Let me know if it's better after the today update It's much better to set new hold point. Thank you. I strongly recommended you relocate the "Set home position" button. It was easily ...
by fryefryefrye
Sat Sep 14, 2013 10:39 am
Forum: Software development
Topic: The receiver with lost control setting & RTH with altitude
Replies: 12
Views: 1610

Re: The receiver with lost control setting & RTH with altitu

scrat wrote:Hi guys...is this new method from fryefryefrye?

- use alt.EstAlt instead of BaroAlt

http://code.google.com/p/multiwii/source/detail?r=1567


No.

I think it from Alex.
by fryefryefrye
Wed Sep 11, 2013 4:01 am
Forum: Software development
Topic: MSP protocol documentation
Replies: 32
Views: 4366

Re: MSP protocol documentation

timecop wrote:Having descriptive variable names will increase code size.


Only source code size. Not onboard code size.

Self-descriptive code is very usefully then comments.
by fryefryefrye
Mon Sep 09, 2013 8:17 am
Forum: Software development
Topic: The receiver with lost control setting & RTH with altitude
Replies: 12
Views: 1610

Re: The receiver with lost control setting & RTH with altitu

Maybe BARO enabled keeps altitude correct Try it and see - or what MIS suggest (I have not tried that method yet) With last known setting - what happens if throttle is at 25% or 75% when climbing/descending and loose link at that time? What is the difference? I have tested RTH many times with switc...
by fryefryefrye
Fri Sep 06, 2013 1:52 am
Forum: Software development
Topic: [PATCH] Do not change Baro altitude when RTH.
Replies: 1
Views: 447

Re: [PATCH] Do not change Baro altitude when RTH.

Is NHA's MOD on altitude and fallsafe will be Integrated in to MWC2.3 ?

If so, my modification can be ignored.
by fryefryefrye
Thu Sep 05, 2013 3:04 am
Forum: Software development
Topic: The receiver with lost control setting & RTH with altitude
Replies: 12
Views: 1610

Re: The receiver with lost control setting & RTH with altitu

Stock 2.2 can do RTH I tested RTH from 650 meters last night. Worked fine on default BARO and GPS settings. In failsafe I make sure GUI displays: GPS HOME LEVEL or BARO MAG Throttle at 50% You have risk on Throttle setting. Why 50% ? How do you know every time, your hover throttle is same. I think ...
by fryefryefrye
Thu Sep 05, 2013 2:49 am
Forum: Software development
Topic: [PATCH] Do not change Baro altitude when RTH.
Replies: 1
Views: 447

[PATCH] Do not change Baro altitude when RTH.

As I know, a lot people use the FAILSAFE function from remote control receiver to let copter come home when something wrong. They are active GPS HOME and Baro, keep Throttle when lost control. But we have defect here: if copter lost control when climbing under Baro is ON, the copter will continue cl...
by fryefryefrye
Wed Sep 04, 2013 9:21 am
Forum: Ideas
Topic: wishlist for v2.3
Replies: 104
Views: 21057

Re: wishlist for v2.3

How about a HEAD_FIRST mode? Instead of Headfree where the head is always pointing in the same direction it would turn towards where it is flying. Yaw stick controls heading like headfree but pitch and roll would be relative to flight direction. I think it would be more intuitive to fly than headfr...
by fryefryefrye
Wed Sep 04, 2013 9:19 am
Forum: Software development
Topic: The receiver with lost control setting & RTH with altitude
Replies: 12
Views: 1610

Re: The receiver with lost control setting & RTH with altitu

felixrising wrote:Good idea.. already done: viewtopic.php?f=8&t=2965

Would you like to port the Altitude Hold/Advanced Failsafe solutions by NHA stuff to current multiwii_shared?


Have got NHA's mod with the functions I need. May be test it later.
by fryefryefrye
Wed Sep 04, 2013 1:57 am
Forum: Software development
Topic: The receiver with lost control setting & RTH with altitude
Replies: 12
Views: 1610

Re: The receiver with lost control setting & RTH with altitu

Instead your poor method, set the failsafe in receiver to 980us pulse on throttle channel (extern endpoint and subtrim for get 980us on throttle then save this value in receiver). Now the FC will be informed about signal lost, and internal MWC failsafe procedure should work. As I know that internal...
by fryefryefrye
Tue Sep 03, 2013 7:27 am
Forum: Software development
Topic: The receiver with lost control setting & RTH with altitude
Replies: 12
Views: 1610

Re: The receiver with lost control setting & RTH with altitu

Good idea.. already done: http://www.multiwii.com/forum/viewtopic.php?f=8&t=2965 Would you like to port the Altitude Hold/Advanced Failsafe solutions by NHA stuff to current multiwii_shared? As I have read the post, NHA have stoped working on MWC. I do now know which function will be appear in ...
by fryefryefrye
Tue Sep 03, 2013 6:13 am
Forum: Software development
Topic: GPS NAV
Replies: 964
Views: 213869

Re: GPS NAV

EOSBandi wrote:
OK, I'll take a look. The GPS parsing code needs a rehaul anyway.


The GPS_STATE will still keep OK while the GPS is disconnected.
by fryefryefrye
Tue Sep 03, 2013 5:55 am
Forum: Software development
Topic: The receiver with lost control setting & RTH with altitude
Replies: 12
Views: 1610

The receiver with lost control setting & RTH with altitude

My receiver on quart has lost control setting. So the FAILSAFE in MWC will never be active unless there is wire broken on the copter. To let the copter come back to home position when lost control single, I set receiver give out a AUX single to active RTH and Baro. PITCH, ROLL and YAW are centered a...
by fryefryefrye
Mon Aug 12, 2013 9:24 am
Forum: Software development
Topic: Safety alarm!!!Copter want to take off immediately after arm
Replies: 21
Views: 8258

Re: Safety alarm!!!Copter want to take off immediately after

Alexinparis wrote:Hi,

And just included in dev ;)
It's effectively something that shouldn't happen as baro is supposed to be activated only in flight.


Thanks, my broken propeller worth it value.
by fryefryefrye
Mon Aug 12, 2013 9:21 am
Forum: Software development
Topic: Safety alarm!!!Copter want to take off immediately after arm
Replies: 21
Views: 8258

Re: Safety alarm!!!Copter want to take off immediately after

-ralf- wrote:
Maybe this will work for all activation options (Roll, Yaw, Box) ?

Line 705

Code: Select all

    if(!f.ARMED && f.BARO_MODE == 0) { // arm now!
      f.ARMED = 1;


Your solution is better.

Can any one add this fix into Google Code ?
by fryefryefrye
Mon Aug 12, 2013 9:18 am
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 297547

Re: Odp: MultiWii EZ-GUI

Has anyone tested the waypoints feature? Bart I have tested the waypoints feature. Both with some random point and circular path. The data link between Android and Copter is the 433Mhz Uart link. There are working ok, thanks for your wonderful job. When I set new holding point in “Map”, I must try ...
by fryefryefrye
Sat Aug 10, 2013 3:50 pm
Forum: Software development
Topic: Safety alarm!!!Copter want to take off immediately after arm
Replies: 21
Views: 8258

Re: Safety alarm!!!Copter want to take off immediately after

My own solution is :

Code: Select all

if (conf.activate[BOXARM] == 0 && rcSticks == THR_LO + YAW_HI + PIT_CE + ROL_CE && f.BARO_MODE == 0) go_arm();


Do not allowed arm when BARO_MODE is on.
by fryefryefrye
Sat Aug 10, 2013 1:52 am
Forum: Software development
Topic: Safety alarm!!!Copter want to take off immediately after arm
Replies: 21
Views: 8258

Safety alarm!!!Copter want to take off immediately after arm

For FPV in altitude hold mode, I set MWC like this: //#define ALTHOLD_FAST_THROTTLE_CHANGE (disabled) ========================= Today, copter is flying with altitude hold, then it crash on to thick grass. So I disarm immediately after crash When I found that the copter have no damage, I just put it ...
by fryefryefrye
Thu May 30, 2013 2:53 pm
Forum: Software development
Topic: Failsafe Throttle Problem
Replies: 3
Views: 765

Re: Failsafe Throttle Problem

Your ansower is in config.h: #define FAILSAFE_THROTTLE (MINTHROTTLE + 200) // (*) Throttle level used for landing - may be relative to MINTHROTTLE - as in this case Notes: * 1. parameters marked with (*) in the comment are stored in eeprom and can be tweaked via serial monitor or LCD. * Changing tho...
by fryefryefrye
Sun May 26, 2013 8:55 am
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 297547

Re: MultiWii EZ-GUI

Hi Today I added something very experimental. I will try to describe it here. This feature allows to use any android map application to display a copter position. MultiWii EZ-GUI emulates Android's GPS. copter's position should be displayed. Heading may not work in every app. Let me know if it work...
by fryefryefrye
Sun May 26, 2013 8:44 am
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 297547

Re: MultiWii EZ-GUI

Yes I know that But when this is sent: requests = new int[] { MSP_STATUS, MSP_RAW_IMU, MSP_SERVO, MSP_MOTOR, MSP_RC, MSP_RAW_GPS, MSP_COMP_GPS, MSP_ALTITUDE, MSP_ATTITUDE, MSP_DEBUG }; sendRequestMSP(requestMSP(requests)); multiwii doesn't wait for all requests be received. It starts to send reply ...
by fryefryefrye
Fri May 24, 2013 9:43 am
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 297547

Re: MultiWii EZ-GUI

I'm thinking about the improvement of the communication for slow, half duplex systems. And I have a questions: Lets assume that we use half duplex communication When GUI sends packet of requests, MultiWii starts to send a replies as soon as it gets first request. So MultiWii can start sending when ...
by fryefryefrye
Thu May 23, 2013 3:41 am
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 297547

Re: MultiWii EZ-GUI

I think 9600bps is too low for current GUI. 57600k is not too high to still have a good range and is enough to use fluently any GUI. I think another confusion comes from the use of 3DR 433Mhz modules: the stock soft they use is not very good to handle a transparent UART I’m amazing that you can hav...
by fryefryefrye
Wed May 22, 2013 4:12 pm
Forum: Software development
Topic: UART Radio project
Replies: 112
Views: 26601

Re: UART Radio project

I have 2 HK openlrs modules, but was quite disappointed with the performance. Seems the high data rate with stock firmware has a negative effect on the receive sensivity. I have also 2 APC220 modules and 2 RF1100 modules, but i have not range tested them yet. The slower speed promises a (much, near...
by fryefryefrye
Wed May 22, 2013 4:04 am
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 297547

Re: MultiWii EZ-GUI

Hi, I think waiting for ack for the next message is not a good solution. It would just waste some free bandwidth waiting for messages. A solution to avoid congestion could be a theoric bandwidth measurement based on MSP length so that requests can't overflow the baud capacity. + a reasonable buffer...
by fryefryefrye
Wed May 22, 2013 3:29 am
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 297547

Re: MultiWii EZ-GUI

Well it is OK if your app will be worse then mine! just kidding I do not mean to start a new App, I was saying join you to update some mechanism in your APP. As you have fully understood my problem, I think it’s best to let you do it. But I’m still struggling to make your source code working in my ...
by fryefryefrye
Tue May 21, 2013 3:51 pm
Forum: Software development
Topic: ios+multiwii,appstore release inside, check details, twitter
Replies: 103
Views: 670247

Re: ios + multiwii

You have a big problem on Uart via Bluetooth.

Apple do not allow you to do that.

Only JailBreak can have Uart via Bluetooth.