Andrew Tridgell
57aef8e1e9
SITL: added basic wind support in multicopter, plane and quadplane
...
this adds non-turbulent wind support for the built-in simulators. I
added it primarily for quadplane testing, but it should also be useful
for multicopter navigation testing.
2016-04-20 11:48:37 +10:00
Andrew Tridgell
73a2c99d56
SITL: limit rotational rate to 2000dps
2016-03-26 14:23:05 +11:00
Tom Pittenger
1f714ed75d
SITL: handle negative throttle
...
- negative throttle was causing negative offsets
2016-02-09 14:18:01 +11:00
Andrew Tridgell
7a7bd0607f
SITL: first version of FlightAxis SITL support
2016-01-09 07:38:51 +11:00
Andrew Tridgell
62b2a2117d
SITL: only report ground contact at most once per second
2016-01-05 09:47:58 +11:00
Andrew Tridgell
33998a58ac
SITL: prevent aircraft going below ground level
2016-01-01 17:01:23 +11:00
Andrew Tridgell
d425965f6d
SITL: expose home yaw to FDMs
2016-01-01 17:00:57 +11:00
Andrew Tridgell
8a98ce427c
SITL: moved to common code for attitude/pos update
2016-01-01 15:12:33 +11:00
Tom Pittenger
7236b48518
SITL: compiler warning: double to float demotion
...
- replace atof() with strtof() for the correct return time
2015-12-08 14:54:58 +09:00
Tom Pittenger
f88de986bc
SITL: created ADSB 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 feature is enabled with the following command:
sim_vehicle -A --adsb
2015-11-23 19:45:40 +11:00
Andrew Tridgell
223ce2b6aa
SITL: allow FDM models to provide voltage, current and RPM
2015-11-23 13:46:27 +11:00
Andrew Tridgell
585e6dabb8
SITL: FDM structure is no longer a network protocol structure
...
remove unused fields and change comments
2015-11-23 13:25:00 +11:00
Caio Marcelo de Oliveira Filho
288dc2a385
SITL: clean up includes
...
Remove unnecessary includes, reorder them in blocks separated by a blank
line
- Corresponding header file (if exists)
- System headers
- Other ArduPilot library headers
- "Local" headers (from the same library)
2015-10-22 13:36:19 -02:00
Caio Marcelo de Oliveira Filho
8a55b26443
SITL: no need to use #ifdefs
...
Now that SITL is compiled only when it's needed (i.e. using the SITL
board), there's no need to ifdef its files based on the
CONFIG_HAL_BOARD. So remove them.
2015-10-22 13:36:19 -02:00
Caio Marcelo de Oliveira Filho
e2fa456742
SITL: remove "constructor" comment
2015-10-22 11:16:39 -02:00
Caio Marcelo de Oliveira Filho
f0a20cdc7c
SITL: remove trailing whitespace
2015-10-22 11:15:20 -02:00
Caio Marcelo de Oliveira Filho
49a42dc985
SITL: use a SITL namespace
2015-10-22 11:04:42 -02:00
Andrew Tridgell
a3d7156f28
SITL: raise default simulation rate to 1200Hz
...
this greatly improves things for the heli sim
2015-09-01 16:34:20 +10:00
Fredrik Hedberg
e2027a8414
SITL: Add HELI_DUAL_FRAME and HELI_COMPOUND_FRAME.
2015-08-13 18:23:30 +10:00
Gustavo Jose de Sousa
a02e7730ea
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.
2015-08-11 16:38:25 +10:00
Andrew Tridgell
1f58e0080a
SITL: fixed some build warnings
2015-07-06 09:21:49 +10:00
Andrew Tridgell
d8df31c023
SITL: initialise a couple of variables to prevent a valgrind error
2015-05-27 11:54:18 +10:00
Andrew Tridgell
563be63d00
SITL: try to get speedup accurate on both windows and linux
2015-05-25 21:48:42 +10:00
Andrew Tridgell
2b2259a6d7
SITL: use more granrular sleeps for windows
2015-05-25 17:05:44 +10:00
Andrew Tridgell
c06d81a06a
SITL: use autotest_dir
...
this allows for the aircraft directory for SITL to be packaged without
the source tree
2015-05-25 13:04:46 +10:00
Andrew Tridgell
2bb5f677c7
SITL: removed earth frame rates
2015-05-25 09:03:10 +10:00
Andrew Tridgell
da5d5c9936
SITL: fixed airspeed pass-thru from simulators
2015-05-23 11:24:10 +10:00
Andrew Tridgell
aa9853179c
SITL: fixed startup yaw
2015-05-10 21:57:19 +10:00
Andrew Tridgell
cbdc9f0706
SITL: fixed autotest SITL
2015-05-06 10:09:43 +10:00
Andrew Tridgell
93d5101bf9
SITL: added CRRCSim simulation connection
2015-05-05 21:42:45 +10:00
Andrew Tridgell
42c6801d61
SITL: reformat SITL code with astyle
2015-05-05 11:49:54 +10:00
Andrew Tridgell
a58a663085
SITL: fixed build on APM2
2015-05-05 09:45:58 +10:00
Andrew Tridgell
64fa219c05
SITL: converted rover simulator from python to C++
2015-05-05 09:45:53 +10:00
Andrew Tridgell
6ec6158b8b
SITL: converted helicopter simulator from python
2015-05-05 09:45:53 +10:00
Andrew Tridgell
77f007ab27
SITL: support speedup setting on the command line
2015-05-05 09:45:52 +10:00
Andrew Tridgell
437e1bdba0
SITL: added fill_fdm() for FDM output from simulator
2015-05-05 09:45:52 +10:00
Andrew Tridgell
914b91af9e
SITL: initial conversion of multicopter sim to C++
2015-05-05 07:12:36 +10:00