Andrew Tridgell
751b901ed9
Tools: fixed printf format errors
2021-08-05 09:43:35 +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
35d94b17eb
AP_Periph: add support for MAVLink for HerePro
2021-07-26 13:45:43 +10:00
Andrew Tridgell
299b3ef200
AP_Periph: fixed msp gps yaw
...
build failed with 10.2 compiler, but is a real bug
2021-07-25 21:00:09 +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
Siddharth Purohit
637ccf13df
AP_Periph: add MAVLink support for AP_Periph modules
2021-07-02 08:50:16 +10:00
Siddharth Purohit
f9a50e8e47
AP_Periph: allow building InertialSensor and related libraries
2021-06-30 17:06:02 +10:00
Tom Pittenger
4d0f5a1db6
AP_Periph: add support for multiple protocols on AP_Periph
2021-06-09 18:36:18 +10:00
Tom Pittenger
8ada37edb8
AP_Periph: add support for MPPT Battery driver
2021-06-09 18:36:18 +10:00
Peter Barker
31c345fc4b
Tools: add support for AP_Logger into AP_Periph
2021-06-08 09:57:55 +10:00
James O'Shannessy
819bb2938b
AP_Periph: Correctly report Temperature to UAVCAN
2021-06-01 12:35:24 +10:00
Hwurzburg
4335951c42
Tools: remove % as units on params that are unitless
2021-05-30 22:38:27 -07: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
Andrew Tridgell
724cea2b0d
AP_Periph: allow build with no PWM to allow for notify
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
Hwurzburg
6235f7f8f4
AP_Periph: fix metadata error preventing emitting to wiki
2021-04-21 17:31:43 -07:00
Tom Pittenger
e0cfac902d
AP_Periph: populate the param meta data for the wiki
2021-04-19 09:19:04 -07:00
Andrew Tridgell
6a12b612b1
AP_Periph: fixed DShot in AP_Periph
2021-04-16 07:11:50 +10:00
Peter Barker
725e36b381
AP_Periph: correct paths to libraries
...
These were a mixture. This allows param_parse.py to function
appropriately.
2021-04-11 11:31:41 +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
Andrew Tridgell
50d5fced54
AP_Periph: fixed ESC output
...
should be range, not angle
2021-03-23 12:01:20 +11:00
Andrew Tridgell
dda69bfcb0
AP_Periph: added ESC_PWM_TYPE
...
this allows for oneshot and dshot on AP_Periph ESCs
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
Siddharth Purohit
a1a41bb47a
AP_Periph: move underscore one layer down for GPS
2021-03-12 16:32:36 +09: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
Siddharth Purohit
c54a597571
AP_Periph: pull out supported targets from wscript into a separate file
2021-01-22 05:42:12 +11:00
Mirko Denecke
d08487b8ae
AP_Periph: fix command to build bootloader
2021-01-11 12:27:44 -08:00
Andrew Tridgell
ae6569ab67
AP_Periph: updated release notes for 1.2.0
2021-01-06 07:59:33 +11:00
Tom Pittenger
ee573a0275
AP_Periph: add NTF (Notify) full library and it's params
2021-01-03 16:24:12 -08:00
Andrew Tridgell
19e597ec3f
AP_Periph: check for null uart in msp
2021-01-01 15:40:13 +11:00
Andrew Tridgell
37506c2f3a
AP_Periph: added MSP_PORT parameter
...
allows MSP to be enabled/disabled
2021-01-01 15:40:13 +11:00
David B. Bitton
8b2e69162d
AP_Periph: add support for Toshiba LED
2020-12-31 11:02:10 -08:00
Tom Pittenger
71859c9893
AP_Periph: rename AP_PERIPH_<feature>_DEFAULT to HAL_PERIPH_<feature>_DEFAULT
2020-12-28 09:16:02 +11:00
Tom Pittenger
7af731fbda
AP_Periph: change GPS and Rangefinder to use port stored in param
2020-12-25 16:24:50 -07: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
giacomo892
c8d874676f
AP_Periph: MSP fix last baro ms
2020-12-22 10:08:34 +11:00
Andrew Tridgell
0bf0fbe687
AP_Periph: prepare for 1.2beta2
2020-12-19 11:46:56 +11:00
Tom Pittenger
2a4fef73dd
AP_Periph: change ADSB to use param ADSB_PORT instead of define
2020-12-17 23:24:04 -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
Tom Pittenger
a285a741df
AP_Periph: implement HAL_PERIPH_ALLOW_MAVLINK_UART_OR_USB_REBOOT_CMD
2020-12-18 06:59:09 +11:00
Andrew Tridgell
23a9a14d64
Tools: convert to using hal.serial() instead of hal.uartX
2020-12-15 10:32:46 +11:00
Andrew Tridgell
3cf71d11a9
AP_Periph: mark version as 1.3dev
2020-12-13 10:32:30 +11:00
Andrew Tridgell
52f66f3654
AP_Periph: updated release notes for 1.2.0beta1
2020-12-13 10:31:35 +11:00
Tom Pittenger
4b47ddf556
AP_Periph: add battery monitor to AP_Periph README
2020-12-13 09:35:28 +11: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
74813e7761
AP_Periph: stop sending airspeed when unhealthy
2020-12-08 20:41:12 +11:00
giacomo892
75333dcd2f
AP_Periph: support output of MSP airspeed sensor
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
cd2f2f96eb
rename barometer parameters to BARO prefix
2020-12-08 13:22:17 +11:00
Andrew Tridgell
9fa60be1ba
AP_Periph: break out node status send
2020-12-06 16:48:08 +11:00
Andrew Tridgell
6ce9207394
AP_Periph: set HitecMosaic as AP_Periph target
2020-12-06 16:48:08 +11:00
Andrew Tridgell
0c2770a8d4
AP_Periph: added DEBUG parameter for displaying stack usage
2020-12-01 11:14:50 +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
Siddharth Purohit
87564f145b
AP_Periph: add docs for CAN SITL
2020-11-09 19:37:00 +11:00
bugobliterator
60e8d747c6
AP_Periph: fix build type for SITL builds to use "sitl_*"
2020-11-04 19:59:40 +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
bugobliterator
a348e342fa
Tools: AP_Periph: add support for CubeBlack-periph
2020-10-08 09:31:35 +11:00
Siddharth Purohit
5ab6916a41
AP_Periph: use HAL CAN Drivers instead of ChibiOS's
2020-09-24 12:32:19 +10:00
Siddharth Purohit
eab0507d37
Tools: waf: add build for CubeOrange-periph
2020-09-24 12:32:19 +10:00
Patrick José Pereira
be4f2f0c79
AP_Periph: Use new AP_FWVersionDefine header
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-09-23 20:58:35 +10:00
Andrew Tridgell
ae2e84b3df
AP_Periph: fixed mavlink build warnings
2020-09-15 09:40:03 +10:00
Andrew Tridgell
9c24415f86
AP_Periph: support output of MSP sensor data
2020-09-09 06:35:50 +10:00
Peter Barker
de2055b57f
Tools: use new UARTDriver discard_input method
2020-05-26 09:20:32 +10:00
Andrew Tridgell
5437f1e6ee
AP_Periph: prepare for 1.1.0
2020-05-14 15:40:03 +10:00
Andrew Tridgell
582de68ea7
AP_Periph: updated release notes
2020-05-11 18:48:18 +10:00
Andrew Tridgell
50d2b51f3d
AP_Periph: added release notes
2020-05-11 18:46:07 +10:00
Andrew Tridgell
67b7c21f87
AP_Periph: prepare for 1.1.0 beta release
2020-05-11 18:38:14 +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
518ff84ff6
AP_Periph: fixed ADSB build
2020-04-29 07:36:55 +10:00
Andrew Tridgell
5b063731b6
AP_Periph: avoid building GCS_MAVLink
2020-04-29 07:36:55 +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
Peter Hall
9ae6633a08
AP_Periph: update to new NeoPixel API
2020-03-17 14:50:34 +11:00
Andrew Tridgell
998f93c7c9
AP_Periph: fixed HWESC RPM and current readings
2020-03-10 09:36:59 +11:00
Andrew Tridgell
5462c468cd
AP_Periph: fixed current decoding for HWESC
2020-03-04 16:21:06 +11:00
Andrew Tridgell
44bf05ab29
AP_Periph: added Hobbywing ESC telemetry support
...
useful to add UAVCAN ESC status for UART based telemetry for Hobbywing
ESCs
2020-03-04 16:21:06 +11:00
Andrew Tridgell
d83f380521
AP_Periph: adjust for updated LED API
2020-02-27 13:12:26 +11:00
Andrew Tridgell
84ac1ac41d
AP_Periph: don't probe rangefinder continuously
2020-02-22 12:28:16 +11:00
Andrew Tridgell
c9c4167888
AP_Periph: fixed watchdog during DNA wait
...
thix fixes an issue with multiple AP_Periph nodes booting at the same
time
2020-02-22 09:35:39 +11:00
Peter Barker
2401afd496
AP_Periph: fix up firmware version includes
2020-01-28 11:34:51 +11:00
Andrew Tridgell
1734541eb7
AP_Periph: added enable mechanisms for all sensor types
2020-01-26 09:12:55 +11:00
Andrew Tridgell
2180a21441
AP_Periph: support HAL_SAFE_BUTTON_ON for polarity of safety button
2020-01-18 15:44:17 +11:00
Andrew Tridgell
cc5ccc28ec
AP_Periph: avoid baro calibration
...
not needed, and the delay can trigger watchdog
2020-01-18 15:44:17 +11:00
Andrew Tridgell
924e012fa7
AP_Periph: fixed thread safety of push_force
2020-01-10 19:43:36 +11:00
Andrew Tridgell
cebd8cf9db
AP_Periph: removed float random code
2020-01-07 12:37:35 +11:00
CUAVcaijie
39c87f473a
AP_Periph: add BARO_ENABLE option
2019-12-26 15:51:44 +11:00
Andrew Tridgell
d249f870b9
AP_Periph: added HARDPOINT_RATE
...
and send highest pwm from last sample
2019-12-20 16:50:48 +11:00
Andrew Tridgell
9ed2f1d5e2
AP_Periph: support a PWM -> UAVCAN Hardpoint adapter
...
capture PWM input and map onto a hardpoint command
2019-12-20 16:50:48 +11:00
Andrew Tridgell
e64682a834
AP_Periph: added ADSB_BAUDRATE parameter
2019-11-27 14:12:37 +11:00
Andrew Tridgell
c7b5a24047
AP_Periph: updated docs
2019-11-09 21:54:55 +11:00
Andrew Tridgell
a732f99ec4
AP_Periph: release version 1.0.0 stable
2019-11-09 20:53:16 +11:00
Andrew Tridgell
4e4a04f763
AP_Periph: added note on bootloader update
2019-11-09 20:45:15 +11:00
Andrew Tridgell
0362353087
AP_Periph: added gnss::Fix2 support
2019-11-09 17:11:32 +11:00
Andrew Tridgell
9843b6085d
AP_Periph: adjust buffer sizes
2019-11-09 17:11:32 +11:00
Andrew Tridgell
71b2315d78
AP_Periph: switch to callback based CAN receive
...
this is much more reliable
2019-11-09 17:11:32 +11:00
Andrew Tridgell
cc0f6451ab
AP_Periph: support RTCMStream for RTK injection
2019-11-09 17:11:32 +11:00
Peter Barker
c51eed1f2a
AP_Periph: use enum-class for RangeFinder Status
2019-11-09 08:01:53 +11:00
Andrew Tridgell
9ffc0f5a3a
AP_Periph: updated README
2019-11-07 15:49:38 +11:00
Andrew Tridgell
6e1866af38
AP_Periph: updated doc
2019-11-01 10:53:53 +11:00
Andrew Tridgell
2b92e70da7
AP_Periph: support STM32F303 builds
2019-11-01 10:53:53 +11:00
Andrew Tridgell
e159070dbc
AP_Periph: fixed typo
2019-10-29 15:22:35 +11:00
Andrew Tridgell
7a20410752
AP_Periph: updated docs
2019-10-29 09:36:47 +11:00
Andrew Tridgell
3884419153
AP_Periph: added RNGFND_BAUDRATE
...
allows control of rangefinder baudrate
2019-10-28 15:53:16 +11:00
Andrew Tridgell
092c20b3a7
AP_Periph: use flash app_descriptor
2019-10-28 15:53:16 +11:00
Andrew Tridgell
482e0d4787
AP_Periph: implement 30s mark of good firmware
2019-10-26 15:32:10 +11:00
Andrew Tridgell
dc6948f336
AP_Periph: added delay on bl flash
...
and expand can pool a bit
2019-10-25 21:36:55 +11:00
Andrew Tridgell
dba6d71fc6
AP_Periph: use new flash_bootloader() API
2019-10-25 21:36:55 +11:00
Andrew Tridgell
1352557ebb
AP_Periph: use ArduPilot version system
...
this will allow build_binaries to find the version
2019-10-25 13:52:43 +11:00
Andrew Tridgell
c08d37bd8f
Tools: fixed build with --out directory for build_binaries
2019-10-25 09:35:27 +11:00
Andrew Tridgell
46cb585af2
AP_Periph: use APJ_BOARD_ID in hw major/minor
2019-10-25 09:35:27 +11:00
Andrew Tridgell
0c00bb935a
AP_Periph: support updating bootloader with FLASH_BOOTLOADER option
2019-10-24 22:03:43 +11:00
Andrew Tridgell
c6a372bfdd
AP_Periph: fixed handling of 16 char param names
2019-10-24 22:03:43 +11:00
Andrew Tridgell
ad3b1eaaf0
AP_Periph: enable AP_ROMFS build
2019-10-24 22:03:43 +11:00
Andrew Tridgell
1c61ab165c
AP_Periph: support CAN app comms area
2019-10-21 19:12:01 +11:00
Andrew Tridgell
30195ea6b5
AP_Periph: added application descriptor
...
this is used by MissionPlanner to see if correct fw is already loaded
2019-10-21 19:12:01 +11:00
Andrew Tridgell
6a413babe0
AP_Periph: pat watchdog in param getset
2019-10-21 19:12:01 +11:00
Andrew Tridgell
e9af111b0c
AP_Periph: enable build of ZubaxGNSS
2019-10-21 19:12:01 +11:00
Andrew Tridgell
55b623d176
AP_Periph: support rangefinder CAN nodes
2019-10-21 19:12:01 +11:00
Andrew Tridgell
5b699fc65d
AP_Periph: fixed airspeed update rate
2019-10-21 19:12:01 +11:00
Andrew Tridgell
d0ff2089c4
AP_Periph: enable airspeed sensor
2019-10-21 19:12:01 +11:00
Andrew Tridgell
c75a7e425a
AP_Periph: support NCP5623 LEDs
2019-10-20 20:31:02 +11:00
Andrew Tridgell
5cda8b4a4f
Tools: updated AP_Periph CI and docs
...
target is now f103-GPS
2019-10-16 13:13:24 +11:00
Andrew Tridgell
47e75cc536
AP_Periph: support ADSB UAVCAN peripherals
...
generate TrafficReport UAVCAN packets from ADSB_VEHICLE MAVLink
messages from a Ping
2019-10-16 13:13:24 +11:00
Andrew Tridgell
1fb4818efc
AP_Periph: fixed build warning
2019-10-16 13:13:24 +11:00
Andrew Tridgell
6e676be6b3
AP_Periph: added LED_BRIGHTNESS param
...
default was too bright
2019-10-16 08:58:52 +11:00
Andrew Tridgell
5f8616dc76
AP_Periph: fixed scaling of LEDs
...
RGBLed packets sent as 5:6:5 bits
2019-10-10 10:41:19 +11:00
Peter Barker
e50d237f3e
AP_Periph: stop compiling in AP_Buffer
2019-09-24 09:36:33 +10:00
Andrew Tridgell
bc0b9337a0
AP_Periph: fixed vsnprintf return assumption
2019-09-12 08:43:31 +10:00
Andrew Tridgell
728e790873
AP_Periph: added README for AP_Periph development
2019-09-10 16:40:25 +10:00
Andrew Tridgell
42d72cfd66
AP_Periph: re-init LEDs at 1Hz
2019-09-10 16:40:03 +10:00
Andrew Tridgell
dec72302f2
AP_Periph: added a rainbow pattern on startup of CUAV_GPS
2019-09-10 16:22:33 +10:00
Andrew Tridgell
8a689b2cd1
AP_Periph: support neopixel LEDs on CAN GPS
2019-09-10 16:22:33 +10:00
Andrew Tridgell
5ee66ab6a8
AP_Periph: added BUZZER_VOLUME parameter
2019-09-10 16:22:33 +10:00
Andrew Tridgell
01fc8dcb3c
AP_Periph: support safety button
2019-09-10 16:22:33 +10:00
Andrew Tridgell
0b6ef89498
AP_Periph: support SafetyState for safety LED
2019-09-10 16:22:33 +10:00
Andrew Tridgell
a469b93d23
AP_Periph: support UAVCAN buzzers
...
using BeepCommand
2019-09-10 16:22:33 +10:00
Phillip Kocmoud
1dc57c84c4
AP_Periph : CAN
...
Remove 100 times message counter to improve magnetometer performance.
Tested and uavcan.equipment.ahrs.MagneticFieldStrength improves from 7msgs/sec to 75msgs/sec which is likely the output rate of the actual sensor.
2019-08-29 18:01:22 +10:00
Andrew Tridgell
d57ba14020
AP_Periph: added peripheral firmware
2019-08-27 10:29:56 +10:00