Commit Graph

26063 Commits

Author SHA1 Message Date
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
Andrew Tridgell
d338d9c0aa SITL: fixed whitespace on flightaxis code 2017-02-18 17:26:43 +11:00
Andrew Tridgell
83d055eceb AP_Motors: support twin-motor tailsitters
use differential thrust for roll
2017-02-18 17:26:43 +11:00
Andrew Tridgell
b3380ecfa7 Plane: support twin-engine planes
with differential thrust for yaw
2017-02-18 17:26:43 +11:00
Andrew Tridgell
584fbf629b SRV_Channel: added k_throttleLeft and k_throttleRight
support for differential thrust for yaw in twin engine planes
2017-02-18 17:26:43 +11:00
Andrew Tridgell
7845181f4b AP_AHRS: fixes for changes in AP_AHRS API from Michael 2017-02-18 17:26:43 +11:00
Andrew Tridgell
e8b11924f8 Plane: split out the tailsitter transition complete code
use both roll and pitch to trigger completion of transition. This
copes with situations where the plane has managed to get itself rolled
over far enough that it can't recover into hover
2017-02-18 17:26:43 +11:00
Andrew Tridgell
d5a3f844f1 Plane: changes for AC_WPNav 2017-02-18 17:26:43 +11:00
Andrew Tridgell
f1917dddd0 Copter: changes for AC_WPNav 2017-02-18 17:26:43 +11:00
Andrew Tridgell
17e1329068 AC_WPNav: converted to use AP_AHRS_View
for use in quadplane tailsitters
2017-02-18 17:26:43 +11:00
Andrew Tridgell
94fb390bda autotest: added sim_vehicle.py support for tailsitter 2017-02-18 17:26:43 +11:00
Andrew Tridgell
3c8020862c SITL: support a builtin tailsitter vehicle type 2017-02-18 17:26:43 +11:00
Andrew Tridgell
92fdef5b97 Copter: changed for AP_AHRS_View on AC_AttitudeControl 2017-02-18 17:26:43 +11:00
Andrew Tridgell
aad412eaef Copter: support tailsitter frame class 2017-02-18 17:26:43 +11:00
Andrew Tridgell
ac2a9c4b4a AP_Motors: allow Copter to fly the tailsitter motors class 2017-02-18 17:26:43 +11:00
Andrew Tridgell
c62c64d27b AP_AHRS: added support for AP_AHRS_View 2017-02-18 17:26:43 +11:00
Andrew Tridgell
1345bf8737 AC_AttitudeControl: added support for AP_AHRS_View
this allows for tailsitters with a different attitude view
2017-02-18 17:26:43 +11:00
Andrew Tridgell
c787f4c56f Plane: initial support for tailsitter transitions 2017-02-18 17:26:43 +11:00
Andrew Tridgell
3cb88d0a23 Copter: added tailsitter frame support 2017-02-18 17:26:43 +11:00
Andrew Tridgell
83f3cee99e Plane: initial hooks for tailsitter support 2017-02-18 17:26:43 +11:00
Andrew Tridgell
4e4f5a7ac9 Plane: allow tailsitters to takeoff with any attitude 2017-02-18 17:26:43 +11:00
Andrew Tridgell
8bd1fc63d5 SITL: support pitch90 and pitch270 in FlightAxis
used for flying tailsitters
2017-02-18 17:26:43 +11:00
Andrew Tridgell
1a74b7fc0c AP_Motors: started on tailsitter support 2017-02-18 17:26:43 +11:00
Andrew Tridgell
5acbf5d16e AC_AttitudeControl: use FF from AC_PID 2017-02-18 17:26:43 +11:00