Commit Graph

84 Commits

Author SHA1 Message Date
Andrew Tridgell 04c12c088d AP_SerialManager: don't show parameters for serial ports that don't exist
saves a bit of user confusion
2020-02-05 10:51:29 +11:00
Andrew Tridgell e9f60ede1b 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-10 19:12:10 +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