Matt Lawrence
9ba4941aa7
Copter: Refactor failsafes, add fs_options bitmask parameter
...
- Radio failsafe, battery failsafe, GCS failsafe refactoring
- Add new FS_OPTIONS parameter
- Enhance GCS Failsafe abilities
5 years ago
Michael du Breuil
b42b1c08c4
Copter: Support new AP_Vehicle::set_mode
5 years ago
Randy Mackay
7b0da89708
Copter: add vibration check
5 years ago
Leonard Hall
50a098c359
Copter: Standby functions
5 years ago
Leonard Hall
c11f2247eb
Copter: System ID mode
5 years ago
Randy Mackay
36327d56de
Copter: reject reboot request from GCS if auto esc cal on next reboot
...
this resolves an edge case in which the motors could spin up on the next reboot because the user didn't unplug the battery to reboot the flight controller
5 years ago
Andy Piper
8ce7f02167
ArduCopter: add functions to update dynamic notch frequency. Periodically log the frequency.
...
tradheli- make RPM sensor input to harmonic notch in hertz
5 years ago
Peter Barker
9e5d5c023c
Copter: move many members up to base class
5 years ago
Peter Barker
95f81297d9
Copter: become an AP_Vehicle
5 years ago
murata
abb91fc33a
Copter: Change external button specification to option
...
Copter: Change the definition name from BUTTON to BUTTON_ENABLED.
5 years ago
Randy Mackay
1c4f47f882
Copter: add upward facing surface tracking
5 years ago
Randy Mackay
d5d7fbe761
Copter: rangefinder glitch detection moved to read_rangefinder
5 years ago
Randy Mackay
808efa4c79
Copter: surface tracking format fixes
5 years ago
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.
5 years ago
Randy Mackay
709c874d8b
Copter: integrate AP_OAPathPlanner
6 years ago
Peter Barker
4fa83ed40d
Copter: move automatic declination setting into AP_Compass itself
6 years ago
Peter Barker
c0e8d319c6
Copter: make surface tracking adjust_climb_rate take a float
...
Its callers all pass in floats and we return a float, so stop going via
an int16_t
6 years ago
Peter Barker
b0428f0fe8
Copter: make surface_tracking a class, various functions methods
6 years ago
Peter Barker
97bb846310
Copter: RangeFinder uses AP_SerialManager singleton
6 years ago
Peter Barker
9412075b9c
Copter: avoidance no longer takes ahrs in constructor
6 years ago
Peter Barker
e977fce3ad
Copter: stop passing relay and ahrs into camera constructor
6 years ago
Peter Barker
05925b57ad
Copter: mark position_ok methods as const
6 years ago
Peter Barker
eb82126758
Copter: ServoRelayEvents uses Relay singleton
6 years ago
Peter Barker
cf45108efb
Copter: set Heli frame default at compile-time
6 years ago
Peter Barker
bb3d2a0b37
Copter: pass GCS_MAVLink object rather than channel number in motortest
6 years ago
Peter Barker
f3c1791341
Copter: stop passing gcs chan into method which wants an object
6 years ago
Michael du Breuil
df37a3d603
Copter: Remove wrapper around MAVLink send heartbeat
6 years ago
Peter Barker
676d75c391
Copter: correct namespacing of Copter modes
...
This makes us look like Rover and Plane in terms of namespacing for the
Mode classes, and removes a wart where we #include mode.h in the middle
of the Mode class.
This was done mechanically for the most part.
I've had to remove the convenience reference for ap as part of this.
6 years ago
Peter Barker
9f6b48b743
Copter: remove unneeded initialisation
6 years ago
Peter Barker
6dce39cbe1
Copter: use AP_Arming methods to arm and disarm vehicle
...
Really just changing the namespace of init_arm_motors
6 years ago
Peter Barker
3ef84d2b96
Copter: stop passing references to AC_Avoid constructor
6 years ago
Randy Mackay
01909cf4c8
Copter: zigzag mode gets terrain following support
6 years ago
Randy Mackay
89eb876faf
Copter: move surface tracking variables into structure
6 years ago
Randy Mackay
33a57361bd
Copter: reduce args passed to get_surface_tracking_climb_rate
...
The same arguments are always passed in
6 years ago
Pierre Kancir
4f29d2e5a6
Copter: factorize esc calibration setup
6 years ago
Randy Mackay
a5bdd12bfa
Copter: replace TUNE_LOW/HIGH params with TUNE_MIN/MAX
...
change from uint16 to floats to ease setup
also add check that no function assigned to rc6
6 years ago
bnsgeyer
d949c80d54
Copter: tradheli replaces rotor_runup_complete with spool state
6 years ago
Michael du Breuil
d1246f5868
Copter: Fix RangeFinder init
6 years ago
Michael du Breuil
0e8c3dc485
Copter: include FWversion
6 years ago
Peter Barker
2040580ce7
Copter: move enabled parameter into compass library
6 years ago
Tom Pittenger
7824b64ad6
Copter: rename dataflash to logger
6 years ago
Peter Barker
8441542a52
Copter: remove climb_rate cache of inertial_nav.get_velocity_z
...
There were only two users of it and dozens of places using
get_velocity_z
6 years ago
Peter Barker
c7e21d95ef
Copter: move Log_Write_Error into library
6 years ago
Peter Barker
34d9ce27af
Copter: make get_pilot_desired_throttle a method on Mode
6 years ago
Patrick José Pereira
33764d6c3b
Copter: Fix typo
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
6 years ago
bnsgeyer
2fc942ac24
Copter: tradheli-convert swash parameters on firmware upgrade
6 years ago
Peter Barker
451f5f17ce
Copter: move devo telemetry handling to GCS
6 years ago
Peter Barker
e22b29bce4
Copter: FrSky support has moved to GCS
6 years ago
Peter Barker
85d9dd6f64
Copter: move sending of RPM message up
6 years ago
Peter Barker
f189860162
Copter: use enum class for ArmingMethod and ArmingRequired
6 years ago