Randy Mackay
255c5d4126
Copter: set-pos-target-global-int fails sooner if accel given
...
same change for set-position-target-local-ned processing
5 years ago
Randy Mackay
b21ecda76f
Copter: fix guided mode handling of terrain altitudes
5 years ago
Peter Barker
ce5f23810b
ArduCopter: log disarm method
5 years ago
Randy Mackay
d04c86be1e
Copter: minor format changes to GCS_MAVlink.cpp
5 years ago
Sachchit Vekaria
f6125b26e8
Copter: Allowing Terrain Following in Guided Mode
...
Uses frame type of MAVLINK_MSG_ID_SET_POSITION_TARGET_GLOBAL_INT message to decide the value of terrain_alt boolean.
5 years ago
Peter Barker
9466126fa8
Copter: let AP_Vehicle base class worry about scheduler delay callback
5 years ago
Peter Barker
a56ab9136e
Copter: let GCS base class handle proximity and rangefinder messages
5 years ago
Peter Barker
46832e9dee
Copter: rename system_status as it won't be called from base class
5 years ago
Peter Barker
5d1261da73
Copter: rename parameter to avoid name conflict with lock
5 years ago
Mark Whitehorn
6dd28f7d74
ArduCopter: change in_sensor_config_error to in_config_error
5 years ago
Peter Barker
976acb3a58
Copter: let GCS superclass specify compass and param float capabilitiy
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
Michael du Breuil
b42b1c08c4
Copter: Support new AP_Vehicle::set_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
Peter Barker
1b29cf14a6
Copter: remove get_advanced_failsafe override; singleton to be used
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
Peter Barker
f8f5e7f5ae
Copter: correct compilation when guided mode is disabled
6 years ago
Randy Mackay
709c874d8b
Copter: integrate AP_OAPathPlanner
6 years ago
Peter Barker
48a1b2f436
Copter: avoid allocate a GCS_MAVLINK per mavlink channel
6 years ago
Peter Barker
18de327e7f
Copter: tighten type on mavlink_coordinate_frame_to_location_alt_frame
6 years ago
Peter Barker
5538800ad0
Copter: use MAV_FRAME_GLOBAL instead of MAV_FRAME_GLOBAL_INT in send_position_target
6 years ago
Leonard Hall
157f786adf
Global: rename desired to target in PID info
6 years ago
Pierre Kancir
c330b87592
ArduCopter: pass mavlink_message_t by const reference
6 years ago
Michael du Breuil
e0d7b71e95
Copter: Reduce dependency on inertial nav
6 years ago
Peter Barker
6435a867f5
Copter: split RC_CHANNELS messages onto separate ap_message ids
6 years ago
Peter Barker
332e878bae
Copter: correct nullptr dereference in sensor-config error loop
6 years ago
Peter Barker
bb3d2a0b37
Copter: pass GCS_MAVLink object rather than channel number in motortest
6 years ago
Peter Barker
b0beca7b01
Copter: allow GCS MAVLink base class to handle out-of-time for sending messages
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
6dce39cbe1
Copter: use AP_Arming methods to arm and disarm vehicle
...
Really just changing the namespace of init_arm_motors
6 years ago
Dr.-Ing. Amilcar do Carmo Lucas
402b1cba3f
Copter: replace 4 divisions with multiplications
6 years ago
Peter Barker
7945c1fdfd
Copter: mode class unfriends everyone, make relevant methods public
6 years ago
Randy Mackay
571d933b3f
Copter: fix send_pid_tuning
...
the rate roll PID was being overwritten when PID logging was enabled
6 years ago
Pierre Kancir
43dcf066c1
ArduCopter: move check_latlng to Location
6 years ago
Rajat Singhal
49554bf8d9
Copter: Add function for sending POSITION_TARGET_LOCAL_NED message
6 years ago
Peter Barker
86bd531b24
Copter: use convenience manual_override method
6 years ago
Peter Barker
7a1648059b
Copter: stop passing dataflash into handle_radio_status
6 years ago
Patrick José Pereira
33764d6c3b
Copter: Fix typo
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
6 years ago
Peter Barker
f4a21d446f
Copter: move command-long DO_SET_HOME up
6 years ago
Peter Barker
a5c18ff8f5
Copter: move vehicle_initialised to be on GCS not GCS_MAVLink
6 years ago
Peter Barker
e22b29bce4
Copter: FrSky support has moved to GCS
6 years ago
Peter Barker
366051c39f
Copter: use enum class for AltFrame enumeration
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
Peter Barker
281dbfcef8
Copter: support send_extended_sys_state
6 years ago
Peter Barker
eed73749f9
Copter: move sending of send_pid_tuning up
6 years ago
Andrew Tridgell
ef3306d408
Copter: fixed crash on mavlink send before pos_control is allocated
6 years ago
Peter Barker
a48f461158
Copter: remove position-vector methods
...
Both were used in just one place
6 years ago