Michael du Breuil
d5a5a97a3d
SITL: Use the GPS_LEAPSECOND define
8 years ago
Peter Barker
e9a0e98863
AP_HAL_SITL: use fabs on double values
8 years ago
Andrew Tridgell
117974ef0f
HAL_SITL: obey enable mask for output channels
8 years ago
Pierre Kancir
ab9e88299f
AP_HAL_SITL: Scheduler remove unreachable code & minor fix
...
usleep wasn't reached since synthetic clock is always used
correct style
make constructor explicit
use c++ cast
8 years ago
Pierre Kancir
63b3618fc7
AP_HAL_SITL: RCOuput minor fix
...
correct style
make constructor explicit
use c++ cast
8 years ago
Pierre Kancir
ff46964d22
AP_HAL_SITL: RCInput minor fix
...
fix style
make constructor explicit
remove unused _valid
correct read to return real length instead of fixed 8
correct implicit cast
8 years ago
Pierre Kancir
7f5b32f59f
AP_HAL_SITL: GPIO minor fixes
...
fix style
make constructor explicit
fix implicit cast for unsigned to signed value
correct DigitalSource constructor definition
8 years ago
Pierre Kancir
8ade9d1fe8
AP_HAL_SITL: style fixes
8 years ago
Pierre Kancir
5b2b4430b3
AP_HAL_SITL: AnalogIn minor fixes
...
change pin to int16_t to match real implementation and prevent casting.
make constructor explicit
8 years ago
Pierre Kancir
f9c8827809
SITL: Scheduler correct misplaced parenthese && switch to do while loop
8 years ago
Andrew Tridgell
7ba957b946
HAL_SITL: flush stdout on panic
8 years ago
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