Commit Graph

427 Commits

Author SHA1 Message Date
Randy Mackay 3438d1b46b Copter: param conversion for ACRO_RP_RATE, Y_RATE 2021-09-23 20:03:53 +09:00
Leonard Hall 5d5ccc8c78 Copter: Update ACRO to use rate parameters and update expo function 2021-09-23 20:03:53 +09:00
Randy Mackay 1d7d5d23f7 Copter: add acro and pilot yaw rate and expo 2021-09-23 20:03:53 +09:00
Josh Henderson 24b6f024ea Copter: convert RTL_ALT to int32 2021-09-15 16:17:08 +09:00
Randy Mackay e0dd294806 Copter: guided supports using wpnav to reach position targets 2021-09-13 07:49:16 +09:00
Randy Mackay 2597a5c0c2 Copter: GUID_OPTIONS descriptions includes spaces 2021-09-13 07:49:16 +09:00
Leonard Hall 97decc4c21 Copter: Remove parameter RNGFND_GAIN 2021-09-06 16:00:19 +09:00
Peter Barker 3a3433cad2 ArduCopter: add and use HAL_BUTTON_ENABLE 2021-08-25 19:03:42 +10:00
murata 7f6fbe72e6 Copter: Change the parameter description
Revert "Copter: Change the parameter description"

