Commit Graph

136 Commits

Author SHA1 Message Date
Andy Piper 7010a6bf7e AP_Vehicle: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI
force compilation failure if build type is unknown
2021-10-26 11:42:12 +11:00
Peter Barker 29088e25f9 AP_Vehicle: move SITL object up to AP_Vehicle 2021-10-19 11:34:43 +11:00
Gone4Dirt 7c20658acf AP_Vehicle: Add Heli build type 2021-09-29 19:55:48 +10:00
Iampete1 d566b24c04 AP_Vehickle: add Loiter alt then QLAND mode reasons 2021-09-28 09:31:13 +10:00
Peter Barker d86e2792fd AP_Vehicle: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED 2021-09-26 19:24:09 +10:00
Tom Pittenger de753f386c AP_Vehicle: fix periph-heavy compile errors when INS is disabled 2021-09-24 10:47:13 -05:00
Andrew Tridgell fd86cb0591 AP_Vehicle: moved accel cal update handling from vehicles 2021-09-17 14:07:14 +10:00
Iampete1 ccd330a40a AP_Vehicle: add AUTO_RTL_EXIT mode reason 2021-09-07 09:35:35 +09:00
Peter Barker 7a06c941df AP_Vehicle: make bad-mode-number notification consistent across vehicles 2021-09-01 19:45:46 +09:00
nkruzan 0a236bc13d AP_Vehicle: log internal error and report bitmask to GCS
AP_Vehicle.cpp: cast parameter bitmask as (unsigned) per Peter B.

rework per Peter B.

Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
remove unnecessary send_internal_error_statustext function

remove Write_InternalError function
2021-08-31 15:54:02 +10:00
Randy Mackay 1a7826295f AP_Vehicle: add virtual set_target methods 2021-08-26 11:25:54 +09:00
Peter Barker 47455f12db AP_Vehicle: add and use HAL_BUTTON_ENABLE 2021-08-25 19:03:42 +10:00
Randy Mackay 1725eda961 AP_Vehicle: add get_circle_radius, set_circle_rate 2021-08-25 18:39:09 +10:00
Andy Piper b6ec06ac0f AP_Vehicle: output rcout banner when initialization is done
move down ready message
2021-08-12 19:07:51 +09:00
Hwurzburg b69308858a AP_Vehicle: correct OSD horizon for VTOL modes and TRIM_PITCH_CD in FW modes 2021-08-03 10:09:28 +10:00
Iampete1 88d4ada96d AP_Vehicle: #ifdef scripting specific functions 2021-07-28 18:18:32 +10:00
Peter Barker 7cca7513a1 AP_Vehicle: rename for AHRS restructuring 2021-07-21 21:01:39 +10:00
Peter Barker 2926ffcd2f AP_Vehicle: remove ability to use DCM as AHRS 2021-07-21 21:01:39 +10:00
Peter Barker d47a032a09 AP_Vehicle: explicitly number ModeReason enumeration values
These are logged, and mapping back is much easier if you have this
numbering
2021-07-17 09:27:38 +10:00
bugobliterator d3fce3c41d AP_Vehicle: add method to enable onvif camera control using script 2021-07-07 18:57:25 +10:00
Siddharth Purohit a5a29fe3ec AP_Vehicle: solve for undefined vehicle object in herepro build 2021-07-02 08:50:16 +10:00
Hwurzburg cc0f850eb9 AP_Vehicle: add QRTL always as Q_RTL_MODE option 2021-06-14 09:08:20 +10:00
Andy Piper 9bc9873e38 AP_Vehicle: optionally run the harmonic notch update at the loop rate 2021-05-19 17:35:16 +10:00
Andy Piper 5d154b138a AP_Vehicle: generalise ESC telemetry to allow harmonic notch handling with other ESCs
log ESC telemetry data in frontend
2021-05-12 17:01:11 +10:00
Andrew Tridgell 6f5626d04f AP_Vehicle: fixed SD card slowdown with early mounts 2021-05-01 12:32:23 +10:00
Andrew Tridgell ec11bf1146 AP_Vehicle: fixed segfault in replay 2021-04-15 13:39:18 +10:00
Andy Piper 9ac8e2b705 AP_Vehicle: addlow SRV_Channels to be initialized 2021-04-06 10:24:04 +10:00
Peter Barker 749d4c997b AP_Vehicle: ensure reboot command ACK is written out in SITL 2021-04-06 10:21:59 +10:00
Michelle Rossouw ac893b4013 AP_Vehicle: added blimp vehicle type 2021-03-31 12:27:07 +11:00
Emre Saldiran 858d69ca0e AP_Vehicle: add set_target_posvel_NED method 2021-03-24 08:55:48 +09:00
James O'Shannessy a23e8d46da AP_Vehicle: Add additional fence mode change reason 2021-03-05 14:52:46 +11:00
Andy Piper fcd35ba0f8 AP_Vehicle: move AP_Vehicle to AP_Vehicle 2021-02-23 11:43:32 +11:00
Andy Piper 74318dd0dd AP_Vehicle: move AP_VideoTX to AP_VideoTX 2021-02-23 11:43:32 +11:00
Andy Piper b79ff9475d AP_Vehicle: add support for the SmartAudio protocol
Co-authored-by: luis.martinez.exts <luis.martinez@juntadeandalucia.es>
2021-02-17 18:23:33 +11:00
Pierre Kancir eb78a473f6 AP_Vehicle: correct virtual specifier 2021-02-10 18:49:42 +11:00
Patrick José Pereira b8360a08c7 AP_Vehicle: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11:00
Peter Barker f15a1fbd62 AP_Vehicle: move control_mode_reason up to AP_Vehicle 2021-02-03 18:24:52 +11:00
Andrew Tridgell 66297bd061 AP_Vehicle: added ExternalAHRS param tree and object
using EAHRS param prefix
2021-01-05 21:13:12 +11:00
yaapu edf2291fb0 AP_Vehicle: added getters for waypoint info, refactored osd publish_nav_info() 2020-12-10 12:39:44 +11:00
Andrew Tridgell a1c05e74b5 AP_Vehicle: call init_safety after first loop has run
this fixes a bug where servos can be driven to an out of range value
if PWM output happens before first loop has completed

