Commit Graph

28 Commits

Author SHA1 Message Date
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