This reverts commit 406a1f976c85ae3bda252b6b7c4f8808e91c9fe7.
2021-08-25 15:46:41 +09:00
Peter Barker 000b410daa ArduCopter: DCM handles centrifugal correction application internally now 2021-08-17 10:36:46 +10:00
Tatsuya Yamaguchi 8bd04c17c8 Copter: add DO_LAND_START description to THR/GCS FS action 2021-08-16 20:53:56 +09:00
Leonard Hall 4d514e9a59 Copter: fix PID filter names FILT -> FLTE, D_FILT -> FLTD 2021-08-10 08:33:56 +09:00
bugobliterator 7e01e10056 Copter: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
Peter Barker f21cddcf0f ArduCopter: use mission singleton inside AP_AdvancedFailsafe 2021-08-03 10:35:24 +10:00
Iampete1 b63cc809ce Copter: add AUTO RTL pseudo mode, DO_LAND_START 2021-07-27 09:00:11 +09:00
Randy Mackay d39581f996 Copter: replace use of TERRAIN_MARGIN with WPNAV_TER_MARGIN 2021-07-21 16:03:44 +09:00
Iampete1 cbf93c7dad Copter: add new dynamic mixer frame class 2021-07-20 09:19:28 +10:00
Peter Barker 5f039ba06d Copter: fix build for lack of AC_TERRAIN define 2021-07-12 21:14:40 +10:00
Peter Barker 3684741517 ArduCopter: remove AC_TERRAIN compilation option
Use AP_TERRAIN_AVAILABLE instead
2021-07-12 17:34:44 +10:00
Randy Mackay 7dcc5dd7ac Copter: add TERRAIN_MARGIN parameter 2021-07-10 20:25:05 +09:00
Randy Mackay 50d0592962 Copter: add GUID_TIMEOUT for guided mode vel, accel and angle control 2021-07-10 20:25:05 +09:00
Leonard Hall 635d13a106 Copter: support for acceleration-based AttitudeControl 2021-07-10 20:25:05 +09:00
Hwurzburg e6c80744db ArduCopter: remove values metadata from log bitmask 2021-06-30 09:24:26 +09:00
Randy Mackay 290124720d Copter: RNGFND_FILT param default increased from 0.25 to 0.5 2021-06-25 15:36:31 +10:00
Randy Mackay 1cafbe1e65 Copter: add configurable rangefinder filter 2021-06-16 18:54:13 +10:00
Hwurzburg 6c06f72af3 ArduCopter: make centideg metadata incr and range consistent 2021-05-25 10:10:18 +10:00
Randy Mackay 5fcd2de4fa Copter: attitude target thrust-as-thrust bit moved from DEV_OPTIONS to GUID_OPTIONS 2021-04-20 09:56:38 +10:00
Peter Barker c2411698b9 Copter: point to SITL parameter metadata 2021-04-10 11:28:22 +10:00
Peter Barker 1e0f106ed4 Copter: make AutoTune object private state to ModeAutoTune 2021-03-30 11:23:10 +11:00
Randy Mackay 91fa40aea6 Copter: HAL_PROXIMITY_ENABLED replaces PROXIMITY_ENABLED 2021-03-26 16:22:46 +09:00
murata 0fe65fd6d3 Copter: Added new settings for flight mode channel 2021-03-24 08:50:59 +09:00
Tatsuya Yamaguchi ed8384b45a Copter: add option to disable LANDING_GEAR 2021-03-17 10:41:11 +09:00
Siddharth Purohit 0c42c56c36 Copter: move underscore one layer down for GPS 2021-03-12 16:32:36 +09:00
Iampete1 2e9c11fbdf Copter: add FLIGHT_OPTIONS param and options bits to disable thrust loss and yaw imbalance warnings 2021-03-02 09:35:06 +09:00
Iampete1 d6fa4d97e3 Copter: add 6DoF support 2021-02-09 12:43:54 +09:00
Patrick José Pereira ad82e01270 ArduCopter: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11:00
Iampete1 643966fb3e Copter: add SCRIPTING_MATRIX frame class 2021-01-26 11:07:36 +09:00
Peter Barker 9e7a0e6267 Copter: use iterators in parameter conversion 2021-01-22 11:25:32 +09:00
Tatsuya Yamaguchi 621fa857b7 Copter: disable RTL option 2021-01-13 17:19:19 +09:00
Tatsuya Yamaguchi b6b39673d4 Copter: remove PHLD_BRAKE_* params when PosHold is disabled 2021-01-07 11:41:08 +09:00
Tom Pittenger b80f003c98 Copter: extend Stream rates param count to match MAVLINK_COMM_NUM_BUFFER 2020-12-29 07:52:09 -07:00
Pierre Kancir be2e243916 Copter: add initial mode parameter 2020-12-16 17:27:07 +09:00
Randy Mackay dc3ded234b Copter: FS_GCS_ENABLE param desc replaces deprecated with removed
Also modified FS_THR_ENABLE param desc replaces deprecated with removed
2020-12-09 19:30:48 +09:00
Randy Mackay 98a41ab005 Copter: FS_OPTIONS defaults to continue pilot controlled modes on GCS failsafe 2020-12-09 19:30:48 +09:00
Andrew Tridgell cd2f2f96eb rename barometer parameters to BARO prefix 2020-12-08 13:22:17 +11:00
Peter Barker f4cbc50ba4 Copter: use an enumeration for pre-throw motor state 2020-12-08 12:04:14 +11:00
Peter Barker bd0dff1b0e Copter: use enum-class and AP_Enum for ThrowType 2020-12-08 12:04:14 +11:00
murata dcda0c48ca Copter: Support for decacopters 2020-12-08 11:59:10 +11:00
Michael du Breuil f9b4e81702 Copter: Add ignore pilot yaw to guided, auto and RTL options 2020-11-19 07:22:54 +09:00
Michael du Breuil 5e2093b105 Copter: Allow the user to specify the GCS failsafe timeout 2020-11-17 09:24:07 +09:00
Andy Piper 304d05f918 Copter: allow OSD for TX-only screens 2020-11-11 18:13:11 +11:00
Hwurzburg 83e1fe94d1 Copter: fix metadata in FS_GCS_ENABLE param 2020-11-06 08:23:31 +09:00
murata f18585c584 Copter: Matches the minimum value of failsafe_throttle_value to the operation 2020-11-03 10:42:29 +09:00
Rishabh 6e19eac9aa ArduCopter: remove nomination of system ids 2020-10-27 17:15:04 +11:00
Randy Mackay 9104b4800f Copter: correct GuidedOptions enum after peer review
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2020-10-20 23:04:45 +09:00
Randy Mackay eb3aca7acf Copter: add GUIDED_OPTIONS to allow arming from transmitter 2020-10-20 23:04:45 +09:00
Peter Barker 56790625b8 Copter: stop passing unused inav into autorotate library 2020-10-01 21:13:20 +10:00
Randy Mackay 8b3cc0b255 Copter: fixup auto options 2020-10-01 08:48:06 +09:00
Michael du Breuil 50dfe3f197 Copter: Add AUTO_OPTIONS and support arming and throttle bypass
This allows you to arm the copter without any extra GCS commands while
in auto, and can be done from both the GCS, or the RC Tx. This is useful
for creating a simpler workflow.

