Commit Graph

95 Commits

Author SHA1 Message Date
bugobliterator 90c9fb7804 AP_Periph: manage separate transfer ids for different transfer desc 2021-08-19 14:20:58 +10:00
bugobliterator bb65ab83be AP_Periph: reduce Rx latency by reading while sitting in delay 2021-08-19 14:20:58 +10:00
bugobliterator aa9a40acf5 AP_Periph: add a way to transmit MovingBaseline Data on another port 2021-08-19 14:20:58 +10:00
bugobliterator 54f03b9b64 AP_Periph: add support for moving baseline heading 2021-08-19 14:20:58 +10:00
bugobliterator acab1478a2 AP_Periph: fix build error 2021-08-12 07:57:12 +10:00
Andrew Tridgell 0ea26b4d3a AP_Periph: fixed float16 conversions for scalars
libcanard does already convert scalars, but doesn't convert arrays. By
calling fix_float16 on scalers we were double converting, which
reduced resolution.
2021-08-05 19:04:41 +10:00
Peter Barker d40587062e AP_Periph: use AP::compass().available in place of enabled() 2021-07-30 12:19:42 +10:00
bugobliterator 6f3e3a913a AP_Periph: fix dna wait blink 2021-07-28 17:09:41 +10:00
bugobliterator ef48d706ed AP_Periph: do not wait for DNA to finish before starting AP_Periph 2021-07-14 15:18:42 +10:00
bugobliterator a9fda29d42 AP_Periph: remove return res from canard_broadcast 2021-07-14 15:18:42 +10:00
bugobliterator 64c41e51ba AP_Periph: use range for loop instead of indexed for loops 2021-07-14 15:18:42 +10:00
Siddharth Purohit 3ed53c58e9 AP_Periph: provide separate instances of canard objects per iface 2021-07-14 15:18:42 +10:00
Tom Pittenger 4d0f5a1db6 AP_Periph: add support for multiple protocols on AP_Periph 2021-06-09 18:36:18 +10:00
James O'Shannessy 819bb2938b AP_Periph: Correctly report Temperature to UAVCAN 2021-06-01 12:35:24 +10:00
bugobliterator 3390167753 AP_Periph: use AP_Notify enum for ToneAlarm types 2021-05-31 07:34:02 +10:00
Andrew Tridgell a23e821f94 AP_Periph: allow safety LED as backup main LED for DNA 2021-05-09 06:44:19 +10:00
Andrew Tridgell efe8042fbe AP_Periph: allow for reboot while in DNA 2021-05-09 06:44:19 +10:00
Andy Piper 2b327af79b AP_Periph: use tone alarm types 2021-05-05 17:41:24 +10:00
Andrew Tridgell 22c936140e Tools: removed assert calls
these waste flash space and do not do us any good
2021-03-25 14:03:40 +11:00
Andrew Tridgell ef16eb56bb AP_Periph: support CAN redundancy
send and recv on multiple CAN interfaces
2021-03-23 12:01:20 +11:00
Michael du Breuil 9abf91c86e AP_Periph: Allow skipping the BatteryInfo model_name
This saves a shocking amount of bandwidth. On a CubeOrange-periph
build sending just baro data and 2 battery info's this results in 25%
less bandwidth being used. (Also given that we still have a instance id,
and can get the CAN node's descriptor in the general case this is not
costing us any information).
2021-03-19 17:35:54 +11:00
Michael du Breuil 06a40da355 AP_Periph: Send ardupilot.gnss.Status 2021-03-12 09:39:55 +11:00
Michael du Breuil 50d80e9dc4 AP_Periph: Remove debug printf 2021-02-12 14:51:09 +11:00
Michael du Breuil 15ce4fb034 AP_Periph: Use the ArmingStatus broadcast to set the soft_armed state
This allows things like GPS_RAW_DATA 2 to start to work for SBF GPS's
2021-02-02 10:57:57 +11:00
Andrew Tridgell 49e2a0caed Tools: fixed valgrind errors with AP_Param::ParamToken 2021-01-26 10:43:09 +11:00
Tom Pittenger ee573a0275 AP_Periph: add NTF (Notify) full library and it's params 2021-01-03 16:24:12 -08:00
David B. Bitton 8b2e69162d AP_Periph: add support for Toshiba LED 2020-12-31 11:02:10 -08:00
Tom Pittenger 4c484c8577 AP_Periph: compile-error fix for for hwdef with HAL_NO_ROMFS_SUPPORT 2020-12-25 16:24:50 -07:00
Tom Pittenger eb3da385dd AP_Periph: gracefully handle PWM and Params during reboot and bot up as PWM safety on 2020-12-21 18:27:07 -08:00
Siddharth Purohit 4d91071e7e AP_Periph: ignore unused-function error for helper fix_float16() 2020-12-21 18:27:07 -08:00
Tom Pittenger 07aeab5c44 AP_Periph: add Servo OUT support 2020-12-21 18:27:07 -08:00
Tom Pittenger 5238f85091 AP_Periph: add BRD_SERIAL_NUM and append CAN_APP_NODE_NAME 2020-12-17 21:28:10 -08:00
Phillip Kocmoud ce87b62dcc AP_Periph: Add alternate ordering of NCP5623 LED colors 2020-12-12 14:57:35 +11:00
Tom Pittenger 0c5cc16d7b AP_Periph: populate more fields in batteryinfo 2020-12-09 07:52:15 -08:00
Andrew Tridgell 39c21e662d AP_Periph: check compass and baro health before using 2020-12-08 20:41:12 +11:00
Andrew Tridgell d0c1fd701f AP_Periph: prevent loop stuck internal error in AP_Periph bootloader flash 2020-12-08 13:22:36 +11:00
Andrew Tridgell 9fa60be1ba AP_Periph: break out node status send 2020-12-06 16:48:08 +11:00
Andrew Tridgell d586a2d853 AP_Periph: added magic FLASH_BOOTLOADER=42/43 values
when FLASH_BOOTLOADER=42 we will enter into a lockup loop, which will
trigger a watchdog. This is useful for testing watchdog support
2020-12-01 11:14:50 +11:00
Tom Pittenger cf2b3d9bc6 AP_Periph: add AP_BattMonitor support 2020-11-25 14:20:53 +11:00
bugobliterator f502af99b2 AP_Periph: fix uninitialised buffer arrays 2020-11-11 19:52:37 +11:00
bugobliterator ed3683fce3 AP_Periph: use native_millis for use in SITL 2020-11-04 19:59:40 +11:00
bugobliterator e4c5d7b697 AP_Periph: get AP_Periph ready for SITL build 2020-11-04 19:59:40 +11:00
Mateusz Mróz 2e85ba6f51 AP_Periph: Restore setting node_id from CAN_NODE parameter
Reverts part of commit: 584bcbac0d
2020-10-20 14:32:43 +11:00
Siddharth Purohit 5ab6916a41 AP_Periph: use HAL CAN Drivers instead of ChibiOS's 2020-09-24 12:32:19 +10:00
Andrew Tridgell 9c24415f86 AP_Periph: support output of MSP sensor data 2020-09-09 06:35:50 +10:00
Andrew Tridgell 4c1418f325 AP_Periph: added LED blinking while waiting for DNA 2020-05-11 18:36:46 +10:00
Andrew Tridgell d789c618a2 AP_Periph: use rangefinder get_address() 2020-05-11 18:36:46 +10:00
Andrew Tridgell 01e77d6f5b AP_Periph: don't send a zero timestamp marked as UTC time
this fixes a problem with bad SYSTEM_TIME when using an AP_Periph
GPS. Many thanks to Phillip Kocmoud for reporting
2020-04-29 12:20:19 +10:00
Andrew Tridgell e2d6e70895 AP_Periph: fixed HWESC temperature decoding
now have protocol docs
2020-04-02 11:43:37 +11:00
Andrew Tridgell 318d467ecc AP_Periph: fixed airspeed to use corrected pressure
this prevents the AP_Periph node from doing the fabs()
2020-03-25 20:37:00 +11:00