Commit Graph

176 Commits

Author SHA1 Message Date
Peter Hall d0fc5210c8 AP_SerialManager: add AIS 2021-08-10 08:11:18 +09:00
Hwurzburg 8ec4b77cd7 AP_SerialManager: relabel protocol 29 to avoid confusion with CRSF RC 2021-07-26 14:40:43 +09:00
Andrew Tridgell 8430f48375 AP_SerialManager: document DisableFIFO bit 2021-07-15 11:31:55 +10:00
Andrew Tridgell e517a47f9b AP_SerialManager: call set_options() before first UART use
this ensures options are set before the first begin() call
2021-07-15 11:31:55 +10:00
Randy Mackay 7e68ce5c86 AP_SerialManager: add torqeedo to list of supported protocols
note that serial7_protocol and serial8_protocol param lists were missing 37:SmartAudio so this was also added
2021-07-13 10:01:14 +09:00
James Harton be3cc1b679 Docs: Change all references from dev.ardupilot.org to the appropriate documentation URLs. 2021-05-31 12:20:45 +10:00
Andy Piper ef8b6efd89 AP_SerialManager: add SmartAudio to docs 2021-05-11 10:29:15 +10:00
Andy Piper 2d0fe8b883 AP_SerialManager: add support for the SmartAudio protocol
Co-authored-by: luis.martinez.exts <luis.martinez@juntadeandalucia.es>
2021-02-17 18:23:33 +11:00
Andrew Tridgell 0f08236e7c AP_SerialManager: added serial AHRS type 2021-01-05 21:13:12 +11:00
Andrew Tridgell ae4d152d51 AP_SerialManager: added find_portnum() API
used for allocating device IDs
2021-01-05 21:13:12 +11:00
Tom Pittenger ffd3d1da1d AP_SerialManager: add support for ADSB protocol 2020-12-30 17:56:38 -08:00
Tom Pittenger e3e876d4ed AP_SerialManager: clear default protocols for AP_Periph 2020-12-25 16:24:50 -07:00
Andrew Tridgell 5406699ec8 AP_SerialManager: removed unnecessary uart pointer in state structure 2020-12-15 10:32:46 +11:00
Andrew Tridgell 23e629715e AP_SerialManager: convert to using hal.serial() instead of hal.uartX 2020-12-15 10:32:46 +11:00
Andrew Tridgell af0ee82ff1 AP_SerialManager: support uartI, allowing a total of 9 uarts
this allows for OTG2 on the MatekH743 board, which makes SLCAN much
easier
2020-11-30 14:09:31 +11:00
Andrew Tridgell d0db3eef58 AP_SerialManager: added baudrates to get_passthru() 2020-11-17 10:26:14 +11:00
Iampete1 9884c2c2ce AP_SerialManager: add airspeed type 2020-10-27 11:24:49 +11:00
Tom Pittenger 899cc9ef5d Revert "AP_SerialManager: add support for Sagetech protocol"
This reverts commit b74c22864d.
2020-10-07 19:11:38 +11:00
Tom Pittenger b74c22864d AP_SerialManager: add support for Sagetech protocol 2020-09-15 13:09:50 -07:00
Andy Piper 13676f9784 AP_SerialManager: add number of serial protocols to enum 2020-09-09 20:36:42 +10:00
Andrew Tridgell 815f813d34 AP_SerialManager: allow for other baudrates for MSP 2020-09-07 11:59:20 +10:00
yaapu 234ed303fe AP_SerialManager: added support for the MSP protocol 2020-09-02 05:56:46 +10:00
Michael du Breuil 6027553b85 AP_SerialManager: Add missing baud rate documentation 2020-09-01 10:42:30 +10:00
Randy Mackay 36b25973d9 AP_SerialManager: add winch protocol to enum and param desc 2020-08-07 21:55:07 +09:00
Peter Barker 6961f42685 AP_SerialManager: document new don't-forward-mavlink bit 2020-08-07 22:16:46 +10:00
Peter Barker 2f36336627 AP_SerialManager: add CrossFire and Generator to serial protocol descriptions 2020-08-05 16:26:19 +09:00
Michael du Breuil 2cdaf421d8 AP_SerialManager: Add a helper to report if a serial link should have it's MAVLink data forwarded 2020-07-22 07:17:49 +10:00
Andy Piper d9f11c1a0a AP_SerialManager: add CRSF support and CRSF protcol 2020-07-07 18:48:06 +10:00
Peter Barker 3001812630 AP_SerialManager: add support for RichenPower generator 2020-07-03 08:21:42 +09:00
Randy Mackay 211c20da38 AP_SerialManager: default serial 1 and 2 protocols to MAVLink2 2020-06-30 09:42:49 +10:00
murata c6f12e519b AP_SerialManager: Add a description 2020-02-26 12:18:40 +11:00
Andrew Tridgell 6790df67a1 AP_SerialManager: added Hott telemetry 2020-01-16 20:36:54 +11:00
Michael du Breuil f0a50c51f6 AP_SerialManager: Add scripting ports 2020-01-13 20:06:31 -07:00
Andrew Tridgell da2f60ae95 AP_SerialManager: ensure users can't break SERIAL0_PROTOCOL
this prevents users from setting SERIAL0_PROTOCOL to something that
prevents them accessing the board. This can happen when users are
trying to setup SLCAN
2020-01-08 20:55:25 +11:00
Andrew Tridgell 22f8221427 AP_SerialManager: implement new UART option bits 2020-01-03 17:32:23 +11:00
Andrew Tridgell 2afac6ea13 AP_SerialManager: added runcam to available serial protocols 2019-12-30 13:02:04 +11:00
Andy Piper c9b96a5e79 AP_SerialManager: add support RunCam serial protocol 2019-12-30 13:02:04 +11:00
Peter Barker 5767fd8e12 AP_SerialManager: use https:// scheme for ardupilot URLs 2019-12-10 07:53:46 +11:00
Andrew Tridgell 5ae24a7aac AP_SerialManager: expose map_baudrate() 2019-11-27 14:12:37 +11:00
Marian Soban bea1502af9 AP_SerialManager: LTM telemetry support 2019-11-26 12:14:13 +11:00
Andrew Tridgell c733e1b1a2 AP_SerialManager: fixed GPS in AP_Periph
we need to have at least 4 SERIALn_* parameters to support GPS on
AP_Periph due to the odd ordering of hal.uartB as SERIAL3
2019-11-20 20:41:40 +11:00
Andrew Tridgell fb84da3415 AP_SerialManager: don't show parameters for serial ports that don't exist
saves a bit of user confusion
2019-11-19 07:13:20 +08:00
Andrew Tridgell 9799302225 AP_SerialManager: Add EFI_MS Protocol option 2019-11-17 20:10:54 +11:00
Andrew Tridgell 2708c99bfb AP_SerialManager: added set_protocol_and_baud()
used by AP_Periph for rangefinders
2019-10-28 15:53:16 +11:00
Andrew Tridgell 4b48e80c26 AP_SerialManager: fixed AP_Periph build 2019-09-06 08:51:45 +10:00
Andrew Tridgell cbdb23afb5 AP_SerialManager: support SERIALn_PROTOCOL=23 for RC input
sets up an extra RC input port
2019-09-06 08:51:45 +10:00
Andrew Tridgell 4ff008b803 AP_SerialManager: added uartH support 2019-07-12 17:01:21 +10:00
Siddharth Purohit 7f297a43dc SerialManager: add support for SLCAN protocol as parameter 2019-07-12 17:01:21 +10:00
Peter Hall fe38413ddc AP_SerialManger: add windvane serial type 2019-06-03 10:48:19 +09:00
Francisco Ferreira e06556a677 AP_SerialManager: support NMEA output 2019-05-21 09:41:15 +10:00
Pierre Kancir 231e684d96 AP_SerialManager: fix includes place and order 2019-03-26 10:27:54 +11:00
Tom Pittenger add2130e07 AP_SerialManager: unify singleton naming to _singleton and get_singleton() 2019-02-10 19:09:58 -07:00
Siddharth Purohit 3a46fb59e5 AP_SerialManager: add support for fetching serial port by id 2019-01-23 15:57:05 +11:00
Peter Barker cd2182453a AP_SerialManager: remove PX4 code bracketed by defines which will never be set
Also update a comment
2019-01-19 18:17:48 +11:00
Peter Barker d3671d9ca3 AP_SerialManager: update description of BAUD parameters 2019-01-19 18:17:48 +11:00
murata 2e1e99eafc AP_SerialManager: Added 256000 baud rate to display 2019-01-09 07:54:04 +11:00
Andrew Tridgell 5f9de3cf15 AP_SerialManager: fixed param docs
thanks Tom!
2018-12-29 15:58:22 +11:00
Andrew Tridgell b88c08f5a1 AP_SerialManager: added serial passthru support
this allows for pass-thru between two serial ports, allowing for the
use of serial config tools
2018-12-29 15:58:22 +11:00
Andrew Tridgell 28970ed176 AP_SerialManager: added RobotisServo protocol support 2018-12-22 08:13:14 +11:00
Randy Mackay 67be002cca AP_SerialManager: add optical flow to list of protocols 2018-11-28 20:38:58 +09:00
Andrew Tridgell 14cd9f11e8 AP_SerialManager: document Swap option for UARTs 2018-11-20 18:26:42 +11:00
Andrew Tridgell cfb401995f AP_SerialManager: allow override of SERIAL2_PROTOCOL 2018-11-18 21:37:56 +11:00
Andrew Tridgell 20b2d05dfd AP_SerialManager: added docs for HalfDuplex option 2018-11-14 19:05:09 +11:00
Andrew Tridgell ac3b0a98ab AP_SerialManager: added options for each uart
used to control inversion of uarts
2018-11-14 19:05:09 +11:00
Andrew Tridgell 75c5fda222 AP_SerialManager: make console do mavlink2 by default
this is low impact as it doesn't affect radios that may not do mavlink2
2018-07-18 16:21:02 +10:00
Andrew Tridgell 5929b5fc33 AP_SerialManager: fixed find_baudrate to return mapped baudrate 2018-07-09 15:41:48 +10:00
Peter Barker 37145253d9 AP_SerialManager: remove set_console_baud, factor out find_protocol_instance 2018-07-06 09:36:19 +10:00
Andrew Tridgell 759121f0d0 AP_SerialManager: support uartG 2018-06-29 08:17:38 +10:00
night-ghost 09b5cc382b AP_SerialManager: devo telemetry support (RX705/707) 2018-04-24 10:44:28 +10:00
Andrew Tridgell 71eb9bac03 AP_SerialManager: added ESC telemetry protocol support 2018-04-07 09:10:29 +10:00
Francisco Ferreira 0340188a8f AP_SerialManager: rename Lidar to Rangefinder 2018-02-28 08:04:16 +09:00
Francisco Ferreira 972264637c AP_SerialManager: remove special uLanding protocol type
Old protocol will be changed to Lidar on library init
2018-02-28 08:04:16 +09:00
Andrew Tridgell fca0ad4f85 AP_SerialManager: allow hwdef.dat setup of serial5 config 2018-02-07 20:33:45 +11:00
Andrew Tridgell 2513e60e3c AP_SerialManager: use unbuffered writes for volz 2018-02-07 20:33:45 +11:00
Mark Whitehorn 1a167a7d1f AP_SerialManager: disable flow control for sbus1 port 2018-02-07 20:33:45 +11:00
Peter Barker b3f5e807a6 AP_SerialManager: add AP::serialmanager() 2017-12-21 04:35:11 +00:00
Mark Whitehorn f57eab3482 AP_SerialManager: add Volz and Sbus protocols to param metadata 2017-12-14 19:27:02 +00:00
Andrew Tridgell dd489a0797 AP_SerialManager: removed create() method for objects
See discussion here:

  https://github.com/ArduPilot/ardupilot/issues/7331

