Commit Graph

52 Commits

Author SHA1 Message Date
Iampete1 b7db7f8cac Sub: convert to PWM min and max in AP_Motors 2021-10-11 22:19:17 -04:00
Iampete1 44c5153df8 Sub: update_throttle_range don't set_throttle_range 2021-10-11 22:19:17 -04:00
Michael du Breuil 9f673c2746 Sub: Use RC_Channels instead of hal.rcin 2018-04-11 21:47:07 +01:00
Patrick José Pereira aafede65f7 Sub: Add camera pan functionality
Fix bluerobotics/ardusub#134

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-02-21 10:52:24 -08:00
Patrick José Pereira b724884344 Sub: Remove unnecessary cast in init_rc_out
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2017-11-27 15:14:34 -08:00
Peter Barker 7961a8f5c8 Sub: rc calibration checks are called by AP_Arming 2017-11-08 19:08:01 +09: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
Jacob Walser 15658f1526 Sub: rework camera tilt input and slew limiting 2017-10-26 10:44:23 -04:00
Jacob Walser e92dbad358 Sub: Fixup rcin initialization 2017-04-16 18:22:08 -04:00
Jacob Walser 4349eaba32 Sub: Clean up radio.cpp 2017-04-06 14:11:12 -04:00
Jacob Walser 1d3d6c064e Sub: Don't initialize ch5 mode switch
Missed this when phasing out ch5 mode switch
2017-04-06 14:11:12 -04:00
Jacob Walser 3df1aa09e8 Sub: Remove dead save_trim() 2017-04-06 14:11:12 -04:00
Jacob Walser 3b1827ca21 Sub: Remove throttle-zero flag
Doesn't help us like in Copter
2017-04-06 14:11:12 -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 3934281b43 Sub: Remove esc calibration 2017-03-23 11:59:30 -04:00
Jacob Walser 2fa9d31787 Sub: Remove auto-trim
Sub vehicles usually have some static stability
2017-03-23 01:36:17 -04:00
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