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.
8 years ago
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
fc9283964a
HAL_SITL: fixed segv on cygwin
9 years ago
Andrew Tridgell
04f87a452e
HAL_SITL: fixed tcp client mode
9 years ago
Andrew Tridgell
635a975486
HAL_SITL: use a smaller buffer for real SITL UARTs
...
better emulation of real hw
9 years ago
Andrew Tridgell
c6620b03b4
HAL_SITL: added --rtscts option to SITL
...
useful for radio testing
9 years ago
Andrew Tridgell
cb60384dc4
AP_HAL_SITL: allow auto-baudrate detection in GPS driver in SITL
...
this is useful when testing a real GPS in SITL
9 years ago
Andrew Tridgell
097c2011e1
HAL_SITL: prevent abort on select with -1 fd
9 years ago
Andrew Tridgell
deb0b9c197
HAL_SITL: read in larger chunks
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
Caio Marcelo de Oliveira Filho
85d12efbef
AP_HAL_SITL: use millis/micros/panic functions
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
Michael Oborne
c26f2c9b1c
SITL: add missing include 'select'
10 years ago
Andrew Tridgell
0115b9fa07
HAL_SITL: support a 2nd GPS
11 years ago
John Boiles
d8cdb57efa
HAL_SITL: Attempting to avoid SIGPIPE on all platforms
11 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
bb44fa4385
AP_HAL_AVR_SITL: convert to new AP_HAL printf
12 years ago
Andrew Tridgell
97b7130bb9
libraries: update license header to GPLv3
...
we switched to GPLv3 a long time ago, but neglected to update the
per-file license headers
12 years ago
Andrew Tridgell
33cbe6151a
SITL: support multiple instances of SITL running at once
12 years ago
John Boiles
bb2a6b8a22
HAL_SITL: Fixing SITL build for OSX.
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
Andrew Tridgell
4c4b6afaff
HAL_AVR_SITL: fixed log dump
...
the sockets need to default blocking, and only be non-blocking per
call
fixes issue #9
12 years ago
Pat Hickey
823efc4734
AP_HAL_AVR_SITL: implement BetterStream's vprintf methods
12 years ago
Andrew Tridgell
472b45bc2a
SITL: fixed use of local printf() method in UART driver
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