thanks to Kris for reporting
2020-12-08 11:14:24 +11:00
Gone4Dirt d25f9d5d3a AP_Vehicle: Move AP_Generator to all vehicles 2020-11-24 12:54:52 +11:00
Andrew Tridgell 790a5ffa38 AP_Vehicle: added bootloader vehicle type 2020-11-10 16:15:45 +11:00
Andrew Tridgell 0700ca4882 AP_Vehicle: added DAL standalone vehicle type 2020-11-10 16:15:45 +11:00
Andrew Tridgell ae56f554b9 AP_Vehicle: send watchdog reset msg at startup
this helps if the watchdog will happen within 10s of startup
2020-11-10 16:15:45 +11:00
Mark Whitehorn 5f8b4968ec AP_Vehicle: add instructions for config_error loop 2020-11-05 15:04:10 +11:00
yaapu 0012b83d86 AP_vehicle: added support for frsky bidirectional telemetry 2020-10-27 10:17:53 +11:00
Patrick José Pereira 75e9550bce AP_Vehicle: Define APM_BUILD_DIRECTORY as UNKNOWN if not defined
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-10-07 19:32:12 +11:00
Peter Barker 3aabb45059 AP_Vehicle: move orderly rebooting code from GCS into AP_Vehicle
Several places we reboot the vehicle we should probably do several of
the things done in this code - flushing parameters, forcing safety on
etc.
2020-09-29 18:07:59 +10:00
Tatsuya Yamaguchi fb27dbbd4f AP_Vehicle: replace message indicating that initialisation has completed 2020-09-22 09:52:52 +10:00
Peter Barker 0d396f4235 AP_Vehicle: don't do any GCS stuff in delay callback if we're Replay
We haven't initialised the GCS at all, so it's not a great idea to
update_receive() and the like.
2020-09-15 10:02:36 +10:00