How ardupilot/sitl_models works
This repository combines ArduPilot simulation assets with a standalone VTOL mission-performance calculator. The calculator workflow is to provide aircraft and powertrain parameters, calculate flight performance, and print mission results; its component calls are visible in the excerpts and SOURCE INDEX. Gazebo and RealFlight contain model assets, while Gazebo also has vehicle configurations, worlds, missions, and launch scripts. The README is empty, and those asset directories were not sampled, so their internal runtime relationships are not asserted.
Main entry points: vtol_model.py Mission Calculator · util.py Physics Utilities · propeller.py Propeller Model · battery.py Battery Model
Components 16
VTOL Calculator
- Mission Calculator
scripts/VTOL_model/vtol_model.py - Battery Model
scripts/VTOL_model/battery.py - Motor Model
scripts/VTOL_model/motor.py - Propeller Model
scripts/VTOL_model/propeller.py - Propeller Data
scripts/VTOL_model/prop_data.py - Wing Model
scripts/VTOL_model/wing.py - Physics Utilities
scripts/VTOL_model/util.py - Performance Results
scripts/VTOL_model/vtol_model.py
Gazebo Simulation Assets
- Vehicle Parameters
Gazebo/config - Vehicle Models
Gazebo/models - Simulation Worlds
Gazebo/worlds - Mission Plans
Gazebo/missions - Launch Scripts
Gazebo/launch
RealFlight Models
- Aircraft Models
RealFlight
Other components
- Engineer
- SITL User
Connections 14
- Engineer → Mission Calculator: sets parameters
scripts/VTOL_model/vtol_model.py - Mission Calculator → Battery Model: queries
scripts/VTOL_model/vtol_model.py - Mission Calculator → Motor Model: queries
scripts/VTOL_model/vtol_model.py - Mission Calculator → Propeller Model: queries
scripts/VTOL_model/vtol_model.py - Mission Calculator → Wing Model: calculates drag
scripts/VTOL_model/vtol_model.py - Mission Calculator → Performance Results: prints
scripts/VTOL_model/vtol_model.py - Propeller Model → Propeller Data: reads coefficients
scripts/VTOL_model/propeller.py - Battery Model → Physics Utilities: imports
scripts/VTOL_model/battery.py - Motor Model → Physics Utilities: imports
scripts/VTOL_model/motor.py - Propeller Model → Physics Utilities: imports
scripts/VTOL_model/propeller.py - Wing Model → Physics Utilities: imports
scripts/VTOL_model/wing.py - Mission Calculator → Physics Utilities: imports
scripts/VTOL_model/vtol_model.py - SITL User → Vehicle Parameters
- SITL User → Launch Scripts