Jacob Walser
579f58e9f2
Sub: hold absolute heading in depth hold and poshold
2017-02-21 11:26:14 +11:00
Jacob Walser
9426849b8d
Sub: Change default ATC_ACCEL_Y_MAX to 110k cd/ss
2017-02-21 11:26:14 +11:00
Jacob Walser
1143f98fad
Sub: Add GCS warnings for high internal pressure/temperature
2017-02-21 11:26:14 +11:00
Jacob Walser
8f6b3900a3
Sub: stop pwm output before reboot
2017-02-21 11:26:14 +11:00
Jacob Walser
c62e882886
Sub: update control mode descriptions
2017-02-21 11:26:14 +11:00
Jacob Walser
0085cc8a27
Sub: rename modes loiter->velhold, sport->transect
2017-02-21 11:26:14 +11:00
Jacob Walser
e844e28a77
Sub: Replace sport mode with transect mode
2017-02-21 11:26:14 +11:00
Jacob Walser
3997bbcd8c
Sub: new poshold mode implementation
2017-02-21 11:26:14 +11:00
Jacob Walser
5911785455
Sub: Add leak and gcs failsafe actions
2017-02-21 11:26:14 +11:00
Jacob Walser
e2a7ba5b0c
Sub: replace land with surface mode
2017-02-21 11:26:14 +11:00
Jacob Walser
e1bf217422
Sub: remove heading hold debug message from stabilize
2017-02-21 11:26:14 +11:00
Jacob Walser
daccdec13c
Sub: Hold absolute heading in stabilize mode
2017-02-21 11:26:14 +11:00
Jacob Walser
f4ad42c276
Sub: Update Notify with leak status
2017-02-21 11:26:14 +11:00
Jacob Walser
a217b4c684
Sub: lock out depth hold mode if no external sensor is present
2017-02-21 11:26:14 +11:00
Rustom Jehangir
4a1c6fc46c
Sub: Fix waf build for water detector.
2017-02-21 11:26:14 +11:00
Jacob Walser
b364d94c43
Sub: Warn for leak detection
2017-02-21 11:26:14 +11:00
Jacob Walser
a811cfe7fb
Sub: Add WaterDetector object and parameters
2017-02-21 11:26:14 +11:00
Jacob Walser
bd2e37ae3f
Sub: add WaterDetector to build
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
967ead31db
Sub: Hardcoded scalars for manual mode to match stabilize mode
2017-02-21 11:26:14 +11:00
Rustom Jehangir
e1882d9596
Sub: Fix camera low pass filter and allow button holding.
2017-02-21 11:26:14 +11:00
Rustom Jehangir
f6b0d47e8e
Sub: Change info print for gain changes.
2017-02-21 11:26:14 +11:00
Rustom Jehangir
f19442389e
Sub: Add identify to speak gain and input hold messages.
2017-02-21 11:26:14 +11:00
Rustom Jehangir
a6a1004ff9
Sub: Remove unnecessary failsafe from motor test.
2017-02-21 11:26:14 +11:00
Rustom Jehangir
69cd30fd8e
Sub: Revert "Sub: Remove gain control from joystick file."
...
This reverts commit 93cc3abab2
.
2017-02-21 11:26:14 +11:00
Rustom Jehangir
e9c2ad9192
Sub: Changes to match upstream Copter changes.
2017-02-21 11:26:14 +11:00
Rustom Jehangir
1633ffb4e4
Sub: Reduce flight mode parameter options.
2017-02-21 11:26:14 +11:00
Rustom Jehangir
9534f41a53
Sub: Fix control_manual compile warnings.
2017-02-21 11:26:14 +11:00
Rustom Jehangir
2b822d0c55
Sub: Change altHold to depthHold for parameter values
2017-02-21 11:26:14 +11:00
Rustom Jehangir
4a25ed2d95
Sub: Change available flight modes in parameter values.
2017-02-21 11:26:14 +11:00
jaxxzer
90580621de
Sub: disable rate controller in manual mode
2017-02-21 11:26:14 +11:00
jaxxzer
6696119ec7
Sub: allow arming from manual mode
2017-02-21 11:26:14 +11:00
jaxxzer
38be177e47
Sub: Add manual mode functions
2017-02-21 11:26:14 +11:00
jaxxzer
e016e906f5
Sub: Create new Vectored 90DEG (6DOF) class
2017-02-21 11:26:14 +11:00
Rustom Jehangir
0a6fc0cc43
Sub: Remove gain control from joystick file.
2017-02-21 11:26:14 +11:00
Rustom Jehangir
f19c20b29e
Sub: Add low pass filter to camera tilt input
2017-02-21 11:26:14 +11:00
Rustom Jehangir
5adcb2cbef
Sub: Changes based on diff with Copter.
2017-02-21 11:26:14 +11:00
Rustom Jehangir
814605c461
Sub: Make changes to match Copter changes
2017-02-21 11:26:14 +11:00
Rustom Jehangir
accbbce304
Sub: Turn counter ( #23 )
...
* Sub: Add turn counter to avoid tether tangling.
* Sub: Add turn counter.
* Sub: Bug fix in turn counter.
2017-02-21 11:26:14 +11:00
jaxxzer
d3f5f59b8c
Sub: fix surface bottom detection
...
output_min() to make sure throttle limits are false when disarmed
2017-02-21 11:26:14 +11:00
jaxxzer
fa5af82d4c
Sub: Update default params
2017-02-21 11:26:14 +11:00
Rustom Jehangir
2ca103bbda
Sub: Set crash detection to off by default
2017-02-21 11:26:14 +11:00
Rustom Jehangir
7265351a0d
Sub: Fix joystick scaling to 1100-1900 range
2017-02-21 11:26:14 +11:00
Rustom Jehangir
9198b8cb29
Sub: Changes to match recent Copter updates.
2017-02-21 11:26:14 +11:00
Rustom Jehangir
7e33957af2
Sub: Fix typo in defines.h
2017-02-21 11:26:14 +11:00
Rustom Jehangir
26d0a922c1
Sub: Changes to match recent Copter updates.
2017-02-21 11:26:14 +11:00
Rustom Jehangir
e857f20784
Sub: Changes to match Copter
2017-02-21 11:26:14 +11:00
Rustom Jehangir
cf8e5f1337
Sub: Improve joystick button debounce
2017-02-21 11:26:14 +11:00
Rustom Jehangir
b97b6b8f8a
Sub: Improve joystick button debounce and input hold
2017-02-21 11:26:14 +11:00
Rustom Jehangir
203b7fbaba
Sub: Implement joystick button arm toggling
2017-02-21 11:26:14 +11:00
Rustom Jehangir
ae0e5dcb4b
Sub: Implement video switch feature on joystick button
2017-02-21 11:26:14 +11:00
Rustom Jehangir
1447ba4c20
Sub: Implement input hold joystick button function
2017-02-21 11:26:14 +11:00
Rustom Jehangir
d628b0d022
Sub: Add 'SimpleROV' frame configuration for 3/4-dof ROVs
2017-02-21 11:26:14 +11:00
Jacob Walser
c711fedc4c
Sub: Add camera source toggle and input hold button options
2017-02-21 11:26:14 +11:00
Rustom Jehangir
f26602ab6d
Sub: Update param descriptions for better processing to QGC
2017-02-21 11:26:14 +11:00
Rustom Jehangir
80cb18335f
Sub: Update default configuration options
2017-02-21 11:26:14 +11:00
Rustom Jehangir
4eb78aefdc
Sub: Add missing terrain.cpp file
2017-02-21 11:26:14 +11:00
Rustom Jehangir
7ad2496f7b
Sub: Update SURFACE_DEPTH param description
2017-02-21 11:26:14 +11:00
Rustom Jehangir
617b439d0e
Sub: Match Copter changes
2017-02-21 11:26:14 +11:00
Rustom Jehangir
37118920ed
Sub: Add upstream Copter changes.
2017-02-21 11:26:14 +11:00
Rustom Jehangir
95a9108a72
Sub: Clean parameter meta data for QGC
2017-02-21 11:26:14 +11:00
Rustom Jehangir
ca1ac03ecf
Sub: Change to MAV_TYPE_SUBMARINE for GCS plugin
2017-02-21 11:26:14 +11:00
Rustom Jehangir
c082bd3c33
Sub: Set mode to stabilize be default
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
3b679808f3
Sub: Match Copter changes.
2017-02-21 11:26:14 +11:00
Rustom Jehangir
d0130136f0
Sub: Add pitch trim to joystick.cpp
2017-02-21 11:26:14 +11:00
Rustom Jehangir
3670fc3547
Sub: Change default pilot gain to 50% and add 25% option.
2017-02-21 11:26:14 +11:00
Rustom Jehangir
3c6b6ba8e9
Sub: Fix handling of SET_HOME_POSITION
2017-02-21 11:26:14 +11:00
Rustom Jehangir
c1f05b9e25
Sub: Match copter mode change stuff
2017-02-21 11:26:14 +11:00
Rustom Jehangir
99ad33411b
Sub: Add pilot gain control
2017-02-21 11:26:14 +11:00
Rustom Jehangir
cc00feac29
Sub: Repair motor outputs for ROVs for +/-1.0 range
2017-02-21 11:26:14 +11:00
Rustom Jehangir
837f429bf0
Sub: Refactor 'strafe' to 'lateral'
2017-02-21 11:26:14 +11:00
Rustom Jehangir
3a942434e7
Sub: Change to cmath header.
2017-02-21 11:26:14 +11:00
Rustom Jehangir
eb6734083d
Sub: Remove readme.txt file.
2017-02-21 11:26:14 +11:00
Rustom Jehangir
1252f6c03e
Sub: Repair build
2017-02-21 11:26:14 +11:00
Rustom Jehangir
7e7b7c9afb
Sub: Add low pass filter (from Copter)
2017-02-21 11:26:14 +11:00
Rustom Jehangir
46a9cea0be
Sub: Update to match upstream, part 2
2017-02-21 11:26:14 +11:00
Rustom Jehangir
684bc249b6
Sub: Update to match upstream, part 1
2017-02-21 11:26:14 +11:00
Rustom Jehangir
e0d3eba5a4
Sub: Match Copter changes
2017-02-21 11:26:14 +11:00
Rustom Jehangir
802f4f617f
Sub: Clean joystick code with helpers
2017-02-21 11:26:14 +11:00
Rustom Jehangir
ef53455e2d
Sub: Implement joystick button actions
2017-02-21 11:26:14 +11:00
Rustom Jehangir
44904760cc
Sub: Add JSButton parameters to necessary places
2017-02-21 11:26:14 +11:00
Rustom Jehangir
9d3bf13cff
Sub: Add JSButton library to makefile for Sub
2017-02-21 11:26:14 +11:00
Rustom Jehangir
1a28ba3762
Sub: Add AP_JButtonMapper to wscript
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
Rustom Jehangir
5ee68aee42
Sub: Fix compile error in control_althold
2017-02-21 11:26:14 +11:00
Rustom Jehangir
85f972ec65
Sub: Update to match Copter changes.
2017-02-21 11:26:14 +11:00
jaxxzer
bd596c8ead
Sub: Increase depth update rate from 10Hz to 25Hz
2017-02-21 11:26:14 +11:00
jaxxzer
cd31451eb5
Sub: Refactor userhooks
2017-02-21 11:26:14 +11:00
jaxxzer
39fd3054c9
Sub: Make ap.land_complete always false
...
This flag should eventually be removed completely from the code.
2017-02-21 11:26:14 +11:00
jaxxzer
577240b8d4
Sub: Fix units for surface_depth parameter (cm)
2017-02-21 11:26:14 +11:00
jaxxzer
0c73ad5f4b
Sub: Fix units for surface depth
2017-02-21 11:26:14 +11:00
Rustom Jehangir
9fabd7ced7
Sub: Changes to match Copter
2017-02-21 11:26:14 +11:00
jaxxzer
ceab2ae759
Sub: land mode will surface the craft
2017-02-21 11:26:14 +11:00
jaxxzer
fa4adee7a0
Sub: fix surface units for alt_hold
2017-02-21 11:26:14 +11:00
Rustom Jehangir
d159320ac0
Sub: Add throw mode to match Copter.
...
This is probably never going to be used for Sub unless there is some crazy situation I can't think of. However, we are continuing to maintain Copter changes for now to minimize divergence of the code and make maintenance easy.
2017-02-21 11:26:14 +11:00
jaxxzer
bde64bc919
Sub: top and bottom detection working well
...
althold makes good use of the information and will refuse to attempt to
fly out of the water or dig underground
2017-02-21 11:26:14 +11:00
jaxxzer
b36300135a
Sub: Add surface and bottom detection capabilities
2017-02-21 11:26:14 +11:00
jaxxzer
66ff7844c2
Sub: change surface/bottom message severity to INFO
2017-02-21 11:26:14 +11:00
jaxxzer
8cd41d305d
Sub: Make surface_depth a parameter
2017-02-21 11:26:14 +11:00
Rustom Jehangir
19bac9a265
Sub: Config change to match Copter
2017-02-21 11:26:14 +11:00
jaxxzer
58d1e18614
Sub: update the surface/bottom detector
2017-02-21 11:26:14 +11:00
jaxxzer
8ff479ca1e
Sub: Enable altitude fences for sub
2017-02-21 11:26:14 +11:00
jaxxzer
00e1c847a6
Sub: top and bottom detection working well
...
althold makes good use of the information and will refuse to attempt to
fly out of the water or dig underground
2017-02-21 11:26:14 +11:00
Rustom Jehangir
de669c1d41
Sub: Change M_PI to match Copter.
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
jaxxzer
48983c38f8
Sub: Top and bottom detection working for alt hold
2017-02-21 11:26:14 +11:00
jaxxzer
8b337a9c7e
Sub: Do nothing for update_throttle_thr_mix
2017-02-21 11:26:14 +11:00
Rustom Jehangir
e8b27b9d19
Sub: Removed unneeded control_rov.cpp.
2017-02-21 11:26:14 +11:00
jaxxzer
b6a0237a63
Sub: Add surface and bottom detection capabilities
2017-02-21 11:26:14 +11:00
Rustom Jehangir
3869ce55e8
Sub: Changes to match Copter updates.
2017-02-21 11:26:14 +11:00
David Ingraham
473016b41d
Sub: Add support for Vectored 6DOF ROV
...
Sub: Various defines for vectored-6dof configuration
Sub: fix compile errors for vector6dof rov
More fixes
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
Rustom Jehangir
105eae0e86
Sub: Remove ADSB support
2017-02-21 11:26:14 +11:00
Rustom Jehangir
5d78cacd58
Sub: Remove old file to match Copter
2017-02-21 11:26:14 +11:00
jaxxzer
c7bd04966a
Sub: Temporary fix for nav check arming failure
2017-02-21 11:26:14 +11:00
jaxxzer
6a12ff1f27
Sub: Revert MAV_TYPE to HEXAROTOR for mavros compatibility
2017-02-21 11:26:14 +11:00
jaxxzer
94c7de36e1
Sub: ensure that gcs and crash failsafes always happen
2017-02-21 11:26:14 +11:00
Rustom Jehangir
1d0ddcc270
Sub: Changes to match Copter updates
2017-02-21 11:26:14 +11:00
Rustom Jehangir
65a1d4fca1
Sub: Update build script and added to build_ci.sh
2017-02-21 11:26:14 +11:00
jaxxzer
0e2f0321f9
Sub: Address safety issues and ensure motors disarm during gcs failsafe
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
fb64195cc7
Sub: Change default build frame type
2017-02-21 11:26:14 +11:00
Rustom Jehangir
59926f99b9
Sub: Add solo shot message fixes
2017-02-21 11:26:14 +11:00
Rustom Jehangir
1d627a23ed
Sub: Added COMMAND_INT message type
2017-02-21 11:26:14 +11:00
Rustom Jehangir
1853935b71
Sub: Fixed ROV motor parameters
2017-02-21 11:26:14 +11:00
Rustom Jehangir
771ce2f607
Sub: Separated motor files and frame types
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
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
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
3da7c95e9b
Sub: New vehicle type, derived from ArduCopter.
2017-02-21 11:26:14 +11:00