mirror of
https://github.com/semerad/gt3b.git
synced 2026-02-19 19:11:23 +01:00
41 lines
1.0 KiB
Plaintext
41 lines
1.0 KiB
Plaintext
|
|
? PPM input for head tracking gyro
|
|
- pin PD7 TLI non-maskable interrupt at signal edge
|
|
- or pin PD1 (SWIM), PD5, PD6 with pin change interrupt at signal edge
|
|
- set timer_interrupt and ppm_interrupt to lower level as it
|
|
can be interrupted by PPM in signal
|
|
- read timer register, timer_1s, timer_5s to cyclic buffer
|
|
- wakeup PPM_INPUT task
|
|
- read values from cyclic buffer
|
|
- compute PPM servo signals and assign them to ppm_in variables
|
|
|
|
|
|
|
|
Some suggestions taken from manuals of other radios:
|
|
|
|
programmable mixes
|
|
throttle speed 1-3 SPEED 1-100%, trigger points 1-100
|
|
throttle acceleration
|
|
brake acceleration
|
|
throttle curves EXP/VTR/CRV
|
|
start function
|
|
engine cut function
|
|
ABS
|
|
amount of brake return 0-100%
|
|
delay 0-1.4s
|
|
cycle speed 1-30
|
|
trigger point 10-100
|
|
cycle duty ratio -3..3
|
|
steering mixing N10-100, E10-100
|
|
brake mixing
|
|
boat tilt mixing
|
|
neutral brake
|
|
throttle mode FWD50/BRK50 or FWD70/BRK30
|
|
throttle Idle-Up 0-50%
|
|
|
|
|
|
other:
|
|
PC editor
|
|
digital/custom switches (set when some conditions are satisfied)
|
|
|