matlab-create-uav-scenario
Create and simulate UAV scenarios with terrain, buildings, platforms, and sensors using uavScenario. Use when building a UAV simulation, UAV simulator, or UAV scenario in MATLAB. Covers addMesh for terrain/building import, uavPlatform with updateMesh, uavSensor adaptor pattern for GPS/IMU, and the setup/advance simulation loop. Triggers on: uavScenario, UAV simulation, UAV simulator, multirotor simulation, quadrotor scenario, terrain import, building import, GPS sensor simulation.
npx skills add matlab/matlab-agentic-toolkit --skill matlab-create-uav-scenario --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Create UAV Scenario Build and simulate UAV scenarios with terrain, buildings, sensor-equipped platforms, and 3D visualization using the UAV Toolbox `uavScenario` framework. ## When to Use - Creating a UAV simulation environment with real-world terrain or buildings - Adding sensor-equipped UAV platforms (GPS, IMU, lidar) to a scenario - Running a time-stepping simulation loop with sensor readings - Visualizing UAV flight in 3D with `show3D` ## When NOT to Use - Generating flight trajectories (waypoint design, min-snap) — use trajectory skill instead - Simulink-based UAV simulation (UAV Toolbox Simulink blocks) - Path planning and obstacle avoidance algorithms - Coordinate conversion only (`ned2lla`, `lla2ned`) — use these directly ## Workflow 1. **Create scenario** — `uavScenario` with `ReferenceLocation` and `UpdateRate` 2. **Add terrain** — `addMesh(scene,"terrain",...)` with GMTED2010 or custom DTED 3. **Add buildings** — `addMesh(scene,"buildings",...)` from OSM file 4. **Add platform** — `uavPlatform` with trajectory, then `updateMesh` 5. **Attach sensors** — `uavSensor` adaptor binding sensor to platform 6. **Run simulation** — `setup` → `advance` → `updateSensors` → `read`
- When to Use
- When NOT to Use
- Workflow
- Key Functions
- Patterns
- Create Scenario with Reference Location
- Add Terrain (GMTED2010)
- Add Buildings (OSM File)
- Add Platform with Mesh
- Attach Sensors (uavSensor Adaptor Pattern)
- Simulation Loop
- Visualize with show3D
- Trajectory Trail (Flight Path Line)
- Body-Frame Marker (Visibility in Large Scenes)
What does the matlab-create-uav-scenario skill do?
Create and simulate UAV scenarios with terrain, buildings, platforms, and sensors using uavScenario. Use when building a UAV simulation, UAV simulator, or UAV scenario in MATLAB. Covers addMesh for terrain/building import, uavPlatform with updateMesh, uavSensor adaptor pattern for GPS/IMU, and the setup/advance simulation loop. Triggers on: uavScenario, UAV simulation, UAV simulator, multirotor simulation, quadrotor scenario, terrain import, building import, GPS sensor simulation.
How do I install it?
Run `npx skills add matlab/matlab-agentic-toolkit --skill matlab-create-uav-scenario --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From matlab/matlab-agentic-toolkit, a repository with 868 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
