Randy Mackay
a8bcd50fdd
Copter: minor format fix
6 years ago
Peter Barker
a30cdf6806
Copter: eliminate failsafe.rc_override_active
...
Use RC_Channels::has_active_overrides() instead
7 years ago
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.
7 years ago
Lauri Juusela
a3587f844c
Copter: RTL if not in AUTO mode and FS_THR_ENABLED_CONTINUE_MISSION enabled
7 years ago
Michael du Breuil
d96919ed21
Copter: Use RC_Channels instead of hal.rcin
7 years ago
Peter Barker
d219540554
Copter: correct compilation when AFS is enabled
7 years ago
Michael du Breuil
291531e056
Copter: Support new battery failsafes
7 years ago
Peter Barker
a7fe242e31
Copter: add option to disable RTL flight mode
7 years ago
Tatsuya Yamaguchi
6698660fd6
Copter: fix Battery FailSafe action with auto mode
7 years ago
Dylan Herman
20fe5bb98f
Copter: add SmartRTL failsafe action
...
Adds SmartRTL or RTL and SmartRTL or Land failsafe options for batt, throttle, and GCS failsafes
7 years ago
Randy Mackay
2d23e1f7c7
Copter: rename flightmode_ objects to mode_
7 years ago
Peter Barker
682f3c0e7e
Copter: FlightMode - convert RTL flight mode
7 years ago
Randy Mackay
f97e43919b
Copter: add gps glitch notification and pre-arm check
8 years ago
Peter Barker
f60389d4aa
Copter: use send_text method on the GCS singleton
8 years ago
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
8 years ago
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.
8 years ago
murata
57c61ace62
Copter: To remove a break after the return statement.
8 years ago
Jonathan Challinger
80f3541933
Copter: add configurable arming delay
9 years ago
Randy Mackay
1161417d7f
Copter: add GUIDED_NOGPS flight mode
...
This mode is a cut down version of Guided mode that only accepts attitude commands.
This mode does not require a GPS lock
9 years ago
Ricardo de Almeida Gonzaga
ce241dd97a
ArduCopter: Fix typos
9 years ago
Randy Mackay
47658fe964
Copter: add terrain failsafe
9 years ago
Jonathan Challinger
1356deab8b
Copter: add control_mode_reason
9 years ago
Jonathan Challinger
6b5ba86f21
Copter: simplify GCS failsafe
9 years ago
Jonathan Challinger
5cc969f01b
Copter: simplify battery and radio failsafe logic
9 years ago
Luis Vale Gonçalves
3199829d45
Copter: revisions to text strings sent to GCS
9 years ago
lvale
549695181c
Copter: revised and uniformization of severity messages
9 years ago
Lucas De Marchi
84da1f5039
Rename gcs_send_text_P to gcs_send_text
9 years ago
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.
9 years ago
squilter
767b4da5b6
Copter: update send text severities
10 years ago
Randy Mackay
6a4f4c5f8d
Copter: failsafe RTL vs LAND decision always based on 2m
...
Previously this decision was based on the WPNAV_RADIUS parameter which is unexpected (and undocumented) behaviour. Better just to hard-code it to 2m and remove the dependency on this parameter.
10 years ago
Andrew Tridgell
278883c521
Copter: finished conversion to .cpp files
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
10 years ago
Andrew Tridgell
356ece3402
Copter: rename .pde files to .cpp files
10 years ago
Randy Mackay
4681dd2802
Copter: GCS failsafe triggers disarm if landed
10 years ago
Randy Mackay
fbfc94cf69
Copter: remove GPS glitch and failsafe
...
The EKF failsafe now captures all failures that could lead to a bad
position including GPS glitches and a bad compass meaning we do not need
this protection in the main flight code.
10 years ago
Randy Mackay
d5fd6d2a99
Copter: use home_is_set function
10 years ago
Robert Lefebvre
205b312789
Copter: GCS Failsafe comments and format changes
10 years ago
Robert Lefebvre
5f19a43104
Copter: GCS Failsafe to trigger if using Guided mode
10 years ago
Randy Mackay
562f3e7382
Copter: set notify event when failsafe changes flight mode
10 years ago
Randy Mackay
0994529624
Copter: remove OF_Loiter from FLTMODE param descriptions
...
Also remove OF_Loiter reference in comments
No functional change
10 years ago
Jonathan Challinger
8e3d163c3d
Copter: Change all zero throttle checks that should be conservative to use ap.throttle_zero
10 years ago
Randy Mackay
e7753223ba
Copter: low battery msg to severity high
11 years ago
Randy Mackay
85b4ba6142
Copter: Thr and Batt failsafe disarm when landed
...
When throttle/radio failsafe or battery failsafe are triggered, the
vehicle will disarm if it is landed even if the throttle is not at zero.
Auto mode will disarm if landed and mission has not started. This
ensures that the vehicle does not disarm during a mission land command
that appears mid way through a mission.
11 years ago
Randy Mackay
73fcfbd174
Copter: add no-break to case to resolve compiler warning
...
This also helps kick off the auto builder for AC3.2-rc3
11 years ago
Randy Mackay
65e5367619
Copter: rename hybrid to poshold
11 years ago
Jonathan Challinger
09a01a4668
Copter: Wait 4 seconds before beginning to land during failsafes
11 years ago
Randy Mackay
4686eef266
Copter: GPS failsafe ensures LAND is pilot-controlled
...
This resolves issue #880 in which if a GPS failsafe occurred while the
vehicle was already in LAND mode, the LAND would continue to be GPS
controlled LAND instead of pilot-controlled LAND
11 years ago
Randy Mackay
b5ed23f592
Copter: integrate skeleton Hybrid mode
11 years ago
Emile Castelnuovo
f5a68fdba1
Copter: clear RC in overrides on GCS failsafe.
11 years ago
Randy Mackay
0a2adbac1b
Copter: renaming functions after moving xy control
11 years ago
Andrew Tridgell
e8b8cc1a5d
Copter: converted to AP_ServoRelayEvents
11 years ago