Search found 708 matches

by jevermeister
Tue Oct 09, 2012 11:21 pm
Forum: Software development
Topic: Bug - MultiWii.ino lines 832-852 needs rcDelayCommand
Replies: 39
Views: 2836

Re: Bug - MultiWii.ino lines 832-852 needs rcDelayCommand

if someone wants tu use parts of the two stick combo to switch something else. e.g. pitch forward roll right. it is now possible to do that.

what do you think of the rest?

it's just a proposed idea. If you think it is not good, thats no problem at all. Just my two cents. :-)
by jevermeister
Tue Oct 09, 2012 10:52 pm
Forum: Software development
Topic: Bug - MultiWii.ino lines 832-852 needs rcDelayCommand
Replies: 39
Views: 2836

Re: Bug - MultiWii.ino lines 832-852 needs rcDelayCommand

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
by jevermeister
Tue Oct 09, 2012 9:55 pm
Forum: Software development
Topic: Bug - MultiWii.ino lines 832-852 needs rcDelayCommand
Replies: 39
Views: 2836

Re: Bug - MultiWii.ino lines 832-852 needs rcDelayCommand

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...
by jevermeister
Tue Oct 09, 2012 9:36 pm
Forum: Software development
Topic: Bug - MultiWii.ino lines 832-852 needs rcDelayCommand
Replies: 39
Views: 2836

Re: Bug - MultiWii.ino lines 832-852 needs rcDelayCommand

thank you for the testong and feedback. I will try to fix the code asap.
by jevermeister
Tue Oct 09, 2012 7:44 pm
Forum: Software development
Topic: Bug - MultiWii.ino lines 832-852 needs rcDelayCommand
Replies: 39
Views: 2836

Re: Bug - MultiWii.ino lines 832-852 needs rcDelayCommand

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.
by jevermeister
Mon Oct 08, 2012 9:21 pm
Forum: Software development
Topic: Three independent, stick selectable settings in EEPROM
Replies: 36
Views: 10287

Re: Three independent, stick selectable settings in EEPROM

Hi,
I found a problem,
with the current stick combo, it is impossible to activate inflight calibration (YAWLEFT+ THROTTLE LOW+ PITCH FORWARD+ROLL RIGHT)

Can you try to fix that?

Maybe put it after inflight acc activation.

Nils
by jevermeister
Sun Oct 07, 2012 2:56 pm
Forum: Software development
Topic: reoganize main loop /timed events?
Replies: 31
Views: 2731

Re: reoganize main loop /timed events?

Hamburger,

I think timecops way is the right one. Imho the 8bitters are for casual use and the current software seems good enough.

I think the future really is 32bit :-/.
Altouh I realy like my Flyduino!

But nevertheless, it is worth a try to reorganize, count me in if you need assistance.
Nils
by jevermeister
Sat Oct 06, 2012 8:30 pm
Forum: Shields, boards and sensors
Topic: XAircraft Pilot Lamp Accessory Hack
Replies: 96
Views: 18584

Re: XAircraft Pilot Lamp Accessory Hack

Code tested and flown. I checked it with GPS inflight - no problem.

I checked it into the shared trunk - hope you all like it.

Thank you mr.rc-cam and doughboy - nice working with you!

Nils
by jevermeister
Sat Oct 06, 2012 5:48 pm
Forum: Software development
Topic: Three independent, stick selectable settings in EEPROM
Replies: 36
Views: 10287

Re: Three independent, stick selectable settings in EEPROM

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.


Thank you, nils
by jevermeister
Sat Oct 06, 2012 3:19 pm
Forum: General discussions
Topic: EOSBandi
Replies: 4
Views: 1161

Re: EOSBandi

Thank god.One started thinking the worst.Maybe he is in a kind of creative silence.
by jevermeister
Sat Oct 06, 2012 8:07 am
Forum: Software development
Topic: Three independent, stick selectable settings in EEPROM
Replies: 36
Views: 10287

Re: Three independent, stick selectable settings in EEPROM

Me neither but if noone is ti be found I will try.
Btw.: I noticed Andras (Eosbandi) hasn' t been here for a while. Anyone knows where he went?
by jevermeister
Fri Oct 05, 2012 7:11 am
Forum: Shields, boards and sensors
Topic: XAircraft Pilot Lamp Accessory Hack
Replies: 96
Views: 18584

Re: XAircraft Pilot Lamp Accessory Hack

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 ...
by jevermeister
Thu Oct 04, 2012 9:36 pm
Forum: Software development
Topic: Short Noob question regarding timers
Replies: 1
Views: 375

