Francisco Ferreira
a2fa63bcf7
Copter: fix Cygwin build
...
Static initialization doesn't have an exact order, we can't rely on it
6 years ago
Peter Barker
75fb9780f7
Copter: rename send_extended_status1 to send_sys_status
6 years ago
murata
b252eae404
Copter: Flip mode is an option.
...
Copter: Flip mode is an option.
6 years ago
Peter Barker
d49431488e
Copter: remove pointless wrappers around RC_Channels functions
6 years ago
Peter Barker
ee5339f931
Copter: remove pointless wrappers around gcs functions
6 years ago
Peter Barker
33ca577653
Copter: OpticalFlow takes care of its own logging
6 years ago
Peter Barker
ee456e8870
Copter: do not pass ahrs to opticalflow constructor
6 years ago
Andrew Tridgell
2f79932611
Copter: auto-convert landing gear PWM parameters
6 years ago
Peter Barker
73940df48e
Copter: move mission into mode_auto
6 years ago
Peter Barker
bf1c82ffe1
Copter: don't pass ahrs to terrain constructor
6 years ago
Peter Barker
f598cff99c
Copter: stop passing ahrs to Mission constructor
6 years ago
Peter Barker
1d322046b0
Copter: tidy up send_pid_tuning
6 years ago
Peter Barker
859f4828a1
Copter: move handling of gimbal messages up
...
Copter: move handling of mav_cmd_do_mount_control up
Copter: move handling of deprecated mount messages up
Copter: move handling of command_do_set_roi up
Copter: move handling of command_do_set_roi up
Copter: mount no longer takes ahrs in constructor
6 years ago
Leonard Hall
54a59f581f
Copter: add motor thrust lost check
6 years ago
Peter Barker
26ca75efae
Copter: make libraries get EKF control limits themselves
6 years ago
CAO MUQING
71beab7502
Copter: create and update Zigzag flight mode
6 years ago
Peter Barker
a30cdf6806
Copter: eliminate failsafe.rc_override_active
...
Use RC_Channels::has_active_overrides() instead
7 years ago
Peter Barker
ec6c59faa3
Copter: move handling of disable-gcs-rc-overrides-channel-option up
7 years ago
SergeyBokhantsev
af6303c82b
Copter: User parameters implementation
7 years ago
Randy Mackay
920300899e
Copter: rename gcs_check_input to gcs_update
...
this makes the names consistent with Rover and Plane
7 years ago
Peter Barker
09d8a33aaf
Copter: stop passing ahrs to PrecLand constructor
7 years ago
Alexander Malishev
f5c540a127
Copter: publish navigation info to OSD
7 years ago
Randy Mackay
346e9e36db
Copter: remove compass accumulate
7 years ago
Peter Barker
e7e56dde7a
Copter: move handling of RC switches into RC_Channel
7 years ago
Peter Barker
22f7f29045
Copter: move all of waypoint-takeoff into Mode namespace
7 years ago
SergeyBokhantsev
ea3de59107
Copter: implement user auxswitch functions
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
Michael du Breuil
3755b2ac0f
Copter: Remove unused ADC include
7 years ago
Peter Barker
c2f9b857a4
Copter: remove unused baro_climbrate variable
7 years ago
Peter Barker
df83cb034e
Copter: use ArmingMethod enumeration
7 years ago
Peter Barker
a1f29e92d1
Copter: use singletons in AP_Arming
7 years ago
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