Grant Morphett
2ce7955614
SITL: Create gps_hdt_enabled varible for enable/disable HDT GPS sentence
2019-07-13 11:05:57 +10:00
Peter Barker
a966c75deb
SITL: remove unused forward declaration of AP_Logger
2019-07-09 10:57:20 +10:00
Peter Barker
e01ea2f5f9
SITL: support a count of baros
2019-07-09 10:01:23 +10:00
U-REDMOND\akolobov
3330b62d3c
SITL: aded support for SilentWings simulator
2019-07-08 09:32:59 +10:00
Andrew Tridgell
626c632859
SITL: fixed pitch constraint on fixed wing takeoff
...
fixes issue with jet takeoff
2019-07-05 20:12:22 +10:00
Rajat Singhal
82413a1528
SITL: JSBSim: Fix comments
2019-07-03 23:58:22 -07:00
Andrew Tridgell
2eb09b2910
SITL: simple implementation of a fast jet
...
just increase the weight and the rest can be done with params
2019-07-03 08:05:09 +10:00
Michael du Breuil
b7bca441e5
SITL: Fix a number of includes that were coming in via AP_Airspeed
2019-06-27 14:56:21 +10:00
Peter Hall
5839c1ebf6
SITL: Sailboat: write rpm and airspeed for windvane backends
2019-05-28 08:35:58 +09:00
Rajat Singhal
8097b0ede3
SITL: Gazebo: Fixed comment, typos
2019-05-23 08:23:37 +09:00
Rajat Singhal
2c519d5176
SITL: Fix to sync to JSBSim simulation time
...
SITL: Additional fix to remove time-lag in JSBSim
2019-05-10 17:12:52 +10:00
Rajat Singhal
dedb7e108f
SITL: Added <time> tag to JSBSim output directive
...
Instructs JSBSim to transmit current simulation time which is used to sync with Ardupilot
2019-05-10 17:12:52 +10:00
Rajat Singhal
2317e73e0b
SITL: JSBSim: Use rate_hz to specify timestep
2019-05-10 17:12:52 +10:00
Rajat Singhal
732f2e7a2e
SITL: Change JSBSim mode to Batch mode, specify nice sleeptime
...
Previously it was run in realtime mode which doesn't support iterate command. Without setting sleeptime, defaults to 0.01s which slows down a lot
2019-05-10 17:12:52 +10:00
Peter Barker
dd62489f5e
AC_PrecLand: stop ignoring return values on methods
2019-05-09 13:03:49 +10:00
Peter Barker
6939a9fa91
SITL: add capability to twist the aircraft
...
This makes the EKF very, very unhappy, but is useful for compass
calibration testing
2019-04-23 10:06:17 +10:00
Pierre Kancir
92822a7f01
SITL: fix header
2019-04-23 09:20:43 +10:00
Andrew Tridgell
e18f40cc08
SITL: added IMU failure masks
2019-04-22 14:56:30 +10:00
Andrew Tridgell
ac7e969aae
SITL: improve airspeed in FlightAxis for RF8
...
use 3D wind to get airspeed along X axis of aircraft
2019-04-15 10:07:54 +10:00
Andrew Tridgell
d57ea43ea6
SITL: fixed crash in example code run
2019-04-09 12:50:17 +10:00
Pierre Kancir
ebdcfdf65b
SITL: use get_distance_NE instead of location_diff
2019-04-08 08:00:52 -07:00
Paul Riseborough
8ac8c7285b
SITL: Add parameter for optical flow sensor noise
2019-04-02 10:51:12 +11:00
Patrick José Pereira
ab6b84e876
SITL: Fix typo in Sub
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-04-02 07:59:53 +11:00
Patrick José Pereira
8bb0772224
SITL: Add drag simulation in Sub
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-04-02 07:59:53 +11:00
Peter Barker
4c9651dbfd
SITL: use enum class for AltFrame enumeration
2019-03-19 10:31:18 +11:00
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
2019-03-12 11:09:37 +11:00
Andrew Tridgell
b1eeaa3019
SITL: fixed segv without SITL object
2019-03-04 11:00:40 +11:00
Pierre Kancir
04bc267a61
SITL: add precland object
...
add position for precland object
add refresh rate
add alt and lateral range
add diffusion range
2019-03-01 20:28:22 +11:00
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
2019-02-28 11:44:09 +11:00
Simon Schopferer
6beac98d4a
fixed conversion of airspeed from ft/s to knots as defined in latest JSBSim versions
2019-02-26 09:14:42 +11:00
Peter Barker
166291cfef
SITL: add missing override keywords
2019-02-22 15:01:09 +00:00
Peter Barker
44e89a1cd8
SITL: include stdio for some printfs
2019-02-15 08:15:45 +11:00
Peter Barker
44bc035f7b
SITL: allow testing of throttle-goes-to-low-fixed-value rc failsafes
2019-02-14 11:49:59 +11:00
Peter Barker
ae03ccf2ba
SITL: enable updating of external payload on SIM_Plane
2019-02-13 09:25:27 +09:00
Tom Pittenger
a4e91e196f
SITL: unify singleton naming to _singleton and get_singleton()
2019-02-10 19:09:58 -07:00
Peter Barker
9e7154ccb3
SITL: enable updating of external payloads for SIM_Rover
2019-02-09 11:02:22 +09:00
Peter Barker
badfd1d559
SITL: name parameters being passed to ICEngine contructor
2019-02-08 12:23:57 -07:00
Andrew Tridgell
40babb1172
SITL: support 3 more X quad motor orders
...
- betaflight X
- DJI X
- clockwise X
2019-02-06 11:17:35 +11:00
Andrew Tridgell
56683ba803
SITL: added SIM_BAUDRATE_EN parameter
2019-01-27 08:56:12 +11:00
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
2019-01-18 18:08:20 +11:00
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
2019-01-18 18:08:20 +11:00
Peter Barker
834b45ce18
SITL: stop taking DataFlash pointer as argument
2019-01-18 11:16:54 +11:00
Peter Barker
e3c719b27f
SITL: adjust for Location_Class and Location unification
2019-01-16 11:45:29 +11:00
Andrew Tridgell
358c570d9d
SITL: added simulated battery for quadplane
...
needed for motor interference for mag
2019-01-14 08:23:47 +11:00
Peter Barker
d3b9ac5c8c
SITL: add simulated parachute
...
Doesn't actually change aerodynamics at the moment
2019-01-09 13:16:03 +11:00
Andrew Tridgell
9ca059ba16
SITL: added SIM_VIB_FREQ parameter
2019-01-08 06:49:02 +11:00
Fabio D'Urso
8ff9923e07
SITL: parse home coordinates as double (not float) to avoid precision loss
2019-01-05 21:38:41 +11:00
Andrew Tridgell
a4e0ecd368
SITL: added an example for plane/quad follow
2018-12-30 16:16:54 +11:00
Andrew Tridgell
28a12224c3
SITL: fixed FDM UDP socket for JSBSim
...
needs to be uppercase for new versions
also improved debug output
2018-12-18 13:06:03 +11:00
Willem Eerland
f8407dd33a
SITL: fixed JSBSim backend for latest version
2018-12-18 13:06:03 +11:00
Andrew Tridgell
cb3b0bd373
SITL: don't try to connect Morse sockets so quickly
2018-12-08 12:36:30 +11:00
Andrew Tridgell
cdd7d1c83d
SITL: added Morse rover follow example script
2018-12-07 10:31:04 +09:00
Andrew Tridgell
64abd7f318
SITL: added follow example for rover
2018-12-07 08:35:15 +11:00
Andrew Tridgell
9b9ce2b1a2
SITL: removed Morse position offset
...
this allows for creating swarms of vehicles with different start
locations
2018-12-07 08:35:15 +11:00
Andrew Tridgell
824d619ab6
SITL: allow override of Morse sensors and control ports
2018-12-07 08:35:15 +11:00
Andrew Tridgell
234e3b97ef
SITL: don't include vehicle name in Morse string seach
...
this allows for multiple vehicles with any name to output
2018-12-07 08:35:15 +11:00
Andrew Tridgell
997d07b694
SITL: use replace.h in SIM_Morse
...
fixes build on MacOS
2018-12-06 13:32:09 +11:00
Andrew Tridgell
debea191c9
SITL: allow sensors not to be present in Morse
2018-12-04 20:49:40 +11:00
Andrew Tridgell
e569e3e1e6
SITL: added parameters for laser scanner example
2018-12-04 18:29:41 +11:00
Andrew Tridgell
8d86b6fbee
SITL: added support for laser scanner for Morse
2018-12-04 18:29:41 +11:00
Andrew Tridgell
480abeda3e
SITL: improved rover_scanner example
2018-12-04 18:29:41 +11:00
Andrew Tridgell
6786e4b5fc
SITL: added rover_scanner.py example for Morse
2018-12-04 18:29:41 +11:00
Andrew Tridgell
f52af1fc40
SITL: added parsing of variable length vectors for Morse
...
used for laser scanner
2018-12-04 18:29:41 +11:00
Andrew Tridgell
f0036c59d7
SITL: added rover parameters for morse example
2018-12-04 13:02:29 +11:00
Andrew Tridgell
62c26ec5ff
SITL: added parameters for Morse quad
2018-12-04 09:44:50 +11:00
Andrew Tridgell
a4f388e0f3
SITL: improved Morse socket handling
2018-12-04 09:44:50 +11:00
Andrew Tridgell
505bc2b1fc
SITL: added quadcopter example script for Morse
2018-12-04 09:44:50 +11:00
Andrew Tridgell
adb45c261f
SITL: support quad simulation in Morse
2018-12-04 09:44:50 +11:00
Andrew Tridgell
c8c54b369a
SITL: added example script for Morse
2018-12-04 09:44:50 +11:00
Andrew Tridgell
fea5060429
SITL: added Morse simulation backend
2018-12-04 09:44:50 +11:00
Andrew Tridgell
9257d29717
SITL: fixed frame_property build error with older C++ compilers
2018-11-30 11:03:09 +11:00
Andrew Tridgell
e3cd081064
SITL: support up to 12 actuators with RealFlight8
...
the new beta release supports up to 12 channels
2018-11-27 13:49:41 +11:00
Peter Barker
3296b1c7f7
SITL: correct use of uninitialized values in simulated gimbal
2018-11-25 03:13:21 +00:00
Andrew Tridgell
635540b4d6
SITL: simulate Solo gimbal parameter handling
...
this allows us to get into running state
2018-11-24 11:00:37 +11:00
Andrew Tridgell
2a08dc73b7
SITL: added some debug code to simulated Solo gimbal
2018-11-24 11:00:37 +11:00
Andrew Tridgell
0536a3c4c6
SITL: added SIM_WOW_PIN
2018-11-09 14:35:14 +11:00
Peter Barker
82df40f464
SITL: add override keyword where required
2018-11-08 11:30:12 +11:00
Andrew Tridgell
366361f0bb
SITL: fixed running of example programs
2018-11-07 07:35:45 +11:00
Peter Barker
537a7e0727
SITL: correct comment on sending gimbal messages
2018-10-23 11:58:04 +11:00
Andrew Tridgell
feea73ee1a
SITL: use WITH_SEMAPHORE()
...
and removed usage of hal.util->new_semaphore()
2018-10-17 12:54:22 +11:00
IamPete1
e31f98157b
SITL: sailboat add matlab VPP tool
2018-10-09 16:27:10 +09:00
IamPete1
1792438660
SITL: sailboat sim small changes
2018-10-09 16:27:10 +09:00
Randy Mackay
b7c88da67c
SITL: sailboat fixes from peer review
2018-09-26 12:00:13 +09:00
Randy Mackay
804305aa2b
SITL: add simple sailboat simulator
2018-09-26 12:00:13 +09:00
Pierre Kancir
5b0ae42725
SITL: limit on_ground() check to militer accuracy to prevent bouncing
2018-09-07 10:22:34 +10:00
Peter Barker
3e9294a2ae
SITL: eliminate float-equals issues
2018-08-28 09:54:47 +10:00
Pierre Kancir
a5e2f96a59
SITL: Better gripper sim options
2018-08-27 14:39:49 +10:00
Pierre Kancir
37f7cc4bcf
SITL: rearrange Grippers and Sprayers in SITL
2018-07-31 23:34:43 +10:00
Andrew Tridgell
128ea42286
SITL: added SIM_RC_CHANCOUNT parameter
2018-07-24 19:44:03 +10:00
Ebin
89ffa94427
SITL: Removed redundant variables and modified/deleted commented lines
2018-07-20 14:41:32 +10:00
Ebin
21445e91be
SITL: new balancebot physics simulation
2018-07-20 14:41:32 +10:00
Andrew Tridgell
98f87f5087
SITL: fixed gimbal for tailsitter
2018-07-20 14:21:06 +10:00
Andrew Tridgell
d1f67f6ded
SITL: added diagonal, off-diagonal and orientation of SITL compass
2018-07-18 16:07:19 +10:00
Patrick José Pereira
2ba6f64281
SITL: Remove unused variables
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-07-17 20:25:22 +09:00
Andrew Tridgell
dc54babe41
SITL: setup more defaults with flightaxis
...
with copters now you only need to set FRAME_CLASS to fly
2018-07-13 10:19:01 +10:00
Peter Barker
6d6366df48
SITL: Sim_Vicon: set CLOEXEC on vicon file decsriptor
2018-06-29 21:53:14 +10:00
Ebin
10914d88b7
SITL: all unchanged variables declared const in BalanceBot::update()
2018-06-28 21:55:20 +09:00
Ebin
3a171c56b5
SITL: Added BalanceBot
2018-06-28 21:55:20 +09:00
Patrick José Pereira
b66b4775bc
SITL: Replace find_object with SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-27 14:59:33 -07:00
Patrick José Pereira
ae378f0fb3
SITL: Use reinterpret_cast with AP_Param::find_object
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00