we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach

Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Mark Whitehorn 3587d7f253 AP_SerialManager: add SBUS1 serial output support 2017-11-30 10:20:04 +11:00
Guy Tzoler 2442f3fb06 AP_SerialManager: adding Volz Support
and make AP_SerialManager a singleton
2017-11-21 14:10:54 +11:00
Lucas De Marchi 04866e9f76 AP_SerialManager: add static create method 2017-09-26 03:01:21 +01:00
Dr.-Ing. Amilcar Do Carmo Lucas 882c4f4052 AP_SerialMananger: add RP-Lidar A2 2017-09-18 08:28:09 +09:00
Andrew Tridgell 29fe432dd7 AP_SerialManager: enable debug console use for other protocols
this allows SERIAL5_PROTOCOL to be set on FMUv2 and FMUv3 for use by
other protocols
2017-08-28 17:57:28 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas bf4a505494 AP_SerialMananger: Add missing @RebootRequired: True 2017-05-27 01:55:55 +01:00
karthik.desai 8f7b9323d2 AP_SerialManager: Rename Pozyx Beacon to Beacon 2017-05-16 14:46:05 +09:00
Lucas De Marchi a682bb837a AP_SerialManager: uartA with 460800 baud for aerofc 2017-03-24 12:06:19 +11:00
Luis Rodrigues bf51d5a3c9 AP_SerialManager: add comment that Lidar360 protocol covers TerraRanger 2017-02-03 14:27:54 +09:00
Randy Mackay c4aa37525e SerialManager: add beacon to list of protocols 2016-11-30 17:56:35 +09:00
davidaroyer faa534cf64 AP_SerialManager: Add support for Aerotenna uLanding radar altimeter 2016-11-21 11:07:41 +09:00
murata c808ee2f49 Global: To nullptr from NULL.
RC_Channel: To nullptr from NULL.

