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
b4cc3d9668
HAL_SITL: implement get_custom_defaults_file()
9 years ago
Andrew Tridgell
1450f33b51
HAL_SITL: support 16 RC input channels in SITL
9 years ago
Andrew Tridgell
83c8505b3c
HAL_SITL: send state to flightgear viewer
9 years ago
Tom Pittenger
bb4f0783ad
AP_HAL_SITL: created ADS-B simulator to generate additional ghost aircraft within SITL
...
- The values are very aggressive, you'll come into contact with another aircraft very soon
- Credit goes to Tridge for this work
- This also allows hardware attached via UART to feed real aircraft into the simulator
This feature is enabled with the following command:
sim_vehicle -A --adsb
9 years ago
Andrew Tridgell
95ca0b39a8
HAL_SITL: moved virtual INS sensor to AP_InertialSensor_SITL
9 years ago
Andrew Tridgell
2675edcb96
HAL_SITL: removed unused variables
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
10 years ago
Caio Marcelo de Oliveira Filho
49a42dc985
SITL: use a SITL namespace
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
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
15efae5a48
HAL_SITL: use SITL_NUM_CHANNELS
10 years ago
Andrew Tridgell
e7abc07898
HAL_SITL: enable --gimbal option
...
instantiates a MAVLink gimbal
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
Andrew Tridgell
c81ad1d622
HAL_SITL: reformat HAL_SITL with astyle
10 years ago
Andrew Tridgell
5158f91263
HAL_SITL: converted command line code to getopt_cpp
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
24fc1d8ebf
HAL_SITL: added -F option for FDM address
10 years ago
Andrew Tridgell
a6f41b3ca6
HAL_SITL: removed the need for the FDM thread
...
this also removes the need for the barriers
10 years ago
Andrew Tridgell
ab2d4349b4
HAL_SITL: initial support for internal simulators
10 years ago
Fergus Noble
0480867de2
SITL: Update SBP simulation functions for pseudo-absolute mode
10 years ago
Andrew Tridgell
a4bad1c703
HAL_SITL: use SIM_MAG_OFS in SITL compass
10 years ago
Sean O\'Brien
bfba8870e2
AP_HAL_AVR_SITL: added sensor delays to sitl.
10 years ago
Andrew Tridgell
9748cb1e3e
HAL_SITL: use a synthetic clock when possible
...
this decouples wall clock time from simulation time if the FDM
supports it
10 years ago
Vic
033bd243d6
SITL: Changes in compass for SITL
10 years ago
Andrew Tridgell
8a3d3bed72
SITL: changes for new AP_Baro API
10 years ago
Andrew Tridgell
f13248e5f5
SITL: implement SIM_TERRAIN
...
either use AP_Terrain or flat earth
10 years ago
Andrew Tridgell
d2634a26bd
SITL: added framework for SITL optical flow sensor
10 years ago
Andrew Tridgell
22237f2530
HAL_SITL: fixed handling of SIM_FLOAT_EXCEPT in main thread
10 years ago
Andrew Tridgell
0ce5c99c26
SITL: update for new AP_InertialSensor API
11 years ago
Jonathan Challinger
e883b889b6
SITL: Add compassmot interference
11 years ago
Andrew Tridgell
8b9b4026f0
SITL: support -P option
...
this allows changing a parameter on initial startup
11 years ago
Niels Joubert
e32b73f075
AP_HAL_AVR_SITL: Adding Swift Binary Protocol stand-alone simulator
11 years ago
Andrew Tridgell
6eee2421cc
AP_HAL: removed RCInput valid_channels() and added new_input() and num_channels()
...
the valid_channels() method was inconsistently implemented between
boards, and served two quite different purposes. It is clearer as two
functions
11 years ago
Andrew Tridgell
0115b9fa07
HAL_SITL: support a 2nd GPS
11 years ago
Andrew Tridgell
b075f8735f
SITL: moved airspeed pin to pin 1
...
keep it separate from the sonar, allowing both to be used at the same time
11 years ago
Ben Nizette
70d37d2cf6
SITL: Wire in basic support for SITL downward-looking sonar sensors
11 years ago
Andrew Tridgell
c7df0eaf2a
SITL: added battery voltage and current
...
assume 3DR brick
12 years ago
Andrew Tridgell
350af4d92f
HAL_AVR_SITL: updates for InertialSensor
12 years ago
Andrew Tridgell
e85d275fe5
SITL: added SIM_SERVO_RATE parameter
...
this allows a slew rate for servos to be specified in degrees/second
12 years ago
Andrew Tridgell
33cbe6151a
SITL: support multiple instances of SITL running at once
12 years ago
Andrew Tridgell
e75c48c029
SITL: added simulated NMEA GPS
...
useful for validating the NMEA GPS driver
12 years ago
Andrew Tridgell
811c2ccc11
libraries: fixes for AP_Baro_HIL
12 years ago
Andrew Tridgell
a09c53a3ea
SITL: use new HIL compass API
12 years ago
Andrew Tridgell
0ffc7dab6b
SITL: added GPS speed down to SITL state
12 years ago
Andrew Tridgell
fb4e68f0f0
SITL: added SIM_GPS_BYTELOSS option
...
this allows testing of protocol recovery after losing bytes on the GPS
serial link
12 years ago