Commit Graph

148 Commits

Author SHA1 Message Date
Michael du Breuil 1759dd6368 Blimp: Don't send HWSTATUS by default 2022-09-13 14:27:06 +10:00
Randy Mackay 9d7f09f840 Blimp: replace send-mount-status with send-gimbal-device-attitude-status 2022-08-15 20:29:25 -04:00
Peter Barker 27c5a80275 Blimp: move call to compass cal update up to AP_Vehicle 2022-08-16 10:06:44 +10:00
Henry Wurzburg 20c0448165 Blimp: update logging bitmask metadata to new style and correct errors 2022-08-09 11:38:16 +10:00
Iampete1 0bb28c6484 Blimp: set defualt format version 2022-07-20 17:59:59 +10:00
Iampete1 6b06e2eb9b Blimp: add AIS to ADSB stream rate 2022-07-12 09:39:54 +10:00
Peter Barker 1087b297ac Blimp: let AHRS update orientation in its own time 2022-06-12 17:32:11 +10:00
Randy Mackay 03a2859e0e Blimp: remove unused MSG_GIMBAL_REPORT 2022-06-07 09:27:47 +10:00
Peter Barker 2f7df9ef4c Blimp: run prearm checks on all vehicles @1Hz, displaying @0.0333Hz 2022-05-18 12:25:26 +09:00
Peter Barker b33fda72fe Blimp: move logging of compass ERR flags into AP_Compass 2022-05-10 19:46:40 +10:00
Peter Barker 2f8b25328d Blimp: remove handling of MAVLINK_MSG_ID_SET_HOME_POSITION
We decided to remove this after 4.2 was out in favour of
MAV_CMD_DO_SET_HOME which has been available since 2015.

The gcs-maintainers list was notified in Feburary.
2022-05-10 09:46:22 +10:00
Peter Barker 8783bb9638 Blimp: move error logging of sensor health into AP_Baro 2022-05-03 17:38:09 +10:00
Andy Piper d7d7574d2e Blimp: remove fast loop and convert to tasks 2022-05-03 08:20:13 +09:00
Michelle Rossouw b562d5c865 Blimp: Update output to current version 2022-04-21 13:01:40 +09:00
Peter Barker c7f954c6c7 Blimp: stop libraries including AP_Logger.h in .h files
AP_Logger.h is a nexus of includes; while this is being improved over
time, there's no reason for the library headers to include AP_Logger.h
as the logger itself is access by singleton and the structures are in
LogStructure.h

This necessitated moving The PID_Info structure out of AP_Logger's
namespace.  This cleans up a pretty nasty bit - that structure is
definitely not simply used for logging, but also used to pass pid
information around to controllers!

There are a lot of patches in here because AP_Logger.h, acting as a
nexus, was providing transitive header file inclusion in many (some
unlikely!) places.
2022-04-08 19:18:38 +10:00
Peter Barker 6ac68c5875 Blimp: remove land_acel_ef_filter
Landing is for wimps
2022-04-06 17:36:51 +10:00
Henry Wurzburg 875f3f7d97 Blimp: add temporary GCS FS behavior of disarming Blimp 2022-04-02 14:57:17 +11:00
Henry Wurzburg 913afe7b4e Blimp: fix duplicate param and remove params/values not used 2022-03-29 08:37:09 +09:00
Peter Barker a501a86c8d Blimp: split AP_HAL_SITL and HAL_SIM_ENABLED 2022-03-17 14:39:55 +11:00
murata b76d048a5e Blimp: Change the process for errors 2022-03-08 14:36:19 -08:00
Peter Barker e277c3bd49 Blimp: include cleanups 2022-03-01 11:21:33 +11:00
Peter Barker 5ae96b4656 Blimp: add RebootRequred to stream rate parameters 2022-03-01 11:01:12 +11:00
Peter Barker 7775b519bb Blimp: create and use location_from_command_t 2022-02-09 09:15:11 +11:00
Peter Barker 2ef09752c1 Blimp: move logging of LogEvent::SET_HOME up 2022-02-08 11:04:26 +11:00
Peter Barker 24a5f57b45 Blimp: provide default implemenation of handle_change_alt_request
The TODO items to actually implement these are almost 6 years old.
Since then these methods have been burning space.

