Andrew Tridgell
def6e014cf
HAL_SITL: removed old optflow simulation
8 years ago
Pierre Kancir
84aaca7c6e
SITL: add missing break
8 years ago
Pierre Kancir
86c8145bd9
SITL: Change Flighgear port with instance number
8 years ago
Pierre Kancir
c4b5bd4bd9
SITL: revert fg view to activate by default and use flag to disable it
8 years ago
Pierre Kancir
e2b939df39
SITL: rename simin to rcin for better readability
8 years ago
Pierre Kancir
59c84c637e
SITL: make fg view optional
8 years ago
Lucas De Marchi
f6d475c1e6
AP_HAL_SITL: add O_CLOEXEC in places missing it
...
By opening with O_CLOEXEC we make sure we don't leak the file descriptor
when we are exec'ing or calling out subprograms. Right now we currently
don't do it so there's no harm, but it's good practice in Linux to have
it.
8 years ago
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
priseborough
747f3a8cfd
AP_HAL_SITL: Simulate range finder position offset
8 years ago
priseborough
a9f63abc6f
AP_HAL_SITL: simulate effect of GPS antenna offset
8 years ago
priseborough
3afe2b1694
AP_HAL_SITL: simulate optical flow sensor body frame position offset
8 years ago
Peter Barker
dd7d41b1f3
SITL: unhide groups when generating parameters in autotest
8 years ago
Andrew Tridgell
d2287caf1c
HAL_SITL: removed old servo slew rate code
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
97d0553938
HAL_SITL: implement cork() on RCOutput
8 years ago
Michael Oborne
11c376588d
AP_GPS_NOVA: support tersus/novatel/comnav gps
9 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
Peter Barker
9749b91d46
SITL: initialise sigaction structs - valgrind fix
9 years ago
Lucas De Marchi
d418338e22
AP_HAL_SITL: remove I2CDriver
...
I2CDevice now serves for the same purpose.
9 years ago
Staroselskii Georgii
d69aeb4808
AP_HAL_SITL: use sigaction over signal API in SITL_State
9 years ago
Andrew Tridgell
d7faeada87
HAL_SITL: notify GCS on GPIO changes
...
useful for testing relays in SITL
9 years ago
Andrew Tridgell
5b081a704c
HAL_SITL: added GPIO simulation
...
using SIM_PIN_MASK
9 years ago
Tom Pittenger
acaf0c6a5d
SITL: LPF the SIM_WIND_DIR and SIM_WIND_SPD values to eliminate step inputs
9 years ago
Siddharth Bharat Purohit
d65f453da1
AP_HAL_SITL:use common fenv function
9 years ago
Andrew Tridgell
fc9283964a
HAL_SITL: fixed segv on cygwin
9 years ago
Peter Barker
309ac53806
SITL: correct adsb initialisation
...
Parameters have not yet been initialised in _sitl_setup, so move
should-run checks into update
9 years ago
Andrew Tridgell
acc76f80b0
HAL_SITL: added xplane support
9 years ago
Paul Riseborough
2cf5493b40
AP_HAL_SITL: Ensure simulated magnetic field is always used
9 years ago
Tom Pittenger
1770f314ac
SITL: change SIM_ADSB default to -1 to default disabled to leave telem port available
9 years ago
Tom Pittenger
52fcc36249
AP_HAL_SITL: remove -A --adsb argument, feature is now always enabled controlled by param
9 years ago
Tom Pittenger
f2b5f5f4a5
AP_HAL_SITL: adsb is always enabled in the sim, controlled by param SIM_ADSB_COUNT
9 years ago
Andrew Tridgell
0166ab2038
HAL_SITL: check for SIM_RC_FAIL
9 years ago
Tom Pittenger
5df2e57209
AP_HAL_SITL: do not compile terrain class when terrain is not disabled via compile flag
9 years ago
Andrew Tridgell
04f87a452e
HAL_SITL: fixed tcp client mode
9 years ago
Andrew Tridgell
969b6ebea9
HAL_SITL: support coaxcopter in SITL
9 years ago
Andrew Tridgell
a80e233836
HAL_SITL: added SingleCopter
9 years ago
Andrew Tridgell
635a975486
HAL_SITL: use a smaller buffer for real SITL UARTs
...
better emulation of real hw
9 years ago
Tom Pittenger
ad11f3815b
AP_HAL_SITL: rename aspd variables to arspd
9 years ago
Gustavo Jose de Sousa
2246343ec7
AP_HAL_SITL: pass signed value to abs()
...
Passing an unsigned value to abs() causes compilation error in gcc 6.1.1
(and doing that doesn't make sense too).
As a bonus, this patch fixes the code, since, for two unsigned integers
a and b, such that a > b, (a - b) without the casting to a signed
integer would produce garbage in the context of this patch. The type
int32_t is enough for the cases covered by this patch.
9 years ago
Peter Barker
8d5ceda534
AP_HAL_SITL: ensure specified SITL model is found
...
Without this check we get a null pointer exception the first time we attempt
to use the model object
9 years ago
Andrew Tridgell
c6620b03b4
HAL_SITL: added --rtscts option to SITL
...
useful for radio testing
9 years ago
Ricardo de Almeida Gonzaga
91e9dd10ba
AP_HAL_SITL: Fix typos
9 years ago
dgrat
41661f815f
AP_Math: Replace the pythagorous* functions with a variadic template
...
The new function can deal with a variable number of function parameters.
Additionally, I renamed the functions to norm(), because this is the
standard name used in several other projects.
9 years ago
Gustavo Jose de Sousa
8c4c9ccfa6
AP_HAL_SITL: add calibration model
9 years ago
Andrew Tridgell
4318fd0ab8
HAL_SITL: update for changed API
9 years ago
Andrew Tridgell
2718b0649b
HAL_SITL: fixed GPS rate in SITL when speedup used
9 years ago
Andrew Tridgell
9081310ff1
HAL_SITL: support simulator RC input
9 years ago
Randy Mackay
3d646a26e2
AP_HAL_SITL: calls to terrain:height_amsl provide extrapolate and corrected params
9 years ago
Andrew Tridgell
46f368f17d
HAL_SITL: support fireflyy6 as quadplane
9 years ago