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.
8 years ago
Andrew Tridgell
25f1dbd8c2
HAL_SITL: allowed SITL to reopen uart connections
9 years ago
Murilo Belluzzo
077e03678f
Global: Adapt Stream class to be used with Ringbuffer
9 years ago
Andrew Tridgell
635a975486
HAL_SITL: use a smaller buffer for real SITL UARTs
...
better emulation of real hw
9 years ago
Lucas De Marchi
bcdc3336de
AP_HAL_SITL: replace header guard with pragma once
9 years ago
Andrew Tridgell
655f57ad01
HAL_SITL: cleanup class names
...
remove SITL prefix
9 years ago
Andrew Tridgell
492c733750
HAL_SITL: added RingBuffers to UART driver
...
makes for faster log download
9 years ago
Andrew Tridgell
6c064ae8bd
HAL_SITL: flow control is enabled on SITL
...
faster parameter download
9 years ago
Andrew Tridgell
a5a1680fb3
HAL_SITL: added support for real UART devices
...
This allows use of real UART devices in the simulator. Useful for GPS
driver work or other MAVLink peripherals
9 years ago
Gustavo Jose de Sousa
27b9d71e2c
AP_HAL_SITL: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago
Andrew Tridgell
8ec98a5ec9
SITL: make it possible to connect two SITL instances together
...
this adds --client to set uartC as a tcp client rather than a TCP
server
10 years ago
Andrew Tridgell
c81ad1d622
HAL_SITL: reformat HAL_SITL with astyle
10 years ago
Andrew Tridgell
40e3b422b5
HAL_SITL: rename HAL_AVR_SITL to HAL_SITL
...
it is nothing to do with the original AVR emulation now
10 years ago
Andrew Tridgell
c035eef845
HAL_SITL: implement a dummy buffered write
12 years ago
Andrew Tridgell
dbb70fc57c
AP_HAL_AVR_SITL: implement betterstream functions in AP_HAL
...
this gives more consistancy between ports
12 years ago
Andrew Tridgell
76092eb590
AP_HAL: remove unused peek() interface from UART drivers
...
this is a bit tricky to implement on some platforms, and is unused
anyway
12 years ago
Pat Hickey
823efc4734
AP_HAL_AVR_SITL: implement BetterStream's vprintf methods
12 years ago
Andrew Tridgell
7be507948f
SITL: added SITL_State::loop_hook()
...
this prevents us using so much CPU time, and ensures stdout is flushed
12 years ago
Andrew Tridgell
5f7f6966af
SITL: fixed GPS and UART startup
12 years ago
Andrew Tridgell
8916b280fd
SITL: filled in more of the HAL SITL backend
12 years ago
Andrew Tridgell
d42cbb791f
HAL_SITL: start filling in more of SITL framework
12 years ago