This doesn't even make sense for several vehicles, so a default
implementation which does nothing seems OK.
2022-02-08 10:59:13 +11:00
Peter Barker 62e10b328e Blimp: move logging of SIMSTATE, AHRS2 and POS into AP_AHRS library 2022-01-25 10:59:17 +11:00
Peter Barker 89b56f38f2 Blimp: rename AP_AHRS::get_position to get_location 2022-01-25 10:47:22 +11:00
Josh Henderson 5549c03e65 Blimp: move Airspeed to AP_Vehicle 2022-01-19 18:21:32 +11:00
Iampete1 c241bf6479 Blimp: remove motbatt logging 2022-01-18 10:18:10 +11:00
Peter Barker 3312ce06e7 Blimp: remove unimplemented methods 2022-01-11 11:09:26 +11:00
Michelle Rossouw e8e26d0b7f Blimp: Remove commented-out guided mode log message 2022-01-07 22:54:13 +11:00
Peter Barker e07a94e62c Blimp: move INS notch filter logging into INS 2022-01-05 16:34:36 +11:00
Peter Barker fe9ee72bf7 Blimp: make vehicles write notch log messages 2022-01-05 16:34:36 +11:00
Shiv Tyagi 3ad8e50603 Blimp: remove pilot_throttle_checks()
This method is redundant as throttle below FS_THR_THROTTLE value is already checked in set_throttle_and_failsafe() method.
2022-01-03 11:31:41 +11:00
Peter Barker 3f9ca50869 Blimp: tidy log message id definitions
Add a comment indicating only 20 ids are available to the vehicle
2021-12-21 10:42:18 +11:00
Peter Barker bcf9928c78 Blimp: use @CopyValuesFrom for FLTMODEn parameters 2021-12-16 07:11:33 +11:00
Andrew Tridgell f7442eca36 Blimp: revert compass parameter changes 2021-12-04 16:51:53 +11:00
Iampete1 2a2685d874 Blimp: remove compass params underscore 2021-11-30 08:14:43 +09:00
Josh Henderson 119ed0c103 Blimp: INAV rename for neu & cm/cms 2021-11-30 10:08:07 +11:00
Peter Barker 080149d174 Blimp: allow specification of Scheduler table priorities 2021-11-17 19:00:04 +11:00
Peter Barker 60932e04d5 Blimp: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED 2021-11-15 20:27:40 +11:00
Peter Barker e301595143 Blimp: ensure ENABLE_SCRIPTING is always defined 2021-11-15 20:27:40 +11:00
Peter Barker d4a25d5999 Blimp: remove unimplemented update_proximity/init_proximity declarations 2021-11-15 07:57:34 +09:00
Iampete1 0613ce64d7 Blimp: run parent mandatory_checks 2021-11-02 10:05:07 +11:00
Peter Barker f145785be0 Blimp: handle renaming of AP_InertialNav_NavEKF to AP_InertialNav 2021-10-20 18:09:36 +11:00
Shiv Tyagi 280ddb3d22 Blimp : Parameters.cpp : Formatting fixes in GCS_PID_MASK Bitmask description 2021-10-20 14:22:48 +11:00
Peter Barker 62bbfd60fb Blimp: move SITL object up to AP_Vehicle 2021-10-19 11:34:43 +11:00
Peter Barker e4f1b61f71 Blimp: factor substring from allocation_error parameter 2021-10-18 12:49:44 +11:00
Tom Pittenger 667925ebbf Blimp: move ADSB mavlink handling from vehicles to common library 2021-10-14 19:55:27 -07:00
bugobliterator 8a3e1b96ab Blimp: use allocation_error instead of panic on allocation failure 2021-09-30 08:51:26 +10:00
lthall 1d6e87e68d Blimp: Update PSC logging to include desired 2021-09-23 20:07:52 +09:00
Iampete1 085cb72fb5 Blimp: fix RC init order to avoid error message 2021-09-21 17:49:47 +10:00
Iampete1 be99a8a0bc Blimp: convert to new ARMDISARM 2021-09-21 09:36:24 +10:00
Andrew Tridgell 65c878c06f Blimp: moved accel cal update to vehicle code 2021-09-17 14:07:14 +10:00
Iampete1 07a114052c Blimp: remove defines for functions that dont exist 2021-09-14 13:26:05 +09:00
Tatsuya Yamaguchi 33d026f745 Blimp: remove unused config 2021-09-08 19:34:33 +09:00
Michelle Rossouw 0ee8b452ab Blimp: fixup mavlink mav type, fix mode ordering 2021-09-06 11:31:34 +01:00
Peter Barker ac05a66a54 Blimp: make bad-mode-number notification consistent across vehicles 2021-09-01 19:45:46 +09:00
Peter Barker 81fc725435 Blimp: eliminate AP::ahrs().get_location 2021-08-31 09:47:31 +10:00
Peter Barker 52eb168ca5 Blimp: add and use HAL_BUTTON_ENABLE 2021-08-25 19:03:42 +10:00
Andrew Tridgell 8929f4b763 Blimp: added MCU_STATUS message 2021-08-25 07:11:31 +10:00
Iampete1 ee5ff413a9 Blimp: remove stick gesture compass cal start and stop 2021-08-24 08:51:29 +09:00
Andrew Tridgell 4c1700d195 Blimp: added slew rate and Dmod for PID_TUNING message 2021-08-19 12:08:54 +10:00
Iampete1 506c21ce48 Blimp: remove override compass check 2021-08-18 18:30:51 +10:00
Peter Barker dbf88265c0 Blimp: stop sending SENSOR_OFFSETS
Only works for first compass instance.