AC_Fence: To nullptr from NULL.

AC_Avoidance: To nullptr from NULL.

AC_PrecLand: To nullptr from NULL.

DataFlash: To nullptr from NULL.

SITL: To nullptr from NULL.

GCS_MAVLink: To nullptr from NULL.

DataFlash: To nullptr from NULL.

AP_Compass: To nullptr from NULL.

Global: To nullptr from NULL.

Global: To nullptr from NULL.
2016-11-02 16:04:47 -02:00
Peter Barker dee3bdbae9 AP_SerialManager: correct parameter metadata 2016-10-27 09:15:03 -07:00
Mathieu OTHACEHE 152edf7189 Global: remove mode line from headers
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
2016-10-24 09:42:01 -02:00
Andrew Tridgell d2e4b73eda Revert "GCS_MAVLink: default to MAVLink2 enabled"
Reverting change to MAVLink2 by default until SiK radio firmware issue
with ECC is sorted out
2016-10-21 07:55:02 +11:00
Randy Mackay cc0bfcddcb AP_SerialManager: add Lidar360 to protocol list
This is used for the proximity sensor
2016-10-13 20:21:07 +09:00
Andrew Tridgell c64a020384 GCS_MAVLink: default to MAVLink2 enabled
this changes the default to enable MAVLink2 on USB and the primary
telemetry port. Note that unless signing is enabled it won't send a
MAVLink2 packet until the GCS sends a MAVLink2 packet
2016-10-12 11:35:50 +11:00
floaledm 50eecf58a4 AP_SerialManager: added SPort passthrough protocol 2016-08-25 10:16:18 +10:00
floaledm 5066a5bc73 AP_SerialManager: syntax and minor lib rework 2016-08-25 10:16:17 +10:00
Andrew Tridgell 78e9ef427e AP_SerialManager: remove special case for console
and add get_mavlink_protocol() to allow selection of correct mavlink
protocol behaviour
2016-05-21 15:25:17 +10:00
Andrew Tridgell 826cb0887a AP_SerialManager: changed default for SERIAL4_PROTOCOL to 5
this makes it a documented protocol number. No functionality change
2016-05-05 08:08:30 +10:00
Luis Vale Gonçalves 0d9ea7597c Revising ardupilot.com to .org
Revising ardupilot.com to .org
2016-04-23 22:49:38 -07:00