Commit Graph

69 Commits

Author SHA1 Message Date
dheideman
a75a5c5a0b Sub: Add maneuver/attitude stick mode indicator msg 2018-02-14 13:52:25 -05:00
dheideman
dbffed0024 Sub: Add servo toggle button function 2018-01-27 19:16:21 -05:00
dheideman
e629c0e73b Sub: Add momentary servo button function 2018-01-27 19:15:47 -05:00
Daniel Heideman
6a4aaea927 Sub: Add momentary relay button function 2018-01-27 19:15:09 -05:00
Jacob Walser
f5648a8259 Sub: clear roll/pitch trim when setting neutral controls 2017-10-31 11:42:40 -04:00
dheideman
0351874c01 Sub: Adjust roll/pitch joystick button logic 2017-10-31 11:42:40 -04:00
dheideman
5bfd486b4e Sub: Add joystick button functions for relays 3 & 4 2017-10-31 11:42:40 -04:00
Jacob Walser
9448e110b9 Sub: cleanup unused variable 2017-10-31 11:42:39 -04:00
Jacob Walser
29d3369c51 Sub: JS_LIGHTS_STEP -> JS_LIGHTS_STEPS 2017-10-31 11:42:39 -04:00
Jacob Walser
6ab5524fb4 Sub: use configured rc input range for lights input instead of hard coded values 2017-10-31 11:42:39 -04:00
dheideman
c671011b6f Sub: Ignore input hold button if disarmed 2017-10-31 11:42:39 -04:00
dheideman
6105f8984f Sub: Disable input hold on disarm 2017-10-31 11:42:39 -04:00
Jacob Walser
5f8d9eb0b9 Sub: rework camera tilt input and slew limiting 2017-10-31 11:42:39 -04:00
Jacob Walser
98e0ac1aee Sub: remove manual control button debounce timer
This was a really long time for a debounce, and
this code belongs to the program actually polling for input.
2017-10-31 11:42:39 -04:00
dheideman
d4c34323f3 Sub: Change input hold announcements for enable/disable 2017-10-31 11:42:39 -04:00
Jacob Walser
d25dd1d944 Sub: Increase threshold for input hold engaged flag
Also clear input hold offsets when they are below this threshold
2017-10-31 11:42:39 -04:00
Jacob Walser
0907f93efb Sub: Bugfix forward channel not neutralized appropriately 2017-08-25 10:42:03 -04:00
Jacob Walser
a1851239b5 Sub: input_hold_toggle -> input_hold_set 2017-08-25 10:42:02 -04:00
Jacob Walser
02cd995862 Sub: send useful information to GCS 2017-08-25 01:21:45 -04:00
Jacob Walser
e92dbad358 Sub: Fixup rcin initialization 2017-04-16 18:22:08 -04:00
Jacob Walser
05b19cbb7d Sub: Correct default flight mode button functions to match suggested
setup
2017-04-16 15:48:35 -04:00
Jacob Walser
b7de1eb88a Sub: failsafe.manual_control -> failsafe.pilot_input
reset pilot input failsafe timer when RC_CHANNELS_OVERRIDE is received
2017-04-16 14:25:13 -04:00
Jacob Walser
f2d9f1585e Sub: Shift forward/lateral input channels up one to remove old ch5 gap 2017-04-05 13:29:06 -04:00
Jacob Walser
d629d4ba9e Sub: Change mode button function implementation 2017-04-05 13:29:06 -04:00
Jacob Walser
e3d6d4bcbe Sub: Implement JSButton function to toggle between forward/lateral input
and roll/pitch input
2017-03-28 16:05:08 -04:00
Jacob Walser
5f82984d7e Sub: Implement servo min/max button functions 2017-03-28 14:54:23 -04:00
Jacob Walser
030af45b34 Sub: Implement servo control button functions 2017-03-28 14:54:23 -04:00
Jacob Walser
c1959952b3 Sub: Bug fix for camera_tilt_smooth() conflict with RC_CHANNELS_OVERRIDE 2017-03-10 15:46:30 +11:00
Jacob Walser
b4be9682df Sub: Add explicit cast to supress warnings 2017-02-22 11:25:18 -08:00
Jacob Walser
8c67c16664 Sub: Implement relay joystick button functions 2017-02-22 14:42:23 +00:00
Jacob Walser
4112fd1316 Sub: Remove mode header 2017-02-21 11:26:14 +11:00
Jacob Walser
5233b25910 Sub: Format all C++ with Tools/CodeStyle/astylerc 2017-02-21 11:26:14 +11:00
Jacob Walser
852374ab4d Sub: Manual control failsafe 2017-02-21 11:26:14 +11:00
Jacob Walser
029cf3b388 Sub: Update to library changes 2017-02-21 11:26:14 +11:00
Jacob Walser
b7e419cf9c Sub: Configure default joystick buttons 2017-02-21 11:26:14 +11:00
Jacob Walser
23122f4b90 Sub: Add camera tilt servo center parameter 2017-02-21 11:26:14 +11:00
Jacob Walser
5bd2af6b77 Sub: Add throttle channel gain scalar parameter 2017-02-21 11:26:14 +11:00
Jacob Walser
e61bf46882 Sub: Implement mode_toggle joystick button function 2017-02-21 11:26:14 +11:00
Jacob Walser
7b1347da79 Sub: Initialize control mode to flightmode 1 2017-02-21 11:26:14 +11:00
Jacob Walser
8367bb4626 Sub: Ditch control mode RC switch logic
Call set_mode() directly from joystick button handler
2017-02-21 11:26:14 +11:00
Jacob Walser
9ef9afd26d Sub: Constrain camera tilt goal to servo output limits 2017-02-21 11:26:14 +11:00
Jacob Walser
0faf2a1f8e Sub: Add cam tilt and lights step size parameters 2017-02-21 11:26:14 +11:00
Jacob Walser
5cc1d3293d Sub: Add gain parameters 2017-02-21 11:26:14 +11:00
Jacob Walser
4704faf60d Sub: Revert to 29f8ce95, prior to deadzone PR 2017-02-21 11:26:14 +11:00
Jacob Walser
e49f6fb8a6 Sub: initialize scale factor for dead zones correctly 2017-02-21 11:26:14 +11:00
Jacob Walser
7e7e53f517 Sub: Add method to uniformly scale the dead zones on all channels 2017-02-21 11:26:14 +11:00
Rustom Jehangir
ffa491b805 Sub: Add placeholders for new button functions. 2017-02-21 11:26:14 +11:00
Rustom Jehangir
e1882d9596 Sub: Fix camera low pass filter and allow button holding. 2017-02-21 11:26:14 +11:00
Rustom Jehangir
f6b0d47e8e Sub: Change info print for gain changes. 2017-02-21 11:26:14 +11:00
Rustom Jehangir
f19442389e Sub: Add identify to speak gain and input hold messages. 2017-02-21 11:26:14 +11:00