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
92c9779d18
HAL_SITL: pass turbulence to simulators
10 years ago
Andrew Tridgell
e7abc07898
HAL_SITL: enable --gimbal option
...
instantiates a MAVLink gimbal
10 years ago
Andrew Tridgell
e7f3716e8c
HAL_SITL: pass in wind speed to C++ simulators
10 years ago
Andrew Tridgell
cd66ce1c74
HAL_SITL: don't advance clock on garbage SIM input
10 years ago
Andrew Tridgell
2a47cc3c81
HAL_SITL: cleanup command line handling
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
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
630cd14252
HAL_SITL: added rover simulator support
10 years ago
Andrew Tridgell
11df612c04
HAL_SITL: added a table of simulator constructors
10 years ago
Andrew Tridgell
878549530d
HAL_SITL: g_state is not needed any more
10 years ago
Andrew Tridgell
25de563687
HAL_SITL: support direct RC input
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
Andrew Tridgell
74581a55bc
HAL_SITL: fixed startup of SITL in synthetic clock mode
10 years ago
Tom Pittenger
b7fb4022b4
AVR_SITL: fix compile warnings re float constants
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
f04f8e226d
SITL: abort on floating point error
...
this creates a core file
10 years ago
Andrew Tridgell
0ce5c99c26
SITL: update for new AP_InertialSensor API
10 years ago
Andrew Tridgell
bf0ce79176
SITL: make it possible to use SITL-HIL
...
strangely enough, using HIL in SITL is a great way to debug HIL!
11 years ago
Jonathan Challinger
e883b889b6
SITL: Add compassmot interference
11 years ago
Andrew Tridgell
4efcae46ab
SITL: cope with more rubbish startup values from JSBSim
11 years ago
Andrew Tridgell
05bffb5915
HAL_SITL: enable use of SIM_FLOAT_EXCEPT parameter
11 years ago
Andrew Tridgell
8b9b4026f0
SITL: support -P option
...
this allows changing a parameter on initial startup
11 years ago
Andrew Tridgell
a15e4633b7
SITL: prevent wind effects at negative altitudes
...
this prevents crashes on takeoff with barometer noise
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
bb0eed5c14
SITL: prevent initialisation error
11 years ago
Andrew Tridgell
765bfbfe43
HAL_SITL: use SIM_RC_FAIL
11 years ago
John Boiles
d8cdb57efa
HAL_SITL: Attempting to avoid SIGPIPE on all platforms
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
86afc26609
HAL_SITL: decrease wind with altitude
...
this prevents JSBSim crash on the runway
11 years ago
Randy Mackay
db2975901d
AP_HAL_AVR_SITL: use SIM_BATT_VOLTAGE parameter
12 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
Michael Oborne
54fc004956
SITL: fix sitl timer issues under cygwin
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
Randy Mackay
b914f9ba06
SITL: use SIM_ENGINE_MUL to simulate motor failure
12 years ago
Andrew Tridgell
53ebcfeba5
SITL: fixed compass vector to be based on yaw not GPS heading
...
Many thanks to Randy for noticing this, and apologies for the wasted time!
12 years ago