Commit Graph

20246 Commits

Author SHA1 Message Date
Rustom Jehangir
65204b9bac Sub: Added vectored configuration for BlueROV.
Activate by changing the BLUEROV_VERSION define in AP_MotorsBlueROV.cpp.
2016-01-13 18:11:22 -08:00
Rustom Jehangir
00077e82b1 Sub: Added joystick button arm/disarm. 2016-01-13 17:51:11 -08:00
Rustom Jehangir
ea4871d845 Sub: Fix outputs in BlueROV motors.
Changed throttle to -1000-1000 and added a base factor.
2016-01-13 17:13:03 -08:00
jaxxzer
e10a1e1eec Motors update 2016-01-13 15:56:02 -08:00
jaxxzer
633ae6539f Clean up motors classes. 2016-01-13 15:53:47 -08:00
jaxxzer
88ae073690 Using the MotorsMatrix class will allow some ease in changing motor
configurations, and will translate mixing of movment in each DOF between
motor configurations.
2016-01-13 15:44:40 -08:00
Rustom Jehangir
2b38ded0df Updated default RCMap indices for forward and strafe. 2016-01-13 14:54:05 -08:00
Rustom Jehangir
cfe46acea6 Update BlueROV motors and new manual_control function to output proper motor values to all 6 motors. 2016-01-10 18:41:50 -08:00
Rustom Jehangir
59a5383031 Adjusted forward/strafe channels to not conflict with roll/pitch. Roll and pitch will be hard-coded to zero to stay level. 2016-01-10 16:43:08 -08:00
Rustom Jehangir
3e8211e900 Added function to transform MANUAL_CONTROL messages to RC override. This allows MANUAL_CONTROL to work properly without changing much else. 2016-01-10 16:23:03 -08:00
Rustom Jehangir
094ff56c57 Added a MAVLink message handler for MANUAL_CONTROL. It currently sends values to override the RC channels for testing. This will change. 2016-01-10 11:32:45 -08:00
Rustom Jehangir
16dc7b42ba Merge branch 'master' of https://github.com/diydrones/ardupilot 2016-01-09 09:06:43 -08:00
Gustavo Jose de Sousa
d6b4e98a88 waf: remove already fixed TODOs
The TODOs removed with this patch were already fixed. Below is the explanation
for each.

 - TODO: add support for unit tests.
    - Supported already added.

 - TODO: Check if we should simply use the signed 'waf' "binary" (after
   verifying it) instead of generating it ourselves from the sources.
    - We're using a submodule for waf.

 - TODO: evaluate if we need shortcut commands for the common targets
   (vehicles). currently using waf --targets=NAME the target name must contain
   the board extension so make it less convenient, maybe hook to support
   automatic filling this extension?
    - There's no need of adding the extension anymore.

 - TODO: Once HAL patches get in, need to filter out the HAL based on the
   bld.env.BOARD.
    - The board-specific HAL library folders is indicated in
      bld.env.AP_LIBRARIES.