Short Noob question regarding timers

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...
by jevermeister
Thu Oct 04, 2012 9:16 pm
Forum: Shields, boards and sensors
Topic: XAircraft Pilot Lamp Accessory Hack
Replies: 96
Views: 18584

Re: XAircraft Pilot Lamp Accessory Hack

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...
by jevermeister
Thu Oct 04, 2012 10:14 am
Forum: Shields, boards and sensors
Topic: XAircraft Pilot Lamp Accessory Hack
Replies: 96
Views: 18584

Re: XAircraft Pilot Lamp Accessory Hack

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...
by jevermeister
Thu Oct 04, 2012 9:59 am
Forum: Shields, boards and sensors
Topic: XAircraft Pilot Lamp Accessory Hack
Replies: 96
Views: 18584

Re: XAircraft Pilot Lamp Accessory Hack

Hi,

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.

I will try to see which timer is available.

Nils
by jevermeister
Thu Oct 04, 2012 9:00 am
Forum: Shields, boards and sensors
Topic: XAircraft Pilot Lamp Accessory Hack
Replies: 96
Views: 18584

Re: XAircraft Pilot Lamp Accessory Hack

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...
by jevermeister
Tue Oct 02, 2012 7:58 am
Forum: Shields, boards and sensors
Topic: XAircraft Pilot Lamp Accessory Hack
Replies: 96
Views: 18584

Re: XAircraft Pilot Lamp Accessory Hack

Interesting.I will look at it tomorrow.we have a public holiday. Thank you!
by jevermeister
Mon Oct 01, 2012 6:49 pm
Forum: Shields, boards and sensors
Topic: XAircraft Pilot Lamp Accessory Hack
Replies: 96
Views: 18584

Re: XAircraft Pilot Lamp Accessory Hack

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...
by jevermeister
Mon Oct 01, 2012 6:45 pm
Forum: Software development
Topic: Altitude Hold improvement solution
Replies: 580
Views: 1448828

Re: Altitude Hold improvement solution

Dragu, if you put throttle to minimum the control algorithm stops completely.If trhottle<mincheck there is no governor active.

Nils
Ps.: nice footage
by jevermeister
Sun Sep 30, 2012 10:47 pm
Forum: Getting Started - MultiWii config and setup
Topic: cannot get multiwii scarab to arm
Replies: 12
Views: 1568

Re: cannot get multiwii scarab to arm

Sorry. It is not minthrottle or mincommand.
It is mincheck and maxcheck.
1100 and 1900 I believe.
by jevermeister
Sun Sep 30, 2012 9:23 pm
Forum: Getting Started - MultiWii config and setup
Topic: cannot get multiwii scarab to arm
Replies: 12
Views: 1568

Re: cannot get multiwii scarab to arm

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.
by jevermeister
Sun Sep 30, 2012 9:20 pm
Forum: Shields, boards and sensors
Topic: XAircraft Pilot Lamp Accessory Hack
Replies: 96
Views: 18584

Re: XAircraft Pilot Lamp Accessory Hack

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
by jevermeister
Sun Sep 30, 2012 9:17 pm
Forum: Software development
Topic: Three independent, stick selectable settings in EEPROM
Replies: 36
Views: 10287

Re: Three independent, stick selectable settings in EEPROM

Yeah! I like where this is goong. Another very important and handy feature added.
by jevermeister
Sun Sep 30, 2012 9:17 am
Forum: Shields, boards and sensors
Topic: XAircraft Pilot Lamp Accessory Hack
Replies: 96
Views: 18584

Re: XAircraft Pilot Lamp Accessory Hack

I had serious problems with serial gps. The lamp did weird stuff like beeping forever.
Please contact alexinparis and ask for his opinion on that.
by jevermeister
Sun Sep 30, 2012 9:15 am
Forum: Getting Started - MultiWii config and setup
Topic: cannot get multiwii scarab to arm
Replies: 12
Views: 1568

Re: cannot get multiwii scarab to arm

Hi,
It is hard to get any further without using the gui. There can be several problems.you nees an ftdi to connect the board to usb.
by jevermeister
Sun Sep 30, 2012 12:58 am
Forum: Software development
Topic: [PATCH] Use LED flasher for landing lights
Replies: 1
Views: 537

Re: [PATCH] Use LED flasher for landing lights

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...
by jevermeister
Sun Sep 30, 2012 12:54 am
Forum: Getting Started - MultiWii config and setup
Topic: cannot get multiwii scarab to arm
Replies: 12
Views: 1568

Re: cannot get multiwii scarab to arm

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?
by jevermeister
Sun Sep 30, 2012 12:52 am
Forum: Software development
Topic: Altitude Hold improvement solution
Replies: 580
Views: 1448828

Re: Altitude Hold improvement solution

