Peter Barker
cdab58d598
AP_HAL_SITL: remove home_str from constructor
...
No Aircraft was actually using this in the constructor, so it's really
adding overhead for no good reason.
2019-08-15 15:16:11 +10:00
Anthony Velte
5d2f114947
AP_HAL_SITL: Add scrimmage simulator support
2019-08-13 10:07:26 +10:00
Rajat Singhal
4d1f4f3386
HAL_SITL: enable airsim SITL backend
2019-07-17 07:26:50 +10:00
Andrew Tridgell
ac7a67fda0
HAL_SITL: added uartH
2019-07-12 17:01:21 +10:00
U-REDMOND\akolobov
6dd906f07f
HAL_SITL: Integrating Silent Wings SITL with the sim_vehicle
2019-07-08 09:32:59 +10:00
Peter Barker
dd68b14f46
AP_HAL_SITL: move dump_strack_trace into HAL
2019-06-13 09:25:42 +10:00
Peter Barker
e061df0f6d
AP_HAL_SITL: attempt to dump stack trace as part of segv handler
2019-06-07 22:03:41 +10:00
Tom Pittenger
c39cc7dbb8
AP_HAL_SITL: rename dataflash to logger and refactor the filename logger.bin
2019-03-28 16:40:58 +11:00
Andrew Tridgell
d4a564843e
HAL_SITL: support new motor orders
2019-02-06 11:17:35 +11:00
Andrew Tridgell
d46c48e28c
HAL_SITL: enable morse simulator backend
2018-12-04 09:44:50 +11:00
Randy Mackay
ada073fbdc
AP_HAL_SITL: add sailboat to SITL_cmdline.cpp
2018-09-26 12:00:13 +09:00
Pierre Kancir
7d9c947b9b
AP_HAL_SITL: update parameter with using command line speedup option
2018-08-28 07:26:26 +10:00
Peter Barker
e577a5564f
AP_HAL_SITL: correct segfault when uartg configured
2018-06-29 18:47:30 +10:00
Andrew Tridgell
5862138a4b
HAL_SITL: support uartG
2018-06-29 08:17:38 +10:00
Ebin
a40de48809
AP_HAL_SITL: added BalanceBot to SITL_cmdline
2018-06-28 21:55:20 +09:00
Francisco Ferreira
5de516dd6a
AP_HAL_SITL: remove underscore prefix for local variables
2018-06-20 16:38:52 +01:00
Francisco Ferreira
06c41bc768
AP_HAL_SITL: re-use unused FDM address option for FG view IP address
2018-06-20 16:38:52 +01:00
Francisco Ferreira
46868409ec
AP_HAL_SITL: remove unused code
2018-06-20 16:38:52 +01:00
Andrew Tridgell
f8464577ac
Revert "SITL: Instance number change MavID"
...
This reverts commit 507f4d688b
.
This broke normal usage of sim_vehicle.py
2018-05-10 09:56:38 +10:00
Pierre Kancir
507f4d688b
SITL: Instance number change MavID
2018-05-09 22:00:42 +10:00
Peter Barker
6a862c6e24
SITL: make home location parsing verbose
...
Given we don't fail to start SITL if the home location fails to parse,
we should at least make the user very aware that their home location
string is bad.
This commit makes failures verbose, and outputs the parsed location
values rather than regurgitating the location string the user supplied;
it was very misleading in that the location could simply fail to parse
and thus be unused.
2018-02-21 23:51:56 +10:00
Jacob Walser
46ac0e45aa
AP_HAL_SITL: initialize rc inputs appropriately for ArduSub
2017-11-22 15:43:46 -05:00
Jacob Walser
07fa65a88c
AP_HAL_SITL: Add current and voltage monitoring implementation for Sub
2017-11-13 10:50:27 +11:00
murata
c21b586ccc
SITL: add dodeca-hexa support
2017-05-27 14:21:13 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
b4260c77be
Add and update missing SITL command line usage information
2017-04-05 20:17:40 +10:00
Pierre Kancir
d4a0a92b8b
SITL: cmdline reorder help and param for better readability and futher extension
...
add missing options
2017-03-18 19:58:11 +11:00
Pierre Kancir
ee7355a301
SITL: Reduce some variables scope and include
2017-03-18 19:58:11 +11:00
Pierre Kancir
8054405521
SITL: Change interface port to a generic solution for external simulator
2017-03-18 19:58:11 +11:00
Pierre Kancir
6e0319d513
SITL: Add RCout port option to cmdline
2017-03-18 19:58:11 +11:00
Pierre Kancir
a8d5079a38
SITL: Ensure that Instance parameter don't override manualy setted port
2017-03-18 19:58:11 +11:00
Tully Foote
25fad0a8c2
SITL: Add more command line arguments for port selection.
2017-03-18 19:58:11 +11:00
Pierre Kancir
1bb4e3c9b7
AP_IRLock_SITL: make port variable
2017-03-18 19:58:11 +11:00
Pierre Kancir
63ea8c6f21
SITL: enable multi sitl for gazebo
2017-03-18 19:58:11 +11:00
Jacob Walser
e7caf05238
AP_HAL_SITL: Add support for Sub
2017-02-21 11:26:14 +11:00
Pierre Kancir
84aaca7c6e
SITL: add missing break
2016-11-17 13:46:10 +00:00
Pierre Kancir
86c8145bd9
SITL: Change Flighgear port with instance number
2016-11-16 08:27:48 +11:00
Pierre Kancir
c4b5bd4bd9
SITL: revert fg view to activate by default and use flag to disable it
2016-11-16 08:27:48 +11:00
Pierre Kancir
e2b939df39
SITL: rename simin to rcin for better readability
2016-11-16 08:27:48 +11:00
Pierre Kancir
59c84c637e
SITL: make fg view optional
2016-11-16 08:27:48 +11:00
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.
2016-11-02 16:04:47 -02:00
Peter Barker
dd7d41b1f3
SITL: unhide groups when generating parameters in autotest
2016-10-26 09:53:14 +11:00
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.
2016-10-24 09:42:01 -02:00
Peter Barker
9749b91d46
SITL: initialise sigaction structs - valgrind fix
2016-07-29 10:38:03 -03:00
Staroselskii Georgii
d69aeb4808
AP_HAL_SITL: use sigaction over signal API in SITL_State
2016-07-27 21:30:19 +10:00
Andrew Tridgell
acc76f80b0
HAL_SITL: added xplane support
2016-06-19 13:59:15 +10:00
Tom Pittenger
52fcc36249
AP_HAL_SITL: remove -A --adsb argument, feature is now always enabled controlled by param
2016-06-14 21:05:23 -07:00
Andrew Tridgell
969b6ebea9
HAL_SITL: support coaxcopter in SITL
2016-05-26 17:09:22 +10:00
Andrew Tridgell
a80e233836
HAL_SITL: added SingleCopter
2016-05-26 16:30:39 +10:00
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
2016-05-16 13:04:15 -03:00
Andrew Tridgell
c6620b03b4
HAL_SITL: added --rtscts option to SITL
...
useful for radio testing
2016-05-16 16:51:26 +10:00
Gustavo Jose de Sousa
8c4c9ccfa6
AP_HAL_SITL: add calibration model
2016-05-10 16:16:37 +10:00
Andrew Tridgell
46f368f17d
HAL_SITL: support fireflyy6 as quadplane
2016-04-22 10:28:15 +10:00
Andrew Tridgell
21fb38da8f
HAL_SITL: support Y6 frame
2016-04-21 21:11:46 +10:00
Andrew Tridgell
41b3cb2ff7
HAL_SITL: support tri sim
2016-04-21 20:29:58 +10:00
Andrew Tridgell
0d27409511
HAL_SITL: added uartF
2016-04-20 09:39:49 +10:00
Andrew Tridgell
655f57ad01
HAL_SITL: cleanup class names
...
remove SITL prefix
2016-01-10 17:43:01 +11:00
Andrew Tridgell
22e25cc792
HAL_SITL: added Flightaxis support
2016-01-09 07:38:51 +11:00
Andrew Tridgell
b4cc3d9668
HAL_SITL: implement get_custom_defaults_file()
2016-01-07 09:09:40 +11:00
Andrew Tridgell
e6555aae6d
HAL_SITL: added quadplane model
2016-01-01 14:35:15 +11:00
Andrew Tridgell
c6b6d7137d
HAL_SITL: added plane simulator
2016-01-01 12:41:06 +11:00
Tom Pittenger
48ae0d645d
AP_HAL_SITL: compiler warning: float to double promotion
...
- replace atof() with strtof() for the correct return time
2015-12-08 14:54:43 +09:00
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
2015-11-23 19:45:40 +11:00
Andrew Tridgell
a6ef064950
HAL_SITL: removed support for the old FDM protocol
...
we are now fully converted to the new C++ based SITL system
2015-11-23 13:21:33 +11:00
Caio Marcelo de Oliveira Filho
85d12efbef
AP_HAL_SITL: use millis/micros/panic functions
2015-11-20 12:31:20 +09:00
Andrew Tridgell
75d2aed6e1
HAL_SITL: added help for uart command line checks
2015-11-04 14:26:55 +11:00
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
2015-11-04 11:29:04 +11:00
Caio Marcelo de Oliveira Filho
49a42dc985
SITL: use a SITL namespace
2015-10-22 11:04:42 -02:00
Andrew Tridgell
6b048b4045
HAL_SITL: use SimRover
2015-10-21 22:04:21 +11: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
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.
2015-08-11 16:28:43 +10:00
Lucas De Marchi
473415a3c2
AP_HAL_SITL: use ARRAY_SIZE macro
2015-07-21 14:25:03 +09:00
John Hsu
c34ddb7fb8
HAL_SITL: added gazebo SITL model support
2015-07-20 09:10:48 +10:00
Andrew Tridgell
4677c189e0
HAL_SITL: support balloon model
2015-06-15 09:20:56 +10:00
Andrew Tridgell
d57eca9de8
HAL_SITL: enable simulated antenna tracker
2015-06-01 12:53:50 +10:00
Andrew Tridgell
249b339e6c
HAL_SITL: fixed a build warning
2015-05-30 22:16:37 +10:00
Andrew Tridgell
3daee9c8bc
HAL_SITL: added --autotest-dir option
2015-05-25 13:04:17 +10:00
Andrew Tridgell
e7abc07898
HAL_SITL: enable --gimbal option
...
instantiates a MAVLink gimbal
2015-05-25 12:20:26 +10:00
Andrew Tridgell
6cbd291dd2
HAL_SITL: make model name case insensitive
2015-05-22 16:07:44 +10:00
Andrew Tridgell
4e117bc90f
HAL_SITL: support last_letter simulator
2015-05-22 16:07:44 +10:00
Andrew Tridgell
2a47cc3c81
HAL_SITL: cleanup command line handling
2015-05-11 08:48:42 +10:00
Andrew Tridgell
5687adbdba
HAL_SITL: support JSBSim backend
2015-05-10 21:02:20 +10:00
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
2015-05-10 15:36:18 +10:00
Andrew Tridgell
6a8da06d19
HAL_SITL: hook in CRRCSim backend
2015-05-05 21:42:46 +10:00
Andrew Tridgell
c81ad1d622
HAL_SITL: reformat HAL_SITL with astyle
2015-05-05 10:59:07 +10:00
Andrew Tridgell
5158f91263
HAL_SITL: converted command line code to getopt_cpp
2015-05-05 09:45:58 +10:00