so i can check every other combo with if else to ensure that only one is executed. this would not be possible if the first if statement would be inside the define
What about this: // end of failsafe routine - next change is made with RcOptions setting if (rcData[THROTTLE] < MINCHECK) { errorGyroI[ROLL] = 0; errorGyroI[PITCH] = 0; errorGyroI[YAW] = 0; errorAngleI[ROLL] = 0; errorAngleI[PITCH] = 0; rcDelayCommand++; if (rcData[YAW] < MINCHECK && !f.ARME...
already fixed. acc calibration has been moved before thw code stated by you. it was a bug introduced by the implementation of parameter switch. sorry to hear about you props mate.
Hi, I found a problem, with the current stick combo, it is impossible to activate inflight calibration (YAWLEFT+ THROTTLE LOW+ PITCH FORWARD+ROLL RIGHT)
Hi, could you please add a beep_confirmation=1 when finised writing params, blinkLED does not trigger the buzzer anymore. I found it useful to let the copter beep when I succesfully uploaded params from gui or bluetooth, also get rid of the if b==1, b is not set by gui or bluetooth.
Hi, I did some minor modifications to you code and uploaded it into my branches. I moved the restriction of more than 4 motors into the define blog of the pro mini to undefine pilotlamp as soonm as possible to avoid the first chain defines. I will try some flight tests the next days to be sure that ...
Hi, doughboy found out, that using timers to trigger the pilotlamp is a working solution for the lag problem. He uses timer0 for his pro mini and did a undefine if there are more than 4 motors defined. I wanted to adapt taht to the MEGA code. I managed to get it working with timer0 on my mega2560 wi...
Hi, thank you for the info. I did a testrun with Pilotlamp and it works as usual with timer 0 on mega. Is there any circumstance that the mega canno run the Pilotlamp on timer0? I did the stresstest by activating GPS and did not have the hickups and lags I had with the old pilotlamp code, I think yo...
Hi, I think I found a small error: #if defined PILOTLAMP #if not defined(PROMINI) && NUMBER_MOTOR >4 #undef PILOTLAMP #else imho the undefinde should be before the if defined of pilotlamp. The if statement #if not defined(PROMINI) && NUMBER_MOTOR >4 is not correct, if you use a pro m...
I checked which timers are free on mega, it seems to me, that timer0 is available on the mega in output.ino the timer0 is only used in promicro abd promini.
The whole timer theme is very new for me, so I do not know if I do this correctly.
That is looking very good. I adapted the code to my old branch and will try to test it tonight. As I am running a mege 2560 is there anything to know? I was pretty happy with the extra info the PL gave me so I was very dissapointed when I noticed that it was not usable for me running a GPS on a mega...
You have to send three full periods of a given frequency to trigger a function of the lamp. I have to admit,that I am not good enough to code that with timer or counters. The current solution does that with a for, and this is affected by cycletime. Please have a lool at alarms.ino on my branch. It i...
Min throttle is to be found in multiwii.ino i believe it is 1100.Make sure the values under the graphs in gui are lower thqn that. You cannot set minthrottle from gui. Only through code.
I tried different approaches but the current "hack" is the only one that does not intercere with the code. I thougt about using pwm output but I am not into that subject and I believe pwm outputs are to rare for that. We need an output that will keep its cycle stable.any ideas
Hi, Tommie to whom are your patches adressed. You should contact the coders directly.I believe sometimes noone feels adressed by this or is willing to take the time and read through it. Please PM me with a brief description for dummies and I promise I will merge it for you if I understand the change...
Have you verified that the signals arw getting into the system by looking into the gui. May be your endpoints are not hi/lo enough. Which mw version are you running?
Due to the fact that the current communication of the lamp is very laggy and depends on cycletime I did not dare to commit it. I will have a look an hambirgers cycletime fix and think about it. I think Alex and the community should decide. I will contac alex.
Would like to try arducopter but last time I tried to flash it I ran into some problems. Anyone tried MK or shreddiquette? Shreddiquette was quite cool but Multiwii offered more features and a good community.
I wish I was an admin in this forum. I would close this ridicolous thread and kick ban all of you lousy trolls. Some people are behaving like children here. Normally my agenda is not to feed the trolls but this discussion is so childish. I am happier than ever that I stopped contributing to this cod...
Hi, I did some trial and error finding 128 samples because I had serious jitter. I am not sure if this is too high, I will do some further testing on that, but giving the overall speed of the CPU it is still a lot less smoother than using a 25Hz lowpass filter. I use the datasheet that came with my ...
Thanks for the Wiki page. My sensor is working now. I applied a digital moving aberage filter of 128 samples.Maybe we could integrate it into the trunk and activate it via define.Like that one does not need a filter hardware. I am struggling with the correct values for pleveldiv and pint2ma right no...
Hi, I misunderstood the manual and reverse connected the sensor, I put vcc to viout and vice versa, I only have mv output right now, but they seem to be proportional to the throttle.
Aux1: Off/Armed/Armed+ACC Either by 3 way switch or mixer. imho it is fruitless to circumvent this by introducing a turn off method for a function that is turned on/off in gui. people will wonder why it does not work. fix the stry bit problem. it is ridiculous to fix the symptom but leave the root o...
why is arming via aux useless? I fly three different copter softwares and all use an arm switch.imho there is no alternative to that. I want control over armed status like in my car. you do not have to use it . just leave the boxes empty. and btw. you do not need an exclusive channel. i mixed it wit...