Commit Graph

26536 Commits

Author SHA1 Message Date
jaxxzer 44c9efad50 AP_Vehicle: Add the ArduSub vehicle type.
This also fixes the issue causing accel calibration to be unresponsive
in gcs.
2017-02-21 11:26:14 +11:00
Rustom Jehangir c15d7299fa Sub: Sub changes to match newest Copter changes 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 02b8069270 Sub: Fix ADSB file for compilation. 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 077b0283f3 Sub: Update camera mount for changes. 2017-02-21 11:26:14 +11:00
jaxxzer 22b4c93101 Sub: Set EK2_ALT_NOISE on startup according to baro sensors detected. 2017-02-21 11:26:14 +11:00
jaxxzer b08e1e6919 Sub: Update land mode to move up instead of down. 2017-02-21 11:26:14 +11:00
jaxxzer e805dd5e30 Sub: Update land detector for sub context. 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 0bb4ab4dc9 Sub: Update Sub script to match others. 2017-02-21 11:26:14 +11:00
Rustom Jehangir c6b3f46e04 Sub: Enabled control modes to operate at zero throttle 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
jaxxzer 3af1dc8c93 Sub: Add support for external pressure sensor in ROV context. 2017-02-21 11:26:14 +11:00
Jacob Walser 1d9e037e95 Sub: Complete motor reversing parameters.
Added the parameter stuff needed to actually include the parameters and make them updatable by the GCS.
2017-02-21 11:26:14 +11:00
Rustom Jehangir caa089c869 Sub: allow partial builds with new mavlink as submodule
The task generator for the mavlink headers is given a name 'mavlink' and is
added as a dependency to all local static libraries, because all of them use
sources that include mavlink headers. It would be nice to have a good way to
detect sources that use mavlink headers or to declare list of libraries that
use the headers, so that the dependency could be added automatically.

Additionally, there's a minor change in syntax for the task generator: using
strings directly instead of lists.
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 57b6303b07 Sub: Added a MAVLink message handler for MANUAL_CONTROL. It currently sends values to override the RC channels for testing. This will change. 2017-02-21 11:26:14 +11:00
jaxxzer 2f3aff7499 Sub: Update forward and strafe rc channels in the control mode files. 2017-02-21 11:26:14 +11:00
Rustom Jehangir c2d37ffd6e Sub: Change user config file for default options. Eventually these will be moved into the main config file as Sub defaults. 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
Rustom Jehangir e8464d73a9 Sub: Added control_rov file to hold the two methods needed for simple ROV control and basic testing of this project. Also added the code needed to pass the forward and strafe inputs to the motors 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
Jacob Walser 2bacc2fea2 AP_RCMapper: Add forward and strafe channel mappings for Sub 2017-02-21 11:26:14 +11:00
Rustom Jehangir 1e8c1e8a78 Sub: Change user config file for default options. Eventually these will be moved into the main config file as Sub defaults. 2017-02-21 11:26:14 +11:00
Rustom Jehangir 54fa879116 Sub: Added frame type BLUEROV to configure use with the new AP_MotorsBlueROV class. 2017-02-21 11:26:14 +11:00
Rustom Jehangir 237ba87ca4 AP_Motors: New AP_Motors6DOF used by Sub 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
Peter Barker 1217256898 AP_AHRS: correct infinite recursion in AP_AHRS_View 2017-02-21 09:03:03 +11:00
Andrew Tridgell 29b06d2d4a SRV_Channel: fixed output slew rate handling
this fixes a bug that happens when the RC output speed is much lower
than the main loop speed, such as with forward throttle for
quadplanes. We need to base the slew on the last sent output, not the
last value read back (at 50Hz) from the IO board, or we will slew the
channel at 6x to 8x slower than the correct rate.
2017-02-21 06:09:33 +11:00
Andrew Tridgell 3ce7e4b322 AP_GPS: fixed fake uBlox with PVT message support 2017-02-21 06:09:33 +11:00
Peter Barker 97145f20fc Plane: fix startup of CLI menu system 2017-02-20 00:06:23 -08:00
murata fe93bdbc5e AP_IRLock: Change from magic number 0 to definition name. 2017-02-18 14:12:36 +00:00
murata eb6cdd27fb AP_Notify: Change from magic number 0 to definition name. 2017-02-18 14:12:36 +00:00
murata d9dbf6e1eb AP_OpticalFlow: Change from magic number 0 to definition name. 2017-02-18 14:12:36 +00:00
murata a3f5b4f319 AP_InertialSensor: Change from magic number 0 to definition name. 2017-02-18 14:12:36 +00:00
murata eb4d8963d0 AP_HAL_Linux: Change from magic number 0 to definition name. 2017-02-18 14:12:36 +00:00
murata bc7b2144e7 AP_Compass: Change from magic number 0 to definition name. 2017-02-18 14:12:36 +00:00
murata f5c3de2a61 AP_Baro: Change from magic number 0 to definition name. 2017-02-18 14:12:36 +00:00
murata af65be5aa4 AP_Airspeed: Change from magic number 0 to definition name. 2017-02-18 14:12:36 +00:00
Andrew Tridgell 07ab04897d Plane: reset roll/pitch integrators while tailsitter active
this prevents integrator buildup while flying in hover
2017-02-18 22:23:58 +11:00
Andrew Tridgell 41b9d7c2c9 autotest: added tailsitter parameters 2017-02-18 17:31:10 +11:00