Francisco Ferreira
25fefe77b7
Copter: add AP_Rally_Copter
...
override default is_valid method so we can check if rally point is inside the fence, if it isn't we ignore it
2016-07-22 09:00:18 +09:00
Andrew Tridgell
3a8ed06267
Copter: added TKOFF_NAV_ALT parameter
...
this adds TKOFF_NAV_ALT which controls the altitude above takeoff that
navigation can begin. It is meant for unstable vehicles such as helis
to prevent blade strike during initial takeoff.
This also adds a new parameter class ParametersG2 which can hold 64
parameters. This is to avoid running out of parameters in the first
256 block
2016-07-07 14:21:47 +09:00
Peter Barker
043b1d321d
Copter: remove paths for documenation for non-multi frame
...
Our current documentation system only emits one XML document (apm.pdef.xml)
for ArduCopter.
Since there is a conflict between parameters in the MOT_ namespace in Copter,
we only emit the documentation for the first parameter defining the MOT_ namespace.
This patch removes the documentation lines for frame types other than multicopter, meaning the documentation will reflect mutlictopter usage - the most common case.
These lines will need to be reinstated when we change the way we produce the xml documentation.
2016-06-24 09:55:28 +09:00
Peter Barker
7742503ef3
Copter: include AC_AttitudeControl parameter documentation
2016-06-24 09:55:26 +09:00
Daniel Ricketts
87be8daf0e
Copter: integrate AC_Avoidance library
2016-06-22 11:38:15 +09:00
Randy Mackay
901e8cc23f
Copter: convert THR_MIN to MOT_SPIN_MIN, THR_MID to MOT_THST_HOVER
2016-06-18 11:55:49 +09:00
Leonard Hall
48eb4cf674
Copter: remove THR_MID
2016-06-18 11:55:49 +09:00
Leonard Hall
dec9323127
Copter: remove THR_MIN
...
Equivalent is AP_Motors SPIN_MIN
2016-06-18 11:55:49 +09:00
Peter Barker
1fc4063117
Copter: correct TERRAIN_FOLLOW parameter comments
2016-06-08 17:35:20 +09:00
Randy Mackay
2815af81ad
Copter: rename RTL_CONE_SLOPE_DEFAULT definition
...
Also tiny formatting fix
2016-05-31 12:20:21 +09:00
Randy Mackay
be3b1cb6ab
Copter: convert STB_ params to ATC_ANG_
2016-05-28 15:45:30 +09:00
Randy Mackay
7689315ba2
Copter: rename sonar to rangefinder
2016-05-21 10:36:53 +09:00
Randy Mackay
028946ae9e
Copter: rename CONFIG_SONAR to RANGEFINDER_ENABLE
2016-05-21 10:36:53 +09:00
Jonathan Challinger
747344a8ba
Copter: add disarm on land detect option to PILOT_THR_BHV
2016-05-13 11:57:48 +09:00
Andrew Tridgell
75d76ac3bd
Copter: fixed scaling of old heli parms
2016-05-12 17:34:36 +10:00
Andrew Tridgell
111eb2ccc1
Copter: use DataFlash::log_while_disarmed()
2016-05-09 12:05:52 +10:00
Randy Mackay
a6b6fb2473
Copter: fix TERRAIN_FOLLOW parameter description
...
Thanks OXINARF
2016-04-30 10:33:01 +09:00
Randy Mackay
74e02d2c82
Copter: rename TERRAIN_USE to TERRAIN_FOLLOW
...
This matches plane's parameter name
2016-04-30 10:33:01 +09:00
Randy Mackay
91f6c7b503
Copter: add TERRAIN_USE parameter
...
Also add terrain.cpp to hold terrain_update and terrain_logging functions
2016-04-30 10:33:01 +09:00
Leonard Hall
a9cda8b384
Copter: add convert_pid_parameters to ease migration to new PID gains
2016-04-01 11:59:30 +09:00
Randy Mackay
c352e1bedf
Copter: fix attitude control parameter declaration
2016-04-01 11:59:30 +09:00
Randy Mackay
bde498375c
Copter: remove attitude PIDs
...
These are now part of AC_AttitudeControl
2016-04-01 11:59:30 +09:00
Randy Mackay
1f37f5a0e7
Copter: remove tradheli swash, yaw and rsc servos
...
These are all created within the AP_MotorsSingle class now except for servo_rsc which was unused
2016-04-01 11:59:30 +09:00
Leonard Hall
6c40d6f774
Copter: remove single frame's servo objects
2016-04-01 11:59:30 +09:00
Leonard Hall
44180e44df
Copter: remove coax servo objects
...
servos moved to AP_MotorsCoax class
2016-04-01 11:59:30 +09:00
Leonard Hall
a00a9601a4
Copter: AP_MotorsCoax now uses 4 servos
2016-04-01 11:59:30 +09:00
Andrew Tridgell
f19922fec5
Copter: added LAND_SPEED_HIGH parameter
...
this is the descent rate for the first part of a landing. Separating
this from WPNAV_SPEED_DN allows for independent tuning of fast fwd
flight from landings
2016-03-30 15:54:20 +11:00
Lucas De Marchi
34155c09e6
ArduCopter: Update path locations for parameters
...
Thanks to Francisco Ferreira for noticing that.
2016-03-23 17:50:38 -03:00
Don Gagne
cae7ea0d13
Add @Volatile, @ReadOnly support
2016-03-17 10:58:05 +11:00
Don Gagne
e9651dacfe
Copter: update parameter description increments
2016-03-08 09:27:50 +09:00
Randy Mackay
a93a0d370a
Copter: add throw mode to aux switches
2016-03-03 15:30:03 +09:00
Randy Mackay
20b6688e77
Copter: add throw to FLTMODE param descriptions
2016-03-03 12:18:20 +09:00
Paul Riseborough
a7b69366a1
Copter: Add flight mode for throw launch
...
The is commit adds a new flight mode called 'Throw' to Copter that enables the copter to be thrown into the air to start motors. This mode can only be netered when the copters EKF has a valid position estimate and goes through the following states
Throw_Disarmed - The copter is disarmed and motors are off.
Throw_Detecting - The copter is armed, but motors will not spin unless THROW_MOT_START has been set to 1. The copter is waiting to detect the throw. A throw with an upwards velocity of at least 50cm/s is required to trigger the detector.
Throw_Uprighting - The throw has been detected and the copter is being uprighted with 50% throttle to maximise control authority. This state transitions when the copter is within 30 degrees of level.
Throw_HgtStabilise - The copter is kept level and height is stabilised about the target height which is 3m above the height at which the throw release was detected. This state transitions when the height is no more than 0.5m below the demanded height.
Throw_PosHold - The horizontal motion is arrested and the copter is kept at a constant position and height.
2016-03-03 12:18:13 +09:00
Randy Mackay
dc2ec5db18
Copter: add Bitmask param description for PILOT_THR_BHV
2016-01-14 15:21:59 +09:00
Jonathan Challinger
8965185587
Copter: add "high throttle cancels landing" option
2016-01-14 15:21:54 +09:00
Randy Mackay
6a67ad706c
Copter: add Relays to aux switch parameter descriptions
...
Also fix formatting of new options in switches.cpp
No functional change
2016-01-08 12:13:37 +09:00
Randy Mackay
2927d6b2df
Copter: add RTL_CONE_SLOPE param description values
2016-01-07 17:22:35 +09:00
Jonathan Challinger
3800c66f07
Copter: add RTL_CONE_SLOPE
2016-01-07 17:22:33 +09:00
Randy Mackay
15e673f5ae
Copter: fix precland parameter description prefix
...
Thanks to Thomas Stone for finding this
No functional change
2016-01-07 12:55:44 +09:00
Andrew Tridgell
907a680a3b
Copter: always call load_all
...
this ensures defaults file works on first start after erase
2016-01-07 09:33:00 +11:00
Andrew Tridgell
5c94b61f49
Copter: support up to 14 input channels for all boards
2016-01-04 08:22:51 +11:00
Randy Mackay
cfff57257e
Copter: shorten precision landing param prefix
2015-12-31 15:30:39 +09:00
Randy Mackay
1155b1f557
Copter: remove precision landing PI controller
...
This controller has been moved into the precision landing class
2015-12-31 15:30:36 +09:00
pepevalbe
3b3205304b
Copter: added group parameter for AP_Notify library
2015-12-31 11:33:08 +09:00
Andrew Tridgell
d14056fa1e
Copter: fixed build warnings
2015-12-20 17:55:40 +11:00
Peter Barker
f57d237181
Copter: support multiple simultaneous backends
2015-12-03 13:21:51 +11:00
Leonard Hall
6eca767db0
Copter: reduce autotune min D param default to 0.001
2015-11-30 11:21:54 +09:00
Tom Pittenger
34d6d985e9
Copter: Add support for ADS-B
2015-11-27 15:02:15 +09:00
Andre Kjellstrup
c2a810d72a
Copter: update RTL altitude param description
2015-11-21 12:44:10 +09:00
Caio Marcelo de Oliveira Filho
c7acc46d09
Copter: use millis/micros/panic functions
2015-11-20 12:26:31 +09:00
Jonathan Challinger
5086168b03
Copter: add RTL_SPEED parameter
2015-11-16 10:20:32 +09:00
Randy Mackay
731c44d053
Copter: allow terrain to be excluded from build
2015-11-14 12:38:47 +09:00
Andrew Tridgell
9214b85cf1
Copter: fixed path for AC_InputManager for heli
2015-11-13 13:49:25 +11:00
Robert Lefebvre
5cc4f41d85
Copter: Helicopter: to use new Stab_Col and Acro_Col functions.
2015-11-12 19:37:23 +09:00
Robert Lefebvre
34fb600c4f
Copter: Utilize Input Manager Class
2015-11-12 19:37:22 +09:00
Lucas De Marchi
030fd046c7
ArduCopter: remove check for MAVLINK_COMM_NUM_BUFFERS
2015-11-04 12:14:15 +11:00
Lucas De Marchi
e9b6c76454
ArduCopter: fix wrong printf format for 32 bits
...
"micros() - before" doesn't return a long value. Use "%u".
2015-10-30 14:35:34 +09:00
Lucas De Marchi
20c6ffc5e3
Replace use of UARTDriver::printf_P() with UARTDriver::printf()
...
This also starts to show warnings on places that were already using
wrong printf format strings.
2015-10-30 14:35:25 +09:00
Lucas De Marchi
6f4904189b
Replace use of println_P() with println()
2015-10-30 14:35:22 +09:00
Lucas De Marchi
831d8acca5
Remove use of PROGMEM
...
Now variables don't have to be declared with PROGMEM anymore, so remove
them. This was automated with:
git grep -l -z PROGMEM | xargs -0 sed -i 's/ PROGMEM / /g'
git grep -l -z PROGMEM | xargs -0 sed -i 's/PROGMEM//g'
The 2 commands were done so we don't leave behind spurious spaces.
AVR-specific places were not changed.
2015-10-30 14:35:16 +09:00
Lucas De Marchi
2c38e31c93
Remove use of PSTR
...
The PSTR is already define as a NOP for all supported platforms. It's
only needed for AVR so here we remove all the uses throughout the
codebase.
This was automated with a simple python script so it also converts
places which spans to multiple lines, removing the matching parentheses.
AVR-specific places were not changed.
2015-10-30 14:35:04 +09:00
Caio Marcelo de Oliveira Filho
49a42dc985
SITL: use a SITL namespace
2015-10-22 11:04:42 -02:00
Andrew Tridgell
053194fd51
Copter: added EK2_* parameters and EKF2 instance
2015-09-23 11:56:33 +10:00
Randy Mackay
7db77482f5
Copter: precision landing velocity PI object
...
Follow up changes required to actually use this PI during landing
2015-08-31 18:00:32 +09:00
Randy Mackay
26ded641db
Copter: integrate Precision Landing lib
2015-08-31 18:00:28 +09:00
Robert Lefebvre
990761a13b
Copter: Create new heli RSC RC Channel object.
2015-08-31 11:27:50 +09:00
Fredrik Hedberg
66d9d38750
Copter: Use AP_MotorsHeli_Single for HELI_FRAME.
2015-08-31 11:27:32 +09:00
Andrew Tridgell
ff934d5bca
Copter: added FS_CRASH_CHECK parameter
...
this allows automatic crash detection to be disabled
2015-08-31 12:15:46 +10:00
Andrew Tridgell
90909f2b4a
Copter: added DISARM_DELAY parameter
...
this allows automatic disarming to be disabled, or set to a shorter or
longer time as appropriate for the user
2015-08-31 11:44:08 +10:00
Stewart Loving-Gibbard
7cb494d8e2
Copter: Moving to RSSI library for reading various kinds of RSSI, with the possibility of adding more.
...
* Retains ability to read from Analog Pin
* Adds ability to read RSSI from PWM channel value as is done in OpenLRSng, EazyUHF, and various other LRS.
* Handles any type of RSSI that provides RSSI values inverted - i.e. when the low value is the best signal and the high value is the worst signal.
* Has different key names from all existing RSSI parameters to provide for a clean break and easier distinguishing.
* Existing parameters are marked as obsolete
2015-08-29 08:05:59 +10:00
Randy Mackay
71cc89d107
Copter: add ACCEL_Z_FILT_HZ parameter description
...
Also fixed parameter links to ATC, BATT and MOT libraries
2015-08-26 11:17:50 +09:00
Randy Mackay
43fa9c8ae3
Copter: fix Autotune param descriptions
2015-08-23 14:56:41 +09:00
Randy Mackay
a10a74d498
Copter: AUTOTUNE_MIN_D param to allow controlling minimum D
2015-08-23 14:56:39 +09:00
Stewart Loving-Gibbard
d1f5a2988d
Copter: fix spelling errors in Parameters.cpp
2015-08-18 09:48:52 +09:00
Randy Mackay
c8ecb1bac7
Copter: fix PILOT_TKOFF_DZ param description
2015-08-13 10:40:26 -07:00
Randy Mackay
c324d4e89b
Copter: fix ANGLE_MAX param description
...
Thanks to Hamish for finding this
2015-08-13 10:35:32 -07:00
Andrew Tridgell
1fdf7ec83f
Copter: added RPM sensor support
...
send result via MAVLink
2015-08-12 15:03:50 +10:00
Randy Mackay
0af7fb93e5
Copter: rename param to MotorsMulticopter
2015-07-21 16:25:58 +09:00
Robert Lefebvre
cdfdb340df
Copter: Use AP_Motors_Multirotors class for params
2015-07-21 16:24:46 +09:00
Randy Mackay
063faa0383
Copter: add RTL_CLIMB_MIN
...
Vehicle climbs at least this many cm when entering RTL
2015-07-13 20:38:52 +09:00
Randy Mackay
c33453fcf9
Copter: rename ESC param to ESC_CALIBRATION
2015-07-13 09:33:37 +09:00
Randy Mackay
1a911553eb
Copter: allow disabling ESC calibration
2015-07-13 09:33:35 +09:00
Lucas De Marchi
0bc09adc78
ArduCopter: use ARRAY_SIZE macro
2015-07-07 07:56:30 +10:00
Randy Mackay
c57b4f9c8c
Copter: add Flip, AutoTune to FLTMODE param descriptions
2015-07-02 13:24:20 +09:00
Randy Mackay
e60f53d144
Copter: arming check Bitmask param description
2015-06-27 19:20:52 +09:00
Andrew Tridgell
58b1702552
Copter: fixed pde paths
2015-06-16 09:59:39 +10:00
Randy Mackay
1bd6728e21
Copter: add All+FullIMU to LOG_BITMASK param description
2015-06-11 20:21:01 +09:00
Randy Mackay
ce1031a5bd
Copter: remove AP_AHRS_NAVEKF_AVAILABLE checks
...
Copter requires an EKF
2015-06-10 12:18:38 +09:00
Randy Mackay
aa05325b54
Copter: add althold as ekf failsafe action
2015-06-10 12:06:08 +09:00
Randy Mackay
4408f01f39
Copter: rename ekf_check_thresh to fs_ekf_thresh
2015-06-10 12:06:06 +09:00
Michael Oborne
ebeb2b7ebb
Copter: add bitmask documentation
2015-06-04 21:33:31 +09:00
Randy Mackay
738e4d89db
Copter: default RC_FEEL to Medium
2015-06-03 11:38:54 +09:00
Andrew Tridgell
bfb105fa5a
Copter: changes for new AHRS API
2015-06-01 16:16:59 +10:00
Andrew Tridgell
278883c521
Copter: finished conversion to .cpp files
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2015-05-30 15:21:19 +09:00
Andrew Tridgell
356ece3402
Copter: rename .pde files to .cpp files
2015-05-30 15:21:15 +09:00