Peter Barker
2c401ccec5
Copter: rename ADVANCED_FAILSAFE to AP_COPTER_ADVANCED_FAILSAFE_ENABLED
...
to make integration with custom build server work
2024-11-12 12:44:34 +11:00
Peter Barker
784760342d
Copter: remove ENABLE/ENABLED/DISABLE/DISABLED defines
2024-09-06 11:53:09 +10:00
Peter Barker
136e76e5ea
Copter: tidy failsafe action handling
...
Mode changes will not work when mode not compiled in
2024-06-17 10:24:59 +10:00
Peter Barker
f2a9f1516b
ArduCopter: move gripper up to AP_Vehicle
...
also make the singleton return a reference rather than a pointer
2024-02-21 21:05:12 +11:00
Peter Barker
7377b3f8f2
ArduCopter: allow compilation with HAL_LOGGING_ENABLED false
2024-01-17 18:25:55 +11:00
Tatsuya Yamaguchi
6b40fd11d6
Copter: Add GCS Failsafe Brake option
2023-05-20 17:28:54 +10:00
Leonard Hall
5a178984c4
Copter: Add Radio Failsafe Brake option
2023-03-09 09:25:43 +11:00
Peter Barker
be93d8212c
ArduCopter: add AP_GRIPPER_ENABLED
2022-10-04 10:58:34 +11:00
Randy Mackay
b60d6348ed
Copter: add dead reckon failsafe
2022-05-25 20:05:21 +09:00
khanasif786
e7b0aff8ec
Copter:changed GPS glitch message
2022-05-18 09:25:14 +09:00
Randy Mackay
b56bd41034
Copter: radio fs continue-if-guided loses dependency on gcs failsafe
2022-05-03 08:36:20 +09:00
Peter Barker
5539b55c01
Copter: factor failsafe reporting
2022-04-06 10:40:09 +10:00
Iampete1
2fa38e46a0
Copter: set_mode_auto_do_land_start_or_RTL uses set_mode
2021-10-23 15:19:38 +09:00
Pierre Kancir
7e1716eaeb
Copter: Classify failsafe action definitions
2021-09-15 18:04:58 +10:00
Tatsuya Yamaguchi
1f8df7e5ff
Copter: correct compilation when AUTO mode is disabled
2021-08-16 20:53:56 +09:00
Iampete1
cc53db406d
Copter: treat Auto RTL the same as Auto
2021-07-27 09:00:11 +09:00
Iampete1
6561669213
Copter: support Auto RTL for failsafe events
2021-07-27 09:00:11 +09:00
Peter Barker
09a9bd73a4
ArduCopter: move handling of last-seen-SYSID_MYGCS up to GCS base class
2021-04-07 17:54:21 +10:00
Tatsuya Yamaguchi
0cce5699b2
Copter: change from control_mode to flightmode
2021-03-23 22:48:20 +11:00
Michael du Breuil
5e2093b105
Copter: Allow the user to specify the GCS failsafe timeout
2020-11-17 09:24:07 +09:00
Peter Barker
c86ee44264
Copter: correct compilation when AFS enabled
2020-10-06 11:25:09 +11:00
Iampete1
c265a38344
Copter: add gripper release FS_Option
2020-08-26 17:58:24 +09:00
Peter Barker
ce5f23810b
ArduCopter: log disarm method
2020-02-22 12:16:29 +11:00
Peter Barker
72e6446204
Copter: make requires_terrain a callback on the flightmode
...
This will prompt new modes to consider whether failsafe should be active
for terrain.
2019-12-24 09:46:19 +09:00
Randy Mackay
842a9b78a9
Copter: remove out-of-date comment from terrain failsafe check
2019-12-17 20:02:01 +09: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
Michael du Breuil
b42b1c08c4
Copter: Support new AP_Vehicle::set_mode
2019-10-25 08:48:22 +08:00
Peter Barker
b4537bebd8
Copter: move control_mode_t into being Mode::Number enum class
...
Fixes this compiler error:
In file included from ../../ArduCopter/sensors.cpp:1:
In file included from ../../ArduCopter/Copter.h:195:
../../ArduCopter/mode.h:1291:9: fatal error: declaration shadows a variable in the global namespace [-Wshadow]
AUTO, // after A and B defined, pilot toggle the switch from one side to the other, vehicle flies autonomously
^
../../ArduCopter/defines.h:38:5: note: previous declaration is here
AUTO = 3, // fully automatic waypoint control using mission commands
^
1 error generated.
2019-09-13 13:12:08 +09:00
Peter Barker
eb9e65fd28
Copter: add GUIDED_NOGPS to failsafe checks
2019-07-10 16:55:23 +09:00
Peter Barker
567ba799f1
Copter: rewrite gcs-failsafe check for clarity
2019-07-10 16:55:23 +09:00
Peter Barker
6dce39cbe1
Copter: use AP_Arming methods to arm and disarm vehicle
...
Really just changing the namespace of init_arm_motors
2019-05-30 07:37:30 +09:00
Tom Pittenger
7824b64ad6
Copter: rename dataflash to logger
2019-03-28 16:40:57 +11:00
Peter Barker
c7e21d95ef
Copter: move Log_Write_Error into library
2019-03-27 12:36:40 +11:00
Randy Mackay
a8bcd50fdd
Copter: minor format fix
2018-12-24 11:50:04 +09:00
Peter Barker
a30cdf6806
Copter: eliminate failsafe.rc_override_active
...
Use RC_Channels::has_active_overrides() instead
2018-09-05 11:54:32 +10:00
Peter Barker
f06637d48e
Copter: update servorelayevents @50Hz rather than 3Hz
...
One of the functions we allow for is toggling the servo at a set
frequency. 3Hz - the old rate - doesn't allow for precise triggering of
the servo. This patch increases that rate to 50Hz - somewhat better.
2018-07-20 09:42:58 +09:00
Lauri Juusela
a3587f844c
Copter: RTL if not in AUTO mode and FS_THR_ENABLED_CONTINUE_MISSION enabled
2018-07-10 08:41:58 +09:00
Michael du Breuil
d96919ed21
Copter: Use RC_Channels instead of hal.rcin
2018-04-11 21:47:07 +01:00
Peter Barker
d219540554
Copter: correct compilation when AFS is enabled
2018-04-07 09:46:54 +09:00
Michael du Breuil
291531e056
Copter: Support new battery failsafes
2018-03-27 22:12:21 +01:00
Peter Barker
a7fe242e31
Copter: add option to disable RTL flight mode
2018-02-27 07:43:13 +09:00
Tatsuya Yamaguchi
6698660fd6
Copter: fix Battery FailSafe action with auto mode
2018-02-05 15:13:25 +09:00
Dylan Herman
20fe5bb98f
Copter: add SmartRTL failsafe action
...
Adds SmartRTL or RTL and SmartRTL or Land failsafe options for batt, throttle, and GCS failsafes
2018-01-22 10:54:28 +09:00
Randy Mackay
2d23e1f7c7
Copter: rename flightmode_ objects to mode_
2017-12-12 10:39:26 +09:00
Peter Barker
682f3c0e7e
Copter: FlightMode - convert RTL flight mode
2017-12-06 08:24:24 +09:00
Randy Mackay
f97e43919b
Copter: add gps glitch notification and pre-arm check
2017-07-27 14:16:23 +09:00
Peter Barker
f60389d4aa
Copter: use send_text method on the GCS singleton
2017-07-09 17:17:29 -04:00
Andrew Tridgell
0f6d0c5ba9
Copter: combined tri, single, coax and multicopter into a single build
...
this allows copter to be just 2 builds, one for heli, and one for
everything else
2017-01-12 17:39:37 +11:00
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
2016-10-24 09:42:01 -02:00
murata
57c61ace62
Copter: To remove a break after the return statement.
2016-10-08 13:55:18 -03:00