Randy Mackay
a9630d67d1
Copter: implement set_target_location method
5 years ago
Randy Mackay
9a32b3bdd9
Copter: rename update_throttle_mix
...
was called update_throttle_thr_mix
also minor formatting fixes
5 years ago
Andrew Tridgell
dd5fafe30e
Copter: added rangefinder height interpolated using inertial alt
...
this smooths rangefinder heights and allows for good estimated for
precision landing even with loss of some rangefinder samples during landing
5 years ago
murata
94901edaf2
Copter: Match the column of element description
5 years ago
Peter Barker
1424945c14
ArduCopter: remove unused compass_init_location state
5 years ago
Peter Barker
18670d681e
Copter: let AP_Vehicle handle loop()
5 years ago
Peter Barker
9e8af48cce
ArduCopter: move some common init_ardupilot code up to AP_Vehicle
5 years ago
Peter Barker
debedd9d34
Copter: move setup method up to AP_Vehicle base class
5 years ago
Peter Barker
9466126fa8
Copter: let AP_Vehicle base class worry about scheduler delay callback
5 years ago
Andrew Tridgell
4445313661
Copter: fixed build warnings
5 years ago
Andrew Tridgell
1fae2009db
Copter: update for new SRV_Channels parameter conversion call
5 years ago
Tatsuya Yamaguchi
e01e924711
Copter: allow scripts to get modes
5 years ago
bnsgeyer
64f98622c0
Copter: fix tradheli RSC RC passthrough mode
...
Copter: heli get_pilot_desired_rotor_speed converts interlock input to desired rotor speed
5 years ago
Peter Barker
1ff07762de
Copter: remove report_compass method
...
This wasn't actually responsible for saving offsets any more.
The data spewed out was rather unlikely to be seen, and will be present
in logs anyway.
5 years ago
Peter Barker
2694560c38
Copter: generally unseen remove report_version
...
This won't generally be seen or useful to anyone
5 years ago
Peter Barker
326a569ea8
Copter: remove dangling read_control_switch method declaration
5 years ago
Randy Mackay
3e7fb66a77
Copter: precision landing does not use terrain database
...
precision landing was always only using the range finder, there was no use of the provided alt unless the rangefinder was good
5 years ago
Randy Mackay
f768e80458
Copter: remove unused prev_control_mode_reason
5 years ago
Peter Barker
544eb5f179
Copter: correct duplicate button instance
5 years ago
Peter Barker
62869b5be8
Copter: vehicle parent class now instantiates AHRS
5 years ago
Gone4Dirt
180d4e713c
Copter: Added autorotation flight mode and support
5 years ago
Randy Mackay
adc1d60ea5
Copter: CTUN logging fix for SAlt
...
sonar altitude was not being logged in modes that don't use surface tracking including Auto
SAlt scaling was also incorrect
5 years ago
Peter Barker
201adb6818
Copter: correct Heli compilation when some modes are disabled
5 years ago
Peter Barker
38d3c2daa1
Copter: stop providing current location to mount
5 years ago
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.
5 years ago
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
5 years ago
Peter Barker
b6920e14c8
Copter: remove redundant SurfaceTracking enumeration namespacing
...
Also rename State to Surface to be more specific about what is being
set/tracked.
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