Wow!Nice one Dragu!
by jevermeister
Sun Sep 30, 2012 12:51 am
Forum: Shields, boards and sensors
Topic: XAircraft Pilot Lamp Accessory Hack
Replies: 96
Views: 18584

Re: XAircraft Pilot Lamp Accessory Hack

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.
by jevermeister
Sun Sep 30, 2012 12:47 am
Forum: Software development
Topic: Three independent, stick selectable settings in EEPROM
Replies: 36
Views: 10287

Re: Three independent, stick selectable settings in EEPROM

Being unable to arm is very good. I killed a couple of props by forgetting to calibrate ;-)
by jevermeister
Sat Sep 29, 2012 8:06 pm
Forum: Software development
Topic: Three independent, stick selectable settings in EEPROM
Replies: 36
Views: 10287

Re: Three independent, stick selectable settings in EEPROM

Wouldnt it be good to add a buzzer alarm for not calibrated acc?

The beeps of aux kicking in is an issue i could not get rid od yet :-(.
Any ideas?
by jevermeister
Fri Sep 28, 2012 9:58 pm
Forum: Software development
Topic: Three independent, stick selectable settings in EEPROM
Replies: 36
Views: 10287

Re: Three independent, stick selectable settings in EEPROM

Excellent idea!Good way to implement it with the stick combos.

Nils
by jevermeister
Fri Sep 28, 2012 9:21 pm
Forum: General discussions
Topic: MultiWiiCopter vs ArduPilot Mega 2.5
Replies: 11
Views: 5846

Re: MultiWiiCopter vs ArduPilot Mega 2.5

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.
by jevermeister
Fri Sep 28, 2012 7:04 pm
Forum: Software development
Topic: [PATCH] Verify EEPROM integrity
Replies: 51
Views: 4670

Re: [PATCH] Verify EEPROM integrity

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...
by jevermeister
Thu Sep 27, 2012 7:42 pm
Forum: Software development
Topic: compile error r1139
Replies: 1
Views: 321

Re: compile error r1139

Look wheee the variable should be declared and look if there is a if defined before it.
by jevermeister
Thu Sep 27, 2012 7:38 pm
Forum: Software development
Topic: Another compiling error with 1129
Replies: 1
Views: 493

Re: Another compiling error with 1129

Enable buzzer
by jevermeister
Mon Sep 24, 2012 6:24 pm
Forum: Software development
Topic: power meter for 1prebis7 - beta testers wanted
Replies: 56
Views: 11588

Re: power meter for 1prebis7 - beta testers wanted

Ok,
found it, I was using the wrong datasheet :-(

I now have the correct one, which is saying 0,6V for 0A.


Thank you Kaik and Hamburger!!

Nils
by jevermeister
Mon Sep 24, 2012 2:45 pm
Forum: Software development
Topic: power meter for 1prebis7 - beta testers wanted
Replies: 56
Views: 11588

Re: power meter for 1prebis7 - beta testers wanted

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 ...
by jevermeister
Mon Sep 24, 2012 12:08 pm
Forum: Software development
Topic: power meter for 1prebis7 - beta testers wanted
Replies: 56
Views: 11588

Re: power meter for 1prebis7 - beta testers wanted

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...
by jevermeister
Fri Sep 21, 2012 4:45 pm
Forum: Software development
Topic: power meter for 1prebis7 - beta testers wanted
Replies: 56
Views: 11588

Re: power meter for 1prebis7 - beta testers wanted

Okay,
thats the behavior I have here.
I thought 0A was 0,5*VCC.

Thank you for helping me out.

Now back to testing and calibrating

Nils
by jevermeister
Fri Sep 21, 2012 2:34 pm
Forum: Software development
Topic: power meter for 1prebis7 - beta testers wanted
Replies: 56
Views: 11588

Re: power meter for 1prebis7 - beta testers wanted

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.

I use a multimeter to measure it.

is the sensor fried?


Nils
by jevermeister
Fri Sep 21, 2012 12:59 am
Forum: Software development
Topic: [PATCH] Verify EEPROM integrity
Replies: 51
Views: 4670

Re: [PATCH] Verify EEPROM integrity

I almost foegot:
kudos for finding this effect of the stray bit.
not an easy catch i think.

nils
by jevermeister
Fri Sep 21, 2012 12:57 am
Forum: Software development
Topic: [PATCH] Verify EEPROM integrity
Replies: 51
Views: 4670

Re: [PATCH] Verify EEPROM integrity

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...
by jevermeister
Thu Sep 20, 2012 11:33 pm
Forum: Software development
Topic: [PATCH] Verify EEPROM integrity
Replies: 51
Views: 4670

Re: [PATCH] Verify EEPROM integrity

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...