Commit Graph

36 Commits

Author SHA1 Message Date
Jacob Walser
7c552d3545 Sub: Remove unsused aux switch code 2017-03-10 15:46:30 +11:00
Jacob Walser
0ce2896e22 Sub: Remove rc receiver code 2017-03-10 15:46:30 +11:00
Jacob Walser
a62d728933 Sub: Move arming checks under AP_Arming_Sub 2017-03-01 10:57:27 -05:00
Jacob Walser
8afb7fc96a Sub: Remove call to set_esc_scaling
This is now performed in motors library
2017-02-28 13:24:49 -05:00
Jacob Walser
81935f6b7c Sub: Handle RC input for SITL autotest 2017-02-25 17:50:18 +11:00
Jacob Walser
1990aa7829 Sub: Update stale references to Copter 2017-02-21 11:26:14 +11: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
ed87bd9e59 Sub: fixes from rebase on ArduPilot master 2017-02-21 11:26:14 +11:00
Jacob Walser
6682e93bf3 Sub: Refactor delay()
We don't need a dedicated file only to define a delay function.
This will also provide a preventitive measure for people trying to use
delay() without an understanding of the implications
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
5ea7d3443d Sub: force min/max/trim on inputs 1~7 2017-02-21 11:26:14 +11:00
Jacob Walser
2cb2633764 Sub: initialize pwm input on control channels to 1500 instead of 0 2017-02-21 11:26:14 +11:00
Rustom Jehangir
5a99da106a Sub: Force ch 3 trim to 1100 to match hardcoded radio settings 2017-02-21 11:26:14 +11:00
Rustom Jehangir
bf00aacc42 Sub: Add default deadband for lateral/forward 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
Jacob Walser
584171cf3c Sub: Change gamepad controls for light brightness 2017-02-21 11:26:14 +11:00
Rustom Jehangir
6cf24c2770 Sub: Remove heli support from sub. 2017-02-21 11:26:14 +11:00
Jacob Walser
eb76fc7a3c Sub: Add light control to joystick 2017-02-21 11:26:14 +11:00
Rustom Jehangir
321e92cf4c Sub: Minor bug fix in radio. 2017-02-21 11:26:14 +11:00
Rustom Jehangir
c31ccd242f Sub: Remove unneeded camtilt input. 2017-02-21 11:26:14 +11:00
Rustom Jehangir
12464ab5b2 Sub: Added roll trim using gamepad buttons. 2017-02-21 11:26:14 +11:00
Rustom Jehangir
2837fac593 Sub: Fixed joystick button persistance issue. 2017-02-21 11:26:14 +11:00
jaxxzer
511a87c066 Sub: Fix build error. 2017-02-21 11:26:14 +11:00
jaxxzer
a299528194 Sub: Some more tweaks for water pressure. Change throttle_zero to mid stick. 2017-02-21 11:26:14 +11:00
Rustom Jehangir
3f4a6101ad Sub: Added mode switch to joystick buttons. 2017-02-21 11:26:14 +11:00
Rustom Jehangir
fc6f793aab Sub: Fixed joystick to camera tilt control direction 2017-02-21 11:26:14 +11:00
Jacob Walser
af5bb3869a Sub: Implement cam tilt 2017-02-21 11:26:14 +11:00
Rustom Jehangir
83ff3931b8 Sub: Refactor "Copter" to "Sub". 2017-02-21 11:26:14 +11:00
Jacob Walser
aaf9bec83a Sub: Added joystick button arm/disarm 2017-02-21 11:26:14 +11:00
Jacob Walser
aab1f6ae69 Sub: Output correct values to motors 2017-02-21 11:26:14 +11:00
Rustom Jehangir
d313f932b4 Sub: Adjusted forward/strafe channels to not conflict with roll/pitch. Roll and pitch will be hard-coded to zero to stay level. 2017-02-21 11:26:14 +11:00
Rustom Jehangir
08a56ee6d2 Sub: Added function to transform MANUAL_CONTROL messages to RC override. This allows MANUAL_CONTROL to work properly without changing much else. 2017-02-21 11:26:14 +11:00
Rustom Jehangir
8b7ea6223f Sub: Added frame type BLUEROV to configure use with the new AP_MotorsBlueROV class. 2017-02-21 11:26:14 +11:00
Jacob Walser
9eda7f1b5b Sub: Add forward and strafe input channels 2017-02-21 11:26:14 +11:00
Rustom Jehangir
3da7c95e9b Sub: New vehicle type, derived from ArduCopter. 2017-02-21 11:26:14 +11:00