Andy Piper
d6874fdfc4
ArduCopter: add functions to update dynamic notch frequency. Periodically log the frequency.
...
tradheli- make RPM sensor input to harmonic notch in hertz
2020-02-05 10:13:52 +11:00
Peter Barker
e965e8f11e
Copter: move many members up to base class
2020-02-05 10:12:13 +11:00
Peter Barker
a9c8de9942
Copter: become an AP_Vehicle
2020-02-05 10:12:13 +11:00
murata
bd1a56236b
Copter: Change external button specification to option
...
Copter: Change the definition name from BUTTON to BUTTON_ENABLED.
2020-02-05 10:12:13 +11:00
Randy Mackay
3fe61476bf
Copter: add upward facing surface tracking
2020-02-05 10:10:20 +11:00
Randy Mackay
7d66b904ef
Copter: rangefinder glitch detection moved to read_rangefinder
2020-02-05 10:09:54 +11:00
Randy Mackay
e4ccb10524
Copter: surface tracking format fixes
2020-02-05 10:09:54 +11: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
Randy Mackay
709c874d8b
Copter: integrate AP_OAPathPlanner
2019-08-17 09:42:43 +09:00
Peter Barker
4fa83ed40d
Copter: move automatic declination setting into AP_Compass itself
2019-08-13 10:02:13 +10:00
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
2019-08-06 14:09:09 +09:00
Peter Barker
b0428f0fe8
Copter: make surface_tracking a class, various functions methods
2019-08-06 14:09:09 +09:00
Peter Barker
97bb846310
Copter: RangeFinder uses AP_SerialManager singleton
2019-07-16 09:29:48 +10:00
Peter Barker
9412075b9c
Copter: avoidance no longer takes ahrs in constructor
2019-07-16 09:29:48 +10:00
Peter Barker
e977fce3ad
Copter: stop passing relay and ahrs into camera constructor
2019-07-09 09:32:39 +10:00
Peter Barker
05925b57ad
Copter: mark position_ok methods as const
2019-07-09 09:26:45 +10:00
Peter Barker
eb82126758
Copter: ServoRelayEvents uses Relay singleton
2019-07-03 23:59:24 -07:00
Peter Barker
cf45108efb
Copter: set Heli frame default at compile-time
2019-07-04 10:05:01 +09:00
Peter Barker
bb3d2a0b37
Copter: pass GCS_MAVLink object rather than channel number in motortest
2019-07-02 10:04:56 +10:00
Peter Barker
f3c1791341
Copter: stop passing gcs chan into method which wants an object
2019-06-25 09:45:54 +10:00
Michael du Breuil
df37a3d603
Copter: Remove wrapper around MAVLink send heartbeat
2019-06-18 13:59:52 +01:00
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.
2019-06-11 09:18:22 +09:00
Peter Barker
9f6b48b743
Copter: remove unneeded initialisation
2019-06-03 16:48:38 +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
Peter Barker
3ef84d2b96
Copter: stop passing references to AC_Avoid constructor
2019-05-22 07:48:02 -06:00
Randy Mackay
01909cf4c8
Copter: zigzag mode gets terrain following support
2019-04-19 07:45:52 +09:00
Randy Mackay
89eb876faf
Copter: move surface tracking variables into structure
2019-04-19 07:45:52 +09:00
Randy Mackay
33a57361bd
Copter: reduce args passed to get_surface_tracking_climb_rate
...
The same arguments are always passed in
2019-04-19 07:45:52 +09:00
Pierre Kancir
4f29d2e5a6
Copter: factorize esc calibration setup
2019-04-09 08:44:46 +09:00
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
2019-04-08 15:24:00 +09:00
bnsgeyer
d949c80d54
Copter: tradheli replaces rotor_runup_complete with spool state
2019-04-08 09:42:21 +09:00
Michael du Breuil
d1246f5868
Copter: Fix RangeFinder init
2019-04-06 09:15:22 +11:00
Michael du Breuil
0e8c3dc485
Copter: include FWversion
2019-04-05 20:12:53 +11:00
Peter Barker
2040580ce7
Copter: move enabled parameter into compass library
2019-04-02 10:24:49 +11:00
Tom Pittenger
7824b64ad6
Copter: rename dataflash to logger
2019-03-28 16:40:57 +11:00
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
2019-03-28 12:10:31 +11:00
Peter Barker
c7e21d95ef
Copter: move Log_Write_Error into library
2019-03-27 12:36:40 +11:00
Peter Barker
34d9ce27af
Copter: make get_pilot_desired_throttle a method on Mode
2019-03-26 20:57:15 +11:00
Patrick José Pereira
33764d6c3b
Copter: Fix typo
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-03-26 15:39:23 +11:00
bnsgeyer
2fc942ac24
Copter: tradheli-convert swash parameters on firmware upgrade
2019-03-20 10:40:20 +10:00
Peter Barker
451f5f17ce
Copter: move devo telemetry handling to GCS
2019-03-19 14:39:14 +11:00
Peter Barker
e22b29bce4
Copter: FrSky support has moved to GCS
2019-03-19 14:39:14 +11:00
Peter Barker
85d9dd6f64
Copter: move sending of RPM message up
2019-03-16 10:33:01 +09:00
Peter Barker
f189860162
Copter: use enum class for ArmingMethod and ArmingRequired
2019-03-12 19:48:14 +11:00
Peter Barker
4f69eefd4a
Copter: remove unused includes
2019-03-05 13:19:29 +09:00
Michael du Breuil
cac4b91671
Copter: Allow scripting to run
2019-03-05 08:45:54 +11:00
IamPete1
ba3d1bc6c7
Copter: move E-stop state to SRV_Channel
2019-02-27 08:51:24 +09:00
Peter Barker
a48f461158
Copter: remove position-vector methods
...
Both were used in just one place
2019-02-26 14:09:21 +11:00
Peter Barker
4187243e5c
Copter: Rally no longer takes ahrs in constructor
2019-02-20 18:03:38 +11:00
Peter Barker
5ff80e06d1
Copter: move update_sensor_status_flags into GCS subclasses
2019-02-19 14:09:59 +11:00