Andrew Tridgell
20dea6df45
Copter: moved OSD to top level params
...
this gives us plenty of param depth for a complex param tree
7 years ago
Alexander Malishev
f63b3c044a
Copter: added OSD support
7 years ago
Peter Barker
7883582c65
Copter: move takeoff state into Mode class
7 years ago
Peter Barker
cff1969a29
Copter: make do_user_takeoff a member of Mode
7 years ago
Peter Barker
cb26ff64b3
Copter: current_mode_has_user_takeoff -> Mode::has_user_takeoff
7 years ago
Peter Barker
70d159cb38
Copter: raise EKF failure even if USB is connected
...
This will let EKF go bad if your PixHawk is connected to your laptop.
This doesn't seem to be a problem for the other vehicles.
This also allows the EKF to go bad in-flight if you happen to have
connected (against AP's recommendations) your companion computer to your
flight controller via USB. Since people do this, it is better to have
the checks than not.
7 years ago
Peter Barker
fd9ce90b8e
Copter: option to force arm, bypassing checks
7 years ago
murata
a970eacf49
Copter: Do not use the Delay method wrapper.
7 years ago
Peter Barker
078d90132c
Copter: use AP_RTC
...
Co-authored-by: patrickelectric@gmail.com
Copter: AP_GPS now sets the system time directly
Copter: use AP_RTC for mission delays
Copter: Remove ap_t bits counter (Patrick José Pereira)
Change bits in ap_t to bool and add a static assert
7 years ago
Peter Barker
ab68e4fe8b
Copter: log quiet-nan for rangefinder-desired-alt when not using it
7 years ago
Peter Barker
e3ddf7dadd
Copter: rename SPRAYER-enabled-define to SPRAYER_ENABLED
7 years ago
Peter Barker
5f2221fe74
Copter: move handling of VFR_HUD into GCS_MAVLink_Copter
7 years ago
Andrew Tridgell
2425c65e74
Copter: implement 'air-mode' for copter
...
this implements what betaflight calls 'air-mode'. This gives attitude
control when throttle is at zero, allowing for zero-throttle maneuvers,
plus keeping the copter level on the ground.
This was already implemented if an interlock switch was setup, but it
should also work with an arming switch. If using an arming switch then
throttle should not be considered zero as long as the arming switch
hasn't gone low.
7 years ago
Andrew Tridgell
0d56526400
Copter: added de-bouncing of aux switches
...
this prevents a crash with a switch such as arm/disarm getting a
single frame RC glitch
7 years ago
Peter Barker
81e9edd80a
Copter: move sending of sim state up
7 years ago
Peter Barker
33582107b6
Copter: move sending of GLOBAL_POSITION_INT up to GCS_MAVLINK
7 years ago
Peter Barker
da1b2579c4
Copter: move send_attitude up to GCS_MAVLINK
7 years ago
Peter Barker
9dce133938
Copter: handle setting of ekf origin in GCS_MAVLink
7 years ago
Peter Barker
0dc0e54767
Copter: move Log_Write_Home_And_Origin into AP_AHRS
7 years ago
Leonard Hall
656892cd88
Copter: ekf failsafe disabled for acro and stabilize
...
Also restructure to combine ekf_over_threshold and ekf_check_position_problem
7 years ago
Peter Barker
dee40f3fe5
Copter: make scheduler track whether it has called the delay callback
7 years ago
Peter Barker
6dd9f50f7c
Copter: move try_send_message handling of RC_CHANNELS up
7 years ago
night-ghost
51a189e906
ArduCopter: devo telemetry support (RX705/707)
7 years ago
Peter Barker
ba8b3e2415
Copter: create an AutoYaw helper object to hold auto-yaw state
7 years ago
Pierre Kancir
70805d61f2
ArduCopter: remove inertial_nav from precland constructor
7 years ago
Peter Barker
80549a479e
Copter: move throw logging into ModeThrow
7 years ago
Peter Barker
c95ff96263
Copter: Baro does its own dataflash logging
7 years ago
Peter Barker
d9ab8d6569
Copter: sprayer now uses ahrs singleton; stop passing reference
7 years ago
Pierre Kancir
9e298b3b2f
Copter: sprayer uses ahrs in constructor
7 years ago
Randy Mackay
59e4749fd0
Copter: integrate AC_Loiter
...
includes param conversion
7 years ago
Peter Barker
0c8110ecb2
Copter: factor vehicle's mavlink send_heartbeat
7 years ago
Peter Barker
d58e2214d2
Copter: tidy handling of barometer calibrations
7 years ago
Peter Barker
cca4d5136e
Copter: move common calibration functions up
7 years ago
Dr.-Ing. Amilcar do Carmo Lucas
d633ba8c46
Copter: Add option to disable RPM module
7 years ago
Ebin
1ff4019ddf
ArduCopter: moved landing control fns from Copter to Mode
...
land_run_horizontal_control(),land_run_vertical_control(),get_alt_above_ground() moved to Mode
7 years ago
Michael du Breuil
291531e056
Copter: Support new battery failsafes
7 years ago
priseborough
4b00f399b4
Copter: Clarify definition for gps_glitching flag
7 years ago
Peter Barker
45f2312bfe
Copter: move home state into AP_AHRS
7 years ago
Peter Barker
2749ee9060
Copter: use ins singleton
7 years ago
Randy Mackay
4a74b1b5e5
Copter: replace NTUN with PSC logging
7 years ago
Leonard Hall
9544b1763b
Copter: replace smoothing gain with AC_AttitudeControl::set_input_tc
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
ed36ec3c29
Copter: add option to disable THROW mode
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
b27c00dc5f
Copter: add option to disable ACRO mode
7 years ago
Randy Mackay
af207caa1f
Copter: move get_pilot_desired_lean_angles higher in cpp
...
this makes the definition in the .h and implementation in .cpp files appear in the same order
7 years ago
Ebin
20995b909f
Copter: Moved get_pilot_desired_lean_angles to mode.cpp
7 years ago
Peter Barker
d88bd52a53
Copter: use baro singleton
7 years ago
Peter Barker
bc4f021516
Copter: use AP::ahrs() for ADSB
7 years ago
Peter Barker
af56826107
Copter: follow mode fixups
...
add follow to FLTMODEx param descriptions
remove follow's set_velocity method
10hz logging of desired velocity in follow mode
follow mode uses pos error P gain
add send-debug-via-mavlink option
don't enter follow if follow lib is disabled
follow debug slowed to 1hz
disable follow on min-features builds
7 years ago
Randy Mackay
6ee101ca98
Copter: rename chase to follow
7 years ago
Randy Mackay
053983eb70
Copter: integrate AP_Follow into chase mode
7 years ago