Commit Graph

49 Commits

Author SHA1 Message Date
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
Rustom Jehangir f19c20b29e Sub: Add low pass filter to camera tilt input 2017-02-21 11:26:14 +11:00
Rustom Jehangir 7265351a0d Sub: Fix joystick scaling to 1100-1900 range 2017-02-21 11:26:14 +11:00
Rustom Jehangir cf8e5f1337 Sub: Improve joystick button debounce 2017-02-21 11:26:14 +11:00
Rustom Jehangir b97b6b8f8a Sub: Improve joystick button debounce and input hold 2017-02-21 11:26:14 +11:00
Rustom Jehangir 203b7fbaba Sub: Implement joystick button arm toggling 2017-02-21 11:26:14 +11:00
Rustom Jehangir ae0e5dcb4b Sub: Implement video switch feature on joystick button 2017-02-21 11:26:14 +11:00
Rustom Jehangir 1447ba4c20 Sub: Implement input hold joystick button function 2017-02-21 11:26:14 +11:00
Jacob Walser c711fedc4c Sub: Add camera source toggle and input hold button options 2017-02-21 11:26:14 +11:00
Rustom Jehangir c082bd3c33 Sub: Set mode to stabilize be default 2017-02-21 11:26:14 +11:00
Rustom Jehangir d0130136f0 Sub: Add pitch trim to joystick.cpp 2017-02-21 11:26:14 +11:00
Rustom Jehangir 3670fc3547 Sub: Change default pilot gain to 50% and add 25% option. 2017-02-21 11:26:14 +11:00
Rustom Jehangir 99ad33411b Sub: Add pilot gain control 2017-02-21 11:26:14 +11:00
Rustom Jehangir 837f429bf0 Sub: Refactor 'strafe' to 'lateral' 2017-02-21 11:26:14 +11:00
Rustom Jehangir 802f4f617f Sub: Clean joystick code with helpers 2017-02-21 11:26:14 +11:00
Rustom Jehangir ef53455e2d Sub: Implement joystick button actions 2017-02-21 11:26:14 +11:00
Rustom Jehangir 44904760cc Sub: Add JSButton parameters to necessary places 2017-02-21 11:26:14 +11:00
Rustom Jehangir af3807bc57 Sub: Move joystick interpretation to joystick.cpp 2017-02-21 11:26:14 +11:00