BrzTit / megapirateng

Automatically exported from code.google.com/p/megapirateng
0 stars 0 forks source link

CH7 calibration improvement/fix #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Calibrate radio with only stick controls
2. CH7 gets calibrated to whatever is the min/max deviation of the PWM
3. activate any CH7 function - it switches on occassionaly

What is the expected output?

Expected output is to either have CH7 activate with direct PWM value (>1750?) 
just like CH5 mode switching uses direct offsets.

What do you see instead?

This very small difference gets translated to "800" (full) value and switches 
on whenever there is a deviation - very dangerous.

What version of the product are you using? On what operating system?

2.0.49b4, Flyduino mega, FrSky 8CH receiver/Turnigy 8CH receiver

Please provide any additional information below.

Proposed solutions (at least do whatever is easiest):
1) only activate ch7 functions if it is calibrated properly (min-max > 500 
pulse width?)
2) force the user to calibrate (involves mission planer - I assume not doable)
3) hardcore some values for ch7 min/max or use a direct PWM value like CH5

Original issue reported on code.google.com by zviratko...@gmail.com on 6 Jan 2012 at 10:40

GoogleCodeExporter commented 8 years ago
Wouldn't something like:

#define CH7_OPTION CH7_DO_NOTHING

Fix this issue?
If you are actually going to use ch7 with a switch or fail safe or whatever .. 
just calibrate it by switching or activating the fail safe etc.

Original comment by tjb...@gmail.com on 2 May 2013 at 2:09