Peter Barker
32ec6d7e9a
SITL: add a simulated buzzer
5 years ago
Michael du Breuil
fe279b03b6
SITL: Directly include needed headers
6 years ago
Peter Barker
169013cae2
SITL: allow starting location to come from parameters
6 years ago
Peter Barker
f7b47679bb
SITL: remove home_str from constructor
6 years ago
Andrew Tridgell
626c632859
SITL: fixed pitch constraint on fixed wing takeoff
...
fixes issue with jet takeoff
6 years ago
Peter Barker
6939a9fa91
SITL: add capability to twist the aircraft
...
This makes the EKF very, very unhappy, but is useful for compass
calibration testing
6 years ago
Andrew Tridgell
d57ea43ea6
SITL: fixed crash in example code run
6 years ago
Peter Barker
4db011f530
SITL: add SIM_SHOVE_* options to shove the simulated vehicle
...
The parameter values are time in milliseconds and body-frame
acceleration in m/s/s
So to test throw mode:
mode throw
param set SIM_SHOVE_Z -30
arm throttle
param set SIM_SHOVE_TIME 500
6 years ago
Pierre Kancir
04bc267a61
SITL: add precland object
...
add position for precland object
add refresh rate
add alt and lateral range
add diffusion range
6 years ago
Dr.-Ing. Amilcar do Carmo Lucas
0b9d10c0f9
SITL: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
6 years ago
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
6 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
Peter Barker
e3c719b27f
SITL: adjust for Location_Class and Location unification
6 years ago
Peter Barker
d3b9ac5c8c
SITL: add simulated parachute
...
Doesn't actually change aerodynamics at the moment
6 years ago
Fabio D'Urso
8ff9923e07
SITL: parse home coordinates as double (not float) to avoid precision loss
6 years ago
Andrew Tridgell
8d86b6fbee
SITL: added support for laser scanner for Morse
6 years ago
Andrew Tridgell
366361f0bb
SITL: fixed running of example programs
6 years ago
Pierre Kancir
5b0ae42725
SITL: limit on_ground() check to militer accuracy to prevent bouncing
7 years ago
Peter Barker
3e9294a2ae
SITL: eliminate float-equals issues
7 years ago
Pierre Kancir
37f7cc4bcf
SITL: rearrange Grippers and Sprayers in SITL
7 years ago
Patrick José Pereira
b66b4775bc
SITL: Replace find_object with SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Patrick José Pereira
ae378f0fb3
SITL: Use reinterpret_cast with AP_Param::find_object
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Andrew Tridgell
0078a68fbb
SITL: fixed segv when running examples under SITL
7 years ago
Andrew Tridgell
d75e47a4d8
SITL: cope with cygwin64
7 years ago
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.
7 years ago
Andrew Tridgell
6a89fdf268
SITL: use AP_Declination for magnetic tables
7 years ago
Nicholas Engle
1103e92884
SITL: Add SIM_WIND_DIR_Z parameter for SITL
...
This controls the vertical pitch of the 3d wind vector, allowing futher control of the wind
using systems like dronekit. This change directly effects the calcuation of the wind vector
7 years ago
Andrew Tridgell
917d9842c4
SITL: support AHRS_ORIENTATION in SITL
...
this allows for tailsitters in RealFlight
7 years ago
Andrew Tridgell
964d64a623
SITL: adjust FlightAxis defaults
...
and map 0,0 to CMAC location, to improve how SITL works in
MissionPlanner
7 years ago
hiro2233
7d304073ed
SITL: fixed include case sensitive
...
On case sensitive cygwin feature enabled, this build ok.
7 years ago
Andrew Tridgell
c5cd1b873c
SITL: use thread for FlightAxis comms
...
this allows us to run SITL at a much higher framerate than RF can
provide, and results in the EKF being much happier
7 years ago
Andrew Tridgell
74265f523a
SITL: support -roll180 option to frames
7 years ago
Pierre Kancir
b176ba53d7
SIM_Aircraft: move advance in time from update_position to time_advance
8 years ago
Pierre Kancir
599e3d7b83
SITL: make range finder a standalone sitl plugin
8 years ago
Andrew Tridgell
47b79eb72d
SITL: expose home location
8 years ago
Andrew Tridgell
4de0daa7a1
SITL: make quaternion state available outside SITL
8 years ago
Pierre Kancir
ee7355a301
SITL: Reduce some variables scope and include
8 years ago
Pierre Kancir
8054405521
SITL: Change interface port to a generic solution for external simulator
8 years ago
Pierre Kancir
5b8c89225a
SITL: Make socket more verbose
8 years ago
Pierre Kancir
567a8d68e5
SITL: Make socket error more verbose
8 years ago
Pierre Kancir
63ea8c6f21
SITL: enable multi sitl for gazebo
8 years ago
Andrew Tridgell
3c8020862c
SITL: support a builtin tailsitter vehicle type
8 years ago
Pierre Kancir
bf135aeff7
SITL: Aircraft correct some syntax, implicit cast, make some local variable const, remove tabs and whitespace
8 years ago
Peter Barker
f8918d15b1
SITL: add a hagl method to aircraft
8 years ago
Peter Barker
f1c23dc9be
SITL: remove argument to on_ground
...
This was always the current position
8 years ago
Peter Barker
e24f3f9419
SITL: correct on-ground correction
...
Using the cached ground_height_difference may mean
you end up at the wrong height if you were near
the edge of an SRTM square and had high horizontal
velocity
8 years ago
Tom Pittenger
11229d2588
SITL: fix whitespace
8 years ago
ori ganoni
631b5c3ebc
adding turbulance to SITL
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
d830f68901
SITL: Add angular acceleration to simulator states
...
The calculation used is an approximation to work around the lack of angular acceleration in the interface with the flight dynamics model.
8 years ago