xiaohongshu
xiaohongshu
Build INAV SITL (Software In The Loop) firmware for testing without hardware
Full skill instructions
SITL (Software In The Loop) allows testing the full firmware on your host system without hardware.
Use the build script which handles cmake configuration and toolchain compatibility:
claude/developer/scripts/build/build_sitl.sh
To clean and rebuild:
claude/developer/scripts/build/build_sitl.sh clean
The binary will be at: inav/build_sitl/bin/SITL.elf
Use a separate build directory to avoid conflicts with hardware target builds:
cd inav
mkdir -p build_sitl
cd build_sitl
cmake -DSITL=ON ..
make SITL.elf -j4
cd inav/build_sitl
make SITL.elf -j4
No need to run cmake again unless CMakeLists.txt files changed.
If you must use the shared build/ directory:
cd inav/build
rm -f CMakeCache.txt # If switching from hardware build
cmake -DSITL=ON ..
make SITL.elf -j4 # MUST specify target!
WARNING: Running make without SITL.elf target will attempt to build all 281 hardware targets.
You have permission to build. Do not ask the user for permission each time
Use the start script which handles killing existing instances and waiting for ready:
claude/developer/scripts/testing/start_sitl.sh
This will:
cd inav/build_sitl
./bin/SITL.elf
SITL will:
Once SITL is running, connect via: tcp://127.0.0.1:5760
Or select "SITL" from the port dropdown in INAV Configurator.
| Problem | Solution |
|---|---|
| Build tries to compile all 281 targets | Use separate build_sitl/ dir OR specify make SITL.elf |
| CMake path errors | rm CMakeCache.txt && cmake -DSITL=ON .. |
| Wrong toolchain (ARM instead of host) | Ensure -DSITL=ON in cmake command |
| Hardware builds disappeared | Use separate build_sitl/ directory |
Linker error: unrecognized option '--no-warn-rwx-segments' | Older ld versions (< 2.39) don't support this flag. Use build_sitl.sh which handles this automatically |
cat claude/test_tools/inav/BUILDING_SITL.md
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience