Commit Graph

116 Commits

Author SHA1 Message Date
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
Rhys Mainwaring 6cb4e6b31d SITL: update simpleRover C++ JSON interface example
- Provide a cmake file for cross platform builds
- Modify the example to respond to throttle commands on RC channel 3 (default for Rover)
- Add more detail to readme

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2021-09-14 09:54:39 +10:00
Iampete1 8c37d08379 SITL: Examples: SilentWings: remove AUTO_FBW_STEER 2021-09-12 22:12:32 -05:00
Iampete1 999c26926a SITL: examples: SilentWings: remove ALT_CTRL_ALG 2021-09-09 11:07:07 +01:00
TunaLobster c20914c0c6 SITL: Add C++ library for JSON interface
Includes examples for a 1-D rover, minimum, and a copy of Socket as SocketExample.
2021-08-31 14:28:03 +10:00
Gone4Dirt b402a50bb2 SITL: Remove RPM params from examples that are set to defaults 2021-08-25 09:36:58 +10:00
Josh Henderson e8dcdd60c5 SITL: param use baro temp_board_offset instead of temp_flight 2021-08-24 09:55:01 +10:00
Mohammad Hefny 2a14181e69 update to new files names 2021-08-24 07:45:41 +10:00
Mohammad Hefny ac30fbd7b0 SITL: Webots2021b Compatible 2021-08-24 07:45:41 +10:00
Rishabh 8aa5be2a08 SITL: Change Morse Ackermann model param 2021-08-09 14:54:11 +09:00
Peter Barker 3ea3566477 Tools: add follow-copter.sh for SITL
Another copy of this script -  but this one doesn't need Morse or AirSim
2021-06-17 16:23:08 +10:00
Andrew Tridgell 5818d6040c SITL: convert param file for new plane PID system 2021-04-15 06:57:16 +10:00
Iampete1 79a6c5d2d5 SITL: Examples: JSON: MATLAB: add legacy Simulink files for 2018b 2021-04-06 10:45:37 +10:00
Samuel Tabor a301808e7a SITL: Add parsing of airspeed to SIM_JSON 2021-03-31 19:26:02 +11:00
Andrew Tridgell b5089580a9 SITL: cleanup IMU parameters
allow for biases per IMU
2021-01-21 13:09:21 +11:00
Peter Barker 995f5d1dad SITL: increase quad scanner range to 18m
Matches the value we send for Rover, which is useful until we can
reflect on the simulation to discover its maximum range
2021-01-03 18:54:54 +11:00
Rishabh 2f5f55f680 SITL: Added quadcopter morse example with laser scanner 2021-01-03 18:54:54 +11:00
Andrew Tridgell 445759295d SITL: fixed use of GND prefix 2020-12-08 13:22:17 +11:00