We have all of these in parameters anyway.
2021-08-18 18:06:24 +10:00
Peter Barker bf7474c940 Blimp: DCM handles centrifugal correction application internally now 2021-08-17 10:36:46 +10:00
Peter Barker 6868557efd Blimp: move VehicleClass handling to AHRS frontend
.... and renaming the enumeration while we're at it
2021-08-17 10:34:07 +10:00
Leonard Hall dd9bc4da67 Blimp: fix PID filter names FILT -> FLTE, D_FILT -> FLTD 2021-08-10 08:33:56 +09:00
Peter Barker badf461101 Blimp: log GPS primary change event in GPS library 2021-08-06 15:30:18 +10:00
bugobliterator 9ed21ad4dd Blimp: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
Josh Henderson f64ccbd2a6 Blimp: remove POSITION_TARGET_TYPEMASK_FORCE_SET 2021-08-03 12:48:38 +10:00
Peter Barker 6e68292c62 Blimp: use AP::compass().available in place of enabled() 2021-07-30 12:19:42 +10:00
Peter Barker 106534a654 Blimp: rename for AHRS restructuring 2021-07-21 21:01:39 +10:00
Peter Barker 271519f6e2 Blimp: remove ability to use DCM as AHRS 2021-07-21 21:01:39 +10:00
Peter Barker 0986ade905 Blimp: remove misleading NOINLINE comment
NOINLINE hasn't been used in years in these files
2021-07-08 21:28:38 +10:00
Stephen Dade 2821e6815e Blimp: Add support for HIGH_LATENCY2 messages 2021-07-07 17:10:05 +10:00
Michelle Rossouw 6ec221625b Blimp: Add GPS glitch check 2021-07-06 14:56:02 +10:00
Michelle Rossouw 0e2cb4a00c Blimp: Code cleanups 2021-07-06 14:56:02 +10:00
Michelle Rossouw 5bd3e3e330 Blimp: Add modes Velocity and Loiter 2021-07-06 14:56:02 +10:00
Michelle Rossouw 1a0f44a8ad Blimp: Add logging and MAVLink 2021-07-06 14:56:02 +10:00
Michelle Rossouw cceb612d0c Blimp: Fix mode land, manual and fins class 2021-07-06 14:56:02 +10:00
Michelle Rossouw 2cbcb2be87 Blimp: Code cleanups 2021-07-06 14:56:02 +10:00
Hwurzburg 8eaf45f185 Blimp: remove values metadata from log bitmask 2021-06-30 09:24:26 +09:00
Peter Barker d66220e3fc Blimp: remove HIL support 2021-06-15 09:47:31 +10:00
Peter Barker eed6753331 Blimp: remove dangling declaration 2021-05-28 13:41:50 +09:00
Hwurzburg fe3c0faf12 Blimp: make centideg metadata incr and range consistent 2021-05-25 10:10:18 +10:00
Leonard Hall c91fdcea72 Blimp: Use PosControl fixes 2021-05-24 20:13:37 +10:00
murata 06ef0a0993 Blimp: Remove the comment out of the process 2021-05-18 08:20:40 +09:00
Pierre Kancir bb00340171 Blimp: use MAVLink POSITION_TARGET_TYPEMASK 2021-05-11 09:53:50 +10:00
Peter Barker ff02e619da Blimp: remove armed_with_switch state
Unused state
2021-05-05 19:48:03 +10:00
Josh Henderson d8d3494b17 Blimp: Privatize AP_IntertialSensor Logging 2021-04-29 19:19:12 +10:00
Peter Barker ed4dcea57a Blimp: tidy setting of sensor status flags 2021-04-14 18:03:27 +10:00
Peter Barker 84d5c0fea9 Blimp: remove unused Log_Write_Precland method
... and a dead define to match
2021-04-13 10:28:39 +10:00
Peter Barker d822499155 Blimp: move handling of last-seen-SYSID_MYGCS up to GCS base class 2021-04-07 17:54:21 +10:00
Peter Barker c064e09806 Blimp: remove unused command_ack counter 2021-04-07 17:54:21 +10:00
Peter Barker 40bc087359 Blimp: correct compilation for do_aux_function sig change 2021-03-31 13:27:07 +11:00
Michelle Rossouw ded488fd9f Blimp: Remove most commented out code and other cleanups 2021-03-31 12:27:07 +11:00
Michelle Rossouw b98bbcb678 Blimp: initial implementation of blimp vehicle type 2021-03-31 12:27:07 +11:00