2016-01-09 14:08:07 -02:00
Andrew Tridgell
2c617cf8f0 scripts: stop building flymaple for plane
it no longer fits in flash
2016-01-09 17:03:41 +11:00
Rustom Jehangir
9e39e25a20 Merge. 2016-01-08 22:03:40 -08:00
Rustom Jehangir
12b18c9204 Fixed the arming process I previously disabled. 2016-01-08 21:59:22 -08:00
Rustom Jehangir
56e3770a06 Change user config file for default options. Eventually these will be moved into the main config file as Sub defaults. 2016-01-08 21:58:09 -08:00
Rustom Jehangir
db3666c284 Rebased. 2016-01-08 21:57:01 -08:00
Andrew Tridgell
62b6057249 autotest: switch QuadPlane mission to full OBC2016 mission in Dalby 2016-01-09 16:50:17 +11:00
Rustom Jehangir
bbca4f723e Branch ArduPlane into ArduSubsea. 2016-01-08 21:49:55 -08:00
Rustom Jehangir
3e542d4e08 Fixed error in RCMapper for new channel parameters. 2016-01-08 21:49:55 -08:00
Rustom Jehangir
63a866b392 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. 2016-01-08 21:49:55 -08:00
Rustom Jehangir
7b8813f1fc Added forward and strafe channels to the radio. This might not be the best method for this, but it should work for now and will allow the control classes to be changed appropriately. 2016-01-08 21:49:55 -08:00
Rustom Jehangir
c9b60d9d41 Change user config file for default options. Eventually these will be moved into the main config file as Sub defaults. 2016-01-08 21:49:55 -08:00
Rustom Jehangir
ce5530adb1 Added frame type BLUEROV to configure use with the new AP_MotorsBlueROV class. 2016-01-08 21:49:55 -08:00
Rustom Jehangir
1340a2a1ac Changed the majority of the BlueROV motor library file. Haven't compile tested yet because this commit was made by accident. Whoops. Will commit a fix if it breaks. 2016-01-08 21:49:55 -08:00
Rustom Jehangir
4f9fd8dd6b Changed class names in new AP_MotorsBlueROV class for compilation. All other code is still identical to the tricopter motor class. 2016-01-08 21:49:55 -08:00
Rustom Jehangir
72469e909c Copied tricopter Motor library files as the base for the BlueROV motor library. This was done because it doesn't use the Matrix parent class, which is too specific to flying multicopters. 2016-01-08 21:49:55 -08:00
Rustom Jehangir
4a74f623c4 Added forward and strafe setters and getters to AP_Motor_Class to enable a motor class with 6DOF actuators. 2016-01-08 21:49:55 -08:00
Rustom Jehangir
0e978ed99c Changed to ArduCopter as the base code. 2016-01-08 21:49:55 -08:00
Rustom Jehangir
e6684735fe Branch ArduPlane into ArduSubsea. 2016-01-08 21:49:54 -08:00
Andrew Tridgell
eec1b95f69 autotest: added quadplane test 2016-01-09 16:27:03 +11:00
Andrew Tridgell
9e43d5a4bb autotest: added defaults_file option to start_SIL() 2016-01-09 16:26:51 +11:00
Andrew Tridgell
5a24e93cc5 Plane: removed debug code and add quadplane setup checks 2016-01-09 16:26:13 +11:00
Rustom Jehangir
f26e741c6f Pulled in and merged upstream. 2016-01-08 21:18:45 -08:00
Rustom Jehangir
ee4a714a19 Merge branch 'master' of https://github.com/diydrones/ardupilot 2016-01-08 21:07:48 -08:00
Rustom Jehangir
aad6fcbbf8 Merged Jacob's changes but removed deleted submodules from commit. 2016-01-08 20:33:21 -08:00
Andrew Tridgell
9e3c1fddef Plane: updated release notes 2016-01-09 15:17:45 +11:00
Rustom Jehangir
e05b0c3929 Merge branch 'Jacob' of https://github.com/jaxxzer/ardupilot into jaxxzer-Jacob 2016-01-08 20:17:26 -08:00
Rustom Jehangir
b9463a27b4 Fixed the arming process I previously disabled. 2016-01-08 19:59:05 -08:00
Andrew Tridgell
ebe1fe0b17 Plane: raise version to 3.5.0beta1 2016-01-09 13:33:27 +11:00
Tom Pittenger
db8a2f7e8b AP_TECS: changed land_spdwgt to be sliding scale 2016-01-09 13:25:02 +11:00
Tom Pittenger
7978872e32 AP_Plane: set path_propportion in TECS 2016-01-09 13:25:02 +11:00
Tom Pittenger
89ce0b062b AP_SpdHgtControl: added new path_propportion var 2016-01-09 13:25:02 +11:00
Andrew Tridgell
ee819959b6 Plane: smoother takeoff and land transition in VTOL auto 2016-01-09 11:33:43 +11:00
Andrew Tridgell
2679cb2c50 Plane: improve yaw and position control in takeoff and landing
auto VTOL takeoff is always vertical. Yaw rate is zero on takeoff and
during VTOL descent
2016-01-09 10:47:41 +11:00
jaxxzer
71716f15ef Update forward and strafe rc channels in the control mode files. 2016-01-08 18:25:59 -05:00
Andrew Tridgell
0986474eed Plane: call set_frame_orientation() before Init for quad motors 2016-01-09 07:44:45 +11:00
Andrew Tridgell
7667ad3af0 autotest: don't see dynamic vars in defaults file 2016-01-09 07:38:55 +11:00
Andrew Tridgell
52c4715c94 Plane: fixed init bug on low memory for quadplane 2016-01-09 07:38:55 +11:00