Commit Graph

67 Commits

Author SHA1 Message Date
dheideman 8b0b96d56e Sub: Add servo toggle button function 2017-12-28 14:14:47 -05:00
dheideman 8fec2cbea3 Sub: Add momentary servo button function 2017-12-28 14:14:47 -05:00
Daniel Heideman 963d6a7739 Sub: Add momentary relay button function 2017-12-28 14:14:47 -05:00
dheideman 99f63d63e8 Sub: Add joystick button functions for relays 3 & 4 2017-10-27 12:14:41 -04:00
Jacob Walser eabc608b2e Sub: cleanup unused variable 2017-10-26 23:59:34 -04:00
Jacob Walser 1998cf93d2 Sub: JS_LIGHTS_STEP -> JS_LIGHTS_STEPS 2017-10-26 15:45:57 -04:00
Jacob Walser fb2e87032d Sub: use configured rc input range for lights input instead of hard coded values 2017-10-26 14:24:15 -04:00
dheideman 4e1c7fff37 Sub: Ignore input hold button if disarmed 2017-10-26 10:52:53 -04:00
dheideman 69be1725b6 Sub: Disable input hold on disarm 2017-10-26 10:52:53 -04:00
Jacob Walser 15658f1526 Sub: rework camera tilt input and slew limiting 2017-10-26 10:44:23 -04:00
Jacob Walser e8326ef120 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-26 10:44:23 -04:00
dheideman 4ed02c3c94 Sub: Change input hold announcements for enable/disable 2017-10-20 16:15:47 -04:00
Jacob Walser b4ab0e2c6d Sub: Increase threshold for input hold engaged flag
Also clear input hold offsets when they are below this threshold
2017-10-20 16:03:49 -04:00
Jacob Walser a8aa005e18 Sub: Bugfix forward channel not neutralized appropriately 2017-08-29 08:10:05 -04:00
Jacob Walser 4449a46f5b Sub: input_hold_toggle -> input_hold_set 2017-08-29 08:10:05 -04:00
Jacob Walser 0bd5d6ca18 Sub: send useful information to GCS 2017-08-23 13:40:52 +01:00
Peter Barker 279072cf25 Sub: use send_text method on the GCS singleton 2017-07-09 17:17:29 -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
Rustom Jehangir 69cd30fd8e Sub: Revert "Sub: Remove gain control from joystick file."
This reverts commit 93cc3abab2.
2017-02-21 11:26:14 +11:00
Rustom Jehangir 0a6fc0cc43 Sub: Remove gain control from joystick file. 2017-02-21 11:26:14 +11:00