Commit Graph

1163 Commits

Author SHA1 Message Date
Peter Barker fe21c576c8 SITL: adjust for GPS parameter renames 2024-03-19 19:50:12 +11:00
jkronk a7785b0798 SITL: add Ainstein SITL driver 2024-03-18 12:40:37 -07:00
Ryan Friedman 41fc3a8dbb AP_ExternalAHRS: SIM_MicroStrain support quaternion attitude
* This replaces IMU orientation
* Fixed some usage docs

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-03-15 18:11:22 +11:00
Peter Barker aefa41f22a SITL: correct compilation on g++-7.5.0
.cpp: In member function void SITL::ShipSim::send_report():
BB-WAF: /mnt/volume_nyc3_01/autotest/APM/APM/libraries/SITL/SIM_Ship.cpp:189:42: sorry, unimplemented: non-trivial designated initializers not supported
BB-WAF:          autopilot : MAV_AUTOPILOT_INVALID};
BB-WAF:                                           ^
BB-WAF: compilation terminated due to -Wfatal-errors.
BB-WAF:
BB-WAF: Waf: Leaving directory `/home/autotest/build/tmp/binaries.build/SITL_x86_64_linux_gnu'
2024-03-15 18:10:53 +11:00
Andrew Tridgell c34e4907fe SITL: added moving precland simulator
added SIM_PLD_SHIP to make the precland location track the SIM_SHIP
location, giving a nice way of having a landing marker on a moving
ship
2024-03-12 10:45:56 +11:00
Peter Barker d24e7a916f SITL: SIM_Morse: correct compilation with HAL_GCS_ENABLED false 2024-03-08 15:09:34 +11:00
Peter Barker cfd76b8dd9 SITL: name fields when assembling vision_position_delta message 2024-03-07 18:13:35 +11:00
Peter Barker 8c9ed697fe SIM_Vicon: label fields going into VISION_SPEED_ESTIMATE packets 2024-03-07 18:13:26 +11:00
Peter Barker c12bb6720a SIM_Vicon: label fields going into _POSITION_ESTIMATE packets 2024-03-07 18:13:17 +11:00
Peter Barker b30bdb7dd3 SITL: Sim_Ship: label global_position_int and attitude packet fields 2024-03-07 18:13:09 +11:00
Peter Barker 28488cbfd6 SIM_Vicon: correct heartbeating
the heartbeat was packed but never sent
2024-03-07 18:13:01 +11:00
Peter Barker 298ef64836 SIM_Vicon: label fields going into ODOMETRY packets 2024-03-07 18:13:01 +11:00
Peter Barker 21ca4f83f4 SITL: name fields in loweheiser mavlink packet
avoid field ordering issues
2024-03-07 15:52:16 +11:00
Andrew Tridgell feff2f34e9 SITL: fixed the vehicle type of the simulated ship
this was broken by https://github.com/ArduPilot/ardupilot/pull/23763

we need to look for other places where we have assumed the MAVLink
field orderin in recent changes
2024-03-07 15:51:15 +11:00
Andrew Tridgell 4f9b66c267 SITL: fixed precland simulator
fixed units of height, was mixed cm and m, now just m AMSL
2024-03-06 09:39:51 +11:00
Andrew Tridgell 07f34a2f74 SITL: added NoVehicle 2024-02-28 19:22:14 +11:00
Randy Mackay 81b0d599a8 SITL: vicon send odometry with quality of 50 2024-02-28 18:52:37 +11:00
Randy Mackay de657689ce SITL: vicon param descriptions 2024-02-28 18:52:37 +11:00
Gone4Dirt 749c7428dd SITL: FlightAxis: Fix helidemix 2024-02-28 18:09:42 +11:00
Peter Barker 21a01c5587 AP_GPS: remove dead GPS_MINDGPS variable 2024-02-22 14:41:29 +11:00
Andy Piper 76c0b0a8e0 SITL: squash static_assert warnings 2024-02-22 14:40:55 +11:00
Andrew Tridgell 3d4dbd0aed SITL: use gmtime_r() instead of gmtime() 2024-02-21 12:09:48 +11:00
Andrew Tridgell cb01789b9f SITL: use AP_JSON 2024-02-21 12:09:48 +11:00
Peter Barker 1515f0642b SITL: correct documentation around simulated GPS type 2024-02-20 19:35:01 +11:00
Peter Barker 5199be9914 SITL: add diagnostics when bad GPS backend specified 2024-02-20 19:35:01 +11:00
Iampete1 c54529aaf8 SITL: SIM_Motor: include momentum drag in derived torque 2024-02-20 12:22:05 +11:00
Andrew Tridgell 9225b9f76d SITL: added 4 motor tilt vectored quadplane
from 2 motors tilt for "quadplane-tilt". This is the most common tilt
quadplane setup
2024-02-18 16:28:43 +11:00
Andrew Tridgell 388b04d671 SITL: fixed SITL for tilted motors
vector math was done in the wrong order
2024-02-18 16:28:43 +11:00
Richard Marko 04b46678a4 treewide: fix shebangs - /bin/bash -> /usr/bin/env bash
Most scripts/tools use non-portable `/bin/bash`, switch
to environment agnostic `/usr/bin/env bash`.
2024-02-13 11:36:23 +11:00
Peter Barker 2761a528f3 SITL: remove unused include of AP_Stats.h 2024-01-30 11:12:21 +11:00
Andrew Tridgell b051719836 SITL: fixed name of pitch limit parameters 2024-01-23 15:00:30 +11:00
Andrew Tridgell 315f4963cc SITL: fixed parameter names 2024-01-23 15:00:30 +11:00
Andrew Tridgell 15a9909127 SITL: tidy TRIM_PITCH to PTCH_TRIM_DEG 2024-01-23 15:00:30 +11:00
Andrew Tridgell 04d72d3adc SITL: convert param files for LAND_PITCH_DEG 2024-01-23 15:00:30 +11:00
Andrew Tridgell bea9102d72 SITL: convert param files LIM_ROLL_CD -> ROLL_LIMIT_DEG 2024-01-23 15:00:30 +11:00
Andrew Tridgell 74e455ef6a SITL: convert param files for pitch limits 2024-01-23 15:00:30 +11:00
Andrew Tridgell d0757b5aec SITL: param rename for CRUISE_ALT_FLOOR 2024-01-23 15:00:30 +11:00
Andrew Tridgell 54f38b7570 SITL: convert ALT_HOLD_RTL and ALT_HOLD_FBWCM 2024-01-23 15:00:30 +11:00
Andrew Tridgell a87dea0139 SITL: convert ARSPD_FBW_MIN/MAX to AIRSPEED_MIN and AIRSPEED_MAX 2024-01-23 15:00:30 +11:00
Andrew Tridgell c3ae310d4c SITL: converted TRIM_ARSPD_CM to AIRSPEED_CRUISE 2024-01-23 15:00:30 +11:00
Tim Tuxworth 426f645f5e SITL: convert TRIM_PITCH_CD to TRIM_PITCH_DEG 2024-01-23 15:00:30 +11:00
Peter Barker 76eb1b43e4 SITL: rename COMPASS_TYPEMASK to COMPASS_DISBLMSK
this is a very confusingly named parameter.  I've seen several instances of people treating this as an enable mask rather than a disable mask
2024-01-23 11:54:49 +11:00
Peter Barker e8708227a1 SITL: new Loweheiser generator/efi sim
Co-authored-by: Joshua Henderson <hendjoshsr71@gmail.com>

SITL: break out common GeneratorEngine code
2024-01-23 11:27:30 +11:00
Peter Barker bddb9aaac7 SITL: add ASSERT_STORAGE_SIZE macro
saves havin gto name the dummy variable yourself
2024-01-22 22:44:05 +11:00
Peter Barker dec618645d SITL: add support for simulated QMC5883L compass 2024-01-22 19:15:08 +11:00
Peter Barker 5ae4355e26 SITL: correct compilation when HAL_LOGGING_ENABLED is false 2024-01-17 18:25:55 +11:00
Jacob Olson 689a5c7b52 SITL: SIM_Frame: fixed per_motor_vars config loading 2024-01-09 10:53:33 +11:00
Peter Barker 3a37796eb2 SITL: move simulated height_agl into fdm structure
allows value to be shipped via multicast to simulated peripherals
2024-01-08 20:00:01 +11:00
Andrew Tridgell 6c88111267 SITL: fixed build with sim on hw 2024-01-07 20:51:55 +11:00
Peter Barker b43f4f78a3 SITL: add missing includes for SITL object 2024-01-03 18:33:10 +11:00