Lucas De Marchi
7d9c75478f
AP_HAL_SITL: remove unused write method
9 years ago
Lucas De Marchi
0ed7f94bfc
AP_HAL_SITL: use method for downcast
...
Instead of just doing a static cast to the desired class, use a method
named "from". Pros:
- When we have data shared on the parent class, the code is cleaner in
child class when it needs to access this data. Almost all the data
we use in AP_HAL benefits from this
- There's a minimal type checking because now we are using a method
that can only receive the type of the parent class
10 years ago
Michael Oborne
b861233677
AP_HAL_SITL: add file based gps
10 years ago
Lucas De Marchi
ffa37e6de2
AP_HAL_SITL: standardize inclusion of libaries headers
...
Do the missing header changes due to changing the code before the pr
getting accepted.
10 years ago
Fredrik Hedberg
e2027a8414
SITL: Add HELI_DUAL_FRAME and HELI_COMPOUND_FRAME.
10 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
Michael du Breuil
c8c34f54cc
AP_HAL_SITL: Add hdop to ublox sitl sim (as well as vdop to be reported)
10 years ago
Tom Pittenger
d51e6d466b
AP_HAL_SITL: add support for airspeed failures
10 years ago
Lucas De Marchi
473415a3c2
AP_HAL_SITL: use ARRAY_SIZE macro
10 years ago
John Hsu
c34ddb7fb8
HAL_SITL: added gazebo SITL model support
10 years ago
Randy Mackay
2b4aaf2368
SITL: add vibe monitor and SIM_ACC2_RND to sitl
10 years ago
Julien BERAUD
7275e33e79
AP_HAL: add the possibility to have more than 1 i2c
...
Bebop drone has 3 i2c
10 years ago
Andrew Tridgell
88a90495b2
HAL_SITL: allow for more data before GPS pipe flush
10 years ago
tcr3dr
9d26bc6958
HAL_SITL: Adds polyfill for feenableexcept on OS X.
10 years ago
Andrew Tridgell
15efae5a48
HAL_SITL: use SITL_NUM_CHANNELS
10 years ago
Andrew Tridgell
92c9779d18
HAL_SITL: pass turbulence to simulators
10 years ago
Andrew Tridgell
a81590f7ac
HAL_SITL: prevent FPE on zero range with optflow
10 years ago
Andrew Tridgell
4677c189e0
HAL_SITL: support balloon model
10 years ago
Andrew Tridgell
c44ab01be8
AP_HAL: use noreturn attribute on panic
...
should reduce coverity warnings
10 years ago
Andrew Tridgell
d57eca9de8
HAL_SITL: enable simulated antenna tracker
10 years ago
Andrew Tridgell
249b339e6c
HAL_SITL: fixed a build warning
10 years ago
Lucas De Marchi
acdcdc35fa
AP_HAL_SITL: Do not compare delegate to NULL
...
Use the simpler "if (delegate_name)" since it allows simpler
implementation in the class, i.e. the bool operator rather than having
to compare to another object.
10 years ago
Andrew Tridgell
3daee9c8bc
HAL_SITL: added --autotest-dir option
10 years ago
Andrew Tridgell
e7abc07898
HAL_SITL: enable --gimbal option
...
instantiates a MAVLink gimbal
10 years ago
Andrew Tridgell
8dce5e11d6
HAL_SITL: removed earth-frame rates
10 years ago
Andrew Tridgell
e7f3716e8c
HAL_SITL: pass in wind speed to C++ simulators
10 years ago
Andrew Tridgell
6cbd291dd2
HAL_SITL: make model name case insensitive
10 years ago
Andrew Tridgell
4e117bc90f
HAL_SITL: support last_letter simulator
10 years ago
Andrew Tridgell
cd66ce1c74
HAL_SITL: don't advance clock on garbage SIM input
10 years ago
Tom Pittenger
7b95241306
AP_HAL_SITL: float to double promotion via cos instead of cosf
10 years ago
Andrew Tridgell
3370ec62a1
HAL_SITL: fix for multi-compass SITL
10 years ago
Andrew Tridgell
2a47cc3c81
HAL_SITL: cleanup command line handling
10 years ago
Andrew Tridgell
5687adbdba
HAL_SITL: support JSBSim backend
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
Tom Pittenger
1c8efb25a8
AP_HAL_SITL: replace fabs() with fabsf()
10 years ago
Andrew Tridgell
6a8da06d19
HAL_SITL: hook in CRRCSim backend
10 years ago
Andrew Tridgell
c81ad1d622
HAL_SITL: reformat HAL_SITL with astyle
10 years ago
Andrew Tridgell
d8791134f9
HAL_SITL: need to use fabs() for double checking
10 years ago
Andrew Tridgell
b9abf30785
HAL_SITL: removed unused cygwin code
10 years ago
Andrew Tridgell
5158f91263
HAL_SITL: converted command line code to getopt_cpp
10 years ago
Andrew Tridgell
b2b5c8cd18
HAL_SITL: fixed some build warnings
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