Commit Graph

133 Commits

Author SHA1 Message Date
Peter Barker 21a01c5587 AP_GPS: remove dead GPS_MINDGPS variable 2024-02-22 14:41:29 +11:00
Andrew Tridgell cb01789b9f SITL: use AP_JSON 2024-02-21 12:09:48 +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
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
Thomas Watson f6ea8201b2 SITL: remove references to legacy UART order incl. sim arguments 2023-12-19 06:53:15 +11:00
Ryan Friedman 0432863832 SITL: Add missing shebang
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-09-08 17:09:26 +10:00
Henry Wurzburg 0a060aa520 SITL: Move SITL on hdwr scripts to Tools and simplify 2023-05-16 21:11:36 +10:00
Rhys Mainwaring c3b576a72f SITL: enable 32 servos in SITL_JSON
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>

SITL: update JSON readme

- Update servo data packet section for 32 channel output.

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-03-29 21:56:38 +11:00
James O'Shannessy 010b4fc58c SITL: Remove support for reading gyro data from file for SIM on Hardware build 2023-02-21 16:48:43 +11:00
Andrew Tridgell 7a4483b091 SITL: new XPlane backend
this makes use of DRefs to greatly improve XPlane support. It only
supports XPlane 11 and later

The key change is the use of a JSON file to map ArduPilot output
channels to DataRefs, and map raw joystick inputs to RC inputs

this gets rid of the awful throttle hack handling, and allows for
control of a much wider range of aircraft
2023-01-31 11:22:08 +11:00
Ian d358ca1b32 SITL: Add Webots 2023a support and examples
The various C Webots controllers are replaced by a single Python controller
- More readable (in my opinion)
- Does not require compilation
- Easily modifiable to run user code
- Can be blackboxed and configured via arguments when designing a robot model
- Optionally provides the ability to stream camera images over TCP
- Generalizable to copters and rovers (and probably more)
- Supports multi-vehicle simulation (including of multiple types)
- Requires no non-standard libraries (neither does current)

Higher fidelity example worlds
- Iris quadcopter demo world similar to gazebo
- Crazyflie quadcopter demo world (crazyflie models baked into webots)
- Pioneer3at rover demo world (pioneer models baked into webots)
2023-01-22 18:19:38 +11:00
Iampete1 baa642896e SITL: update for new airspeed tube order param name 2023-01-03 10:17:56 +11:00
Andrew Tridgell 057190caa8 SITL: update SITL on hw docs 2022-12-24 07:27:04 +11:00
Andrew Tridgell 0da81f7269 SITL: remove old sitl-on-hw.sh 2022-12-24 07:27:04 +11:00
Andrew Tridgell 87a220991b SITL: new sitl-on-hw.py script
this makes it easier to build SITL on hardware for a wide range of
frames
2022-12-24 07:27:04 +11:00
Peter Barker 1eb5911bf5 SITL: make and use AP_LANDINGGEAR_ENABLED 2022-12-14 18:30:23 +11:00
Andrew Tridgell 7942b58fba SITL: load plane-3d.parm when -f plane-3d is chosen
this gets the right parameters in MissionPlanner SITL
2022-11-10 10:30:53 +11:00
Peter Barker f6d853d629 SITL: look for AP_GyroFFT rather than HAL-DSP support 2022-11-05 14:52:10 +11:00
Randy Mackay 93f62e5abe Tools: SilentWings param file MNT updates
These parameters have been renamed but they were always the defaults
2022-09-06 13:53:25 +09:00
Randy Mackay 5fbaa4f136 SITL: integrate PRX parameter rename 2022-08-24 18:26:27 +10:00
Peter Barker c0ae7fa5f6 SITL: examples: sitl-on-hw.sh add -m for more defaults 2022-08-23 09:01:30 +10:00
Peter Barker d7d7bb6e77 SITL: allow sitl-on-hw.sh to be invoked from any directory 2022-08-23 09:01:30 +10:00
Pierre Kancir b43dd7ba27 SITL: fix python files exec permissions 2022-06-08 08:16:42 +09:00
Pierre Kancir b835395cf9 SITL: fix executable permission and trailing whitespace 2022-06-08 08:16:42 +09:00
Ruffalo-sunghwan dc07747199 SITL : correct comment spelling 2022-05-24 20:27:45 +09:00
Peter Barker 488509353a SITL: add support for Plane SITL-on-hw 2022-05-24 10:35:32 +10:00
Andrew Tridgell 457568d3c5 SITL: removed SIM_WIND_DELAY 2022-05-17 19:34:32 +10:00
Iampete1 a095415702 SITL: examples: evaluate battery: add readme 2022-05-03 10:03:07 +10:00
Iampete1 53f7ad24a8 SITL: add motor + prop evaluation model 2022-05-03 10:03:07 +10:00
Iampete1 d1aa7aa062 SITL: add battery model evaluation example 2022-04-26 10:26:29 +10:00
Andrew Tridgell 4c9a851fc6 SITL: update for changed INS_NOTCH parameter name 2022-04-16 08:14:06 +10:00
Peter Barker ebe2205ba7 SITL: add on-hardware example files 2022-03-17 14:39:55 +11:00
VMsunghwan 224cea979e SITL : fixed typo
line 1119 in pnet.c : to to -> to
line 198 in SIM_Plane.cpp : to to -> to
2022-01-13 09:45:39 +11:00
Andrew Tridgell 19d2dcb413 SITL: removed unnecessary SIM_GPS_DELAY parameters 2022-01-12 07:54:46 +11:00
Andrew Tridgell 0944c24978 SITL: revert compass parameter changes 2021-12-04 16:51:53 +11:00
Iampete1 95713959ec SITL: exmaples: use new compass params 2021-11-30 08:14:43 +09:00
HefnySco 5aa3714e71 WEBOTS_SITL: adjust_params model 2021-11-16 13:30:12 +11:00
Peter Barker 94ad32b91c SITL: remove HIL_MODE vestiges 2021-10-12 08:57:05 +11:00
Stephen Dade e85f803e27 SITL: Expand multi-drone example 2021-10-08 17:29:10 +11:00