This also allows you to set the auto_armed flag internally, which
bypasses the need to raise the throttle stick for the copter to start a
takeoff.

This exposed a problem where we would start running the controllers
before the EKF was at all initialized, if you switched into auto to
early. This now has a check that prevents us from running the mission
state machine until after the origin has been set. This was a suggestion
from @rmackay9.

When combined these options allow you to have the vehicle on the ground,
disarmed in auto with a takeoff waypoint loaded, then just arm the
aircraft and watch it takeoff. This is a feature we've had on quadplanes
for quite awhile now, and it has proven to be very nice for operators.
2020-10-01 08:46:29 +09:00
Andy Piper b8f613c965 Copter: rename ADSB_ENABLED to HAL_ADSB_ENABLED and remove from config 2020-09-22 09:33:51 +10:00
Iampete1 c265a38344 Copter: add gripper release FS_Option 2020-08-26 17:58:24 +09:00
Siddharth Purohit 9b9954aa46 Copter: move to using CANManager library 2020-08-19 17:31:09 +10:00
Randy Mackay 925f76c048 Copter: integrate winch changes
includes the following changes
winch_update called at 50hz
removed ability to set winch rate from ch6 tuning
remove wheel encoder
call winch library to log at 10hz
fix winch param prefix
2020-08-07 21:55:07 +09:00
Mark Whitehorn 8325de0845 Copter: default RC_OPTIONS to 0 for tradheli 2020-08-04 10:26:45 +10:00
Andy Piper 54c3d07547 Copter: make make/gimbal configurable on a per-board basis 2020-08-04 09:18:14 +10:00
Randy Mackay 30c8d7bf40 Copter: dev option so set-attitude-target thrust field used as thrust 2020-08-01 08:32:23 +09:00
Andy Piper 12c9578a66 Copter: add in additional acro options
Air-mode for multicopters
Rate only for multicopters and trad-heli
if air-mode aux switch is toggled in acro do not reset air-mode on exit
2020-07-14 15:54:24 +09:00
Tatsuya Yamaguchi cde7ae246e Copter: add ZIGZ_AUTO_ENABLE parameter 2020-06-03 15:21:21 +09:00
Tatsuya Yamaguchi cee7e94ebc Copter: add zigzag_line_num parameter 2020-06-03 15:21:21 +09:00
Tatsuya Yamaguchi 7bc528097d Copter: support zigzag auto feature 2020-06-03 15:21:21 +09:00
Tatsuya Yamaguchi 60fb275501 Copter: rename zigzag_auto_pump to zigzag_sprayer 2020-06-03 15:21:21 +09:00
Tatsuya Yamaguchi 63002111eb Copter: add ZIGZAG_WP_DELAY parameter 2020-06-03 15:21:21 +09:00
Randy Mackay e889f6091e Copter: fix Throw param desc 2020-05-02 11:32:06 +09:00
murata e1df6933f0 Copter: Set the minimum value to zero. 2020-04-27 08:57:49 +09:00
Randy Mackay c4b5d47e1f Copter: white space fixes 2020-04-23 13:17:11 +09:00
Randy Mackay 04c3f040a8 Copter: visual odometry moved to AP_Vehicle 2020-04-09 19:41:08 +09:00
Tatsuya Yamaguchi 6b192de389 Copter: add ZIGZAG_AUTO_PUMP parameter 2020-02-19 19:56:56 +09:00
Rishabh d4dcadcea0 Copter: Rename SYSID_SW_MREV to FORMAT_VERSION 2020-02-19 09:45:22 +09:00
Randy Mackay 6597d5c825 Copter: remove old ch7_opt and tune param desc 2020-01-21 13:06:56 +09:00
Peter Barker e3dd0d33e7 Copter: allow NavEKFs to be compiled out 2020-01-21 11:53:18 +11:00
Peter Barker 45dc4cf25c Copter: EKF objects have moved into AP_AHRS_NavEKF 2020-01-21 11:53:18 +11:00
Andrew Tridgell 47ea3274bb Copter: list BetaflightXReversed frame type 2020-01-16 19:13:13 +11:00
Andrew Tridgell 1fae2009db Copter: update for new SRV_Channels parameter conversion call 2020-01-14 14:23:11 +11:00
Gone4Dirt daf1b57736 Copter: Changed autorotation fltmode to clarify for heli 2020-01-14 09:47:28 +09:00
Andy Piper 93abfdb905 Copter: create generic vehicle management and move runcam to it 2019-12-30 13:02:04 +11:00
Randy Mackay f56a426193 Copter: gcs failsafe disabled by default 2019-12-23 14:35:15 +09:00
Randy Mackay ea22e888c7 Copter: improve RTL terrain following
RTL_ALT_TYPE replaces TERRAIN_FOLLOW param
return path built using rangefinder or terrain database
pre-arm checks for RTL_ALT_TYPE parameter
pre-arm checks of terrain data only run if RTL might use it
2019-12-17 20:02:01 +09:00
bnsgeyer 74d81e6d50 Copter: Change STAB_COL params to percent 2019-12-14 09:00:31 +09:00
Peter Barker 544eb5f179 Copter: correct duplicate button instance 2019-12-10 09:29:52 +09:00
Leonard Hall 7d062e3767 Copter: System ID mode: Add tuning option parameter discription 2019-12-05 09:21:00 +08:00
Gone4Dirt 180d4e713c Copter: Added autorotation flight mode and support 2019-11-29 08:06:10 +08:00
Peter Barker afdded2bff Copter: adjust for renaming of RangeFinder files 2019-11-12 07:14:37 +08:00
Peter Barker e6c6189fe5 Copter: cope with change in namespace of LogEvent enum
Also move Acro Trainer types into an enum class as the global defines
interfere with the Event names.

Also eliminate the Log_Write_Event wrappers.
2019-11-05 08:19:26 +08:00
Matt Lawrence f71ef4c7ab Copter: Refactor failsafes, add fs_options bitmask parameter
- Radio failsafe, battery failsafe, GCS failsafe refactoring
- Add new FS_OPTIONS parameter
- Enhance GCS Failsafe abilities
2019-11-03 07:07:34 +08:00
Peter Barker 2a312aa8f1 Copter: stop passing serial manager to proximity constructor 2019-10-31 11:58:15 +08:00
Randy Mackay f0084f743d Copter: fix PSC_ACCZ_FILT to _FLTE param conversion 2019-10-29 12:25:57 +08:00
Randy Mackay 85f963b961 Copter: multicopter ATC_RAT_RLL/PIT_FILT copied to FLTD and FLTT 2019-10-25 12:28:00 +08:00
Randy Mackay 7b0da89708 Copter: add vibration check 2019-10-18 11:15:25 +09:00
Leonard Hall c11f2247eb Copter: System ID mode 2019-10-16 08:17:09 +09:00
murata abb91fc33a Copter: Change external button specification to option
Copter: Change the definition name from BUTTON to BUTTON_ENABLED.
2019-10-08 08:09:19 +09:00