Commit Graph

377 Commits

Author SHA1 Message Date
Peter Barker 1f0c31bcef Sub: remove ENABLE/DISABLE defines, use 0/1 instead
same as Plane, Rover, Sub, Tracker
2024-09-02 20:05:14 -03:00
Willian Galvani 78a7c86bbd Sub: create backup origin for gps-less operation with WMM
Co-authored-by: Clyde McQueen <clyde@mcqueen.net>
2024-07-11 14:17:54 -03:00
Peter Barker a5d7000ffd ArduSub: make AP_RANGEFINDER_ENABLED remove more code 2024-07-02 09:17:26 +10:00
ES-Alexander b0d89c6862 Sub: update status to include all failsafes 2024-06-28 12:45:10 -03:00
Peter Barker 3443e1c12f ArduSub: remove far_from_EKF_origin sanity checks
some  flawed implementations, and the extreme-ardupilot project means these checks are no longer required
2024-04-10 17:17:12 +10:00
Peter Barker 89a9a0e6d1 ArduSub: move handling of DO_SET_HOME up to GCS_MAVLink base class 2024-04-09 09:35:16 +10:00
Clyde McQueen e4115efa67 Sub: publish filtered alt in mav msgs 2024-04-08 10:51:12 -03:00
Clyde McQueen f9db039dcc Sub: add SURFTRAK mode 2024-02-21 18:59:20 -03:00
Peter Barker ccc9231c67 ArduSub: move gripper up to AP_Vehicle
also make the singleton return a reference rather than a pointer
2024-02-21 21:05:12 +11:00
Peter Barker 80fa661042 ArduSub: move logger object up to AP_Vehicle 2024-02-13 10:54:29 +11:00
Peter Barker 852944a1b1 Sub: correct compilation when HAL_LOGGING_ENABLED is false 2024-01-17 18:25:55 +11:00
Willian Galvani 15b480f105 Sub: add support for 32 buttons and two additonal axis 2023-12-05 12:04:16 +11:00
Peter Barker daf427f6d6 Sub: accept MAV_CMD_DO_MOTOR_TEST as both command-int and command-long 2023-09-27 17:39:55 +10:00
Clyde McQueen 5e8fed9d43 Sub: provide script access to joystick buttons 2023-09-27 08:14:36 +10:00
Rakesh Vivekanandan 6a36c05e4e Sub: Guided Mode: Helper function guided_set_yaw_state() to set yaw state and targets when the vehicle is in guided mode. 2023-07-28 12:04:54 -03:00
Willian Galvani 9b70ac1286 Sub: big mode refactor 2023-07-13 14:56:40 -03:00
Willian Galvani d31f0d2312 Sub: Add AP_Stats
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2023-07-13 07:17:11 -03:00
rishabsingh3003 34702ed986 Sub: Obey loiter_ccw flag for loiter turns 2023-02-15 19:14:43 +11:00
Peter Barker 9e69f8211e ArduSub: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker b0818d72e6 ArduSub: tidy AP_SerialManager.h includes 2022-11-08 09:49:19 +11:00
Tom Pittenger be42e53303 Sub: use new AP_TemperatureSensor library
Co-authored-by: Joshua Henderson <hendjoshsr71@gmail.com>
2022-10-18 10:05:31 +11:00
Peter Barker 82ddfc2a52 ArduSub: add AP_GRIPPER_ENABLED 2022-10-04 10:58:34 +11:00
Peter Barker 7546530050 ArduSub: correct compilation with rally disabled 2022-09-27 10:16:47 +10:00
Peter Barker 9b5d70f7b5 ArduSub: add and use AP_CAMERA_ENABLED 2022-09-21 11:58:38 +10:00
Peter Barker 48308b8156 ArduSub: add and use AP_RPM_ENABLED 2022-09-20 09:28:27 +10:00
Peter Barker 2cb5a0cc26 ArduSub: rename OpticalFlow class to AP_OpticalFlow
Brings us in-line with other classes in ArduPilot.

Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
2022-08-18 14:24:01 +10:00
Iampete1 2d8b9f7cbe Sub: Fence moved to vehicle 2022-07-27 19:04:56 +10:00
Iampete1 720117298d Sub: stop using custom pos controller 2022-07-05 16:00:03 -03:00
Peter Barker 8a9a856de8 ArduSub: move logging of compass ERR flags into AP_Compass 2022-05-10 19:46:40 +10:00
Peter Barker 5a4963e4f8 ArduSub: move error logging of sensor health into AP_Baro 2022-05-03 17:38:09 +10:00
Andy Piper 0b754aeba8 Sub: move fast_loop into scheduler tasks 2022-05-03 08:20:13 +09:00
Peter Barker 785615de2f ArduSub: tidy includes 2022-05-03 09:14:58 +10:00
Peter Barker 0a9481a557 ArduSub: include cleanups 2022-03-01 11:21:33 +11:00
Joshua Henderson fc5ecfcafd Sub: remove position_vector.cpp 2022-02-08 12:14:10 +11:00
Peter Barker ac6842b0ac ArduSub: stop passing mission in Terrain constructor
Terrain can use the mission singleton

This means Copter can have terrain while compiling mission out
2022-02-08 11:20:20 +11:00
Joshua Henderson a765bb048d Sub: move Airspeed to AP_Vehicle 2022-01-19 18:21:32 +11:00
Iampete1 834ec4cea2 Sub: move motbatt logging into AP_Motors 2022-01-18 10:18:10 +11:00
Peter Barker 9b60443fa4 ArduSub: move RPM sensor logging into AP_RPM 2022-01-11 11:09:26 +11:00
Peter Barker f637facea2 Sub: create and use AP_OPTICALFLOW_ENABLED 2021-12-29 18:12:03 +11:00
Peter Barker bc39b8d74c ArduSub: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED 2021-11-15 20:27:40 +11:00
Peter Barker 9bc9179d8d ArduSub: ensure ENABLE_SCRIPTING is always defined 2021-11-15 20:27:40 +11:00
Peter Barker 1c544702d2 ArduSub: handle renaming of AP_InertialNav_NavEKF to AP_InertialNav 2021-10-20 18:09:36 +11:00
Peter Barker 4c1c0e591f ArduSub: move SITL object up to AP_Vehicle 2021-10-19 11:34:43 +11:00
Peter Barker f3e5e9463b Sub: stop passing current_loc into AP_Camera 2021-09-29 18:33:01 +10:00
Andrew Tridgell dbe0bef58b Sub: moved accel cal update to vehicle code 2021-09-17 14:07:14 +10:00
bugobliterator 6ec8919bdd Sub: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
Peter Barker e98af90749 ArduSub: rename for AHRS restructuring 2021-07-21 21:01:39 +10:00
Peter Barker ed0b0451cf ArduSub: remove AC_TERRAIN compilation option
Use AP_TERRAIN_AVAILABLE instead
2021-07-12 17:34:44 +10:00
Andrew Tridgell c059f8c044 Sub: fixes for use of longitude_scale() 2021-07-10 07:20:41 +10:00
Peter Barker 26d1e34c19 ArduSub: remove pointless init_optflow wrapper
Hiding a one-line call in a wrapper just adds size to the build
2021-05-28 13:41:50 +09:00