Run ArduPilot SITL on your computer and connect Mission Control to it through the bundled WebSocket bridge with its per-run token.
SITL (software in the loop) runs the real ArduPilot autopilot on your computer with simulated physics. The SITL tool in the Mission Control repo launches ArduPilot SITL and bridges its TCP MAVLink stream to a WebSocket the browser can open. Unlike demo mode, which uses mock telemetry, SITL runs actual autopilot code: missions, parameters, modes, failsafes and calibrations behave as they do on hardware.
SITL is the place to rehearse arming, takeoff and missions, but behaviour on a real aircraft can differ. Read Safety before flying hardware.
The setup script clones ArduPilot to ~/.ardupilot (or $ARDUPILOT_HOME) and builds ArduCopter for the SITL board:
cd ADOSMissionControlGCS/tools/sitlbash scripts/setup-ardupilot.sh
To build by hand, follow the ArduPilot build instructions, then run ./waf configure --board sitl and ./waf copter (or plane, rover) in the ArduPilot tree.
2
Install the tool
npm install
Connect Mission Control
1
Start the tool
npx tsx src/index.ts
It launches ArduCopter SITL and prints a URL such as ws://[::1]:5760/?token=<token>. The token is random and changes on every run.
2
Open the Connect dialog
Run Mission Control on the same machine (http://localhost:4000). Click + at the top of the Fleet sidebar.
3
Paste the URL
Choose the WebSocket method and paste the full URL, ?token= included. The SITL #1 to SITL #5 chips fill in the port for each drone; you still paste the token. Click Connect. The simulated copter appears with live telemetry.
Add a node with the WebSocket method and a pasted SITL URL (placeholder token).
The bridge refuses any connection without the token. It accepts browser pages served from localhost, 127.0.0.1 or [::1]; add another exact origin with --allow-origin. It binds the IPv6 loopback ::1 because each drone’s WebSocket shares its SITL TCP port number and SITL listens on IPv4.
Options
Flag
Default
Description
--drones <N>
1
Number of SITL instances
--ws-port <port>
5760
WebSocket port for the first drone
--ws-host <addr>
::1
WebSocket bind address (this machine only by default)
--allow-origin <origin>
none
Also accept a Mission Control page from this exact origin. Repeatable
--lat <degrees>
12.9716
Home latitude
--lon <degrees>
77.5946
Home longitude
--speedup <N>
1
Simulation speed multiplier
--wind <speed,dir>
none
Wind speed (m/s) and direction (degrees), for example 5,180
--ardupilot <path>
~/.ardupilot
Path to the ArduPilot source tree
--vehicle <type>
ArduCopter
ArduCopter, ArduPlane or ArduRover
--preset <id>
none
Build preset: names the simulated vehicle (frame, parameters, vehicle type)
--list-presets
List the build presets and exit
--scenario <id>
none
Named test scenario (sets drones, preset, location, wind and speed-up)
--list-scenarios
List the scenarios and exit
--with-gazebo
off
Run with Gazebo physics
--gazebo-world <name>
multi-copter
Gazebo world
--gazebo-headless
off
Run Gazebo without its GUI
--no-dashboard
off
Log to stdout instead of the terminal dashboard
# A planenpx tsx src/index.ts --vehicle ArduPlane# A different home locationnpx tsx src/index.ts --lat -33.8568 --lon 151.2153# Wind from the south at 5 m/s, running at 2xnpx tsx src/index.ts --wind 5,180 --speedup 2# A 7-inch long-range build presetnpx tsx src/index.ts --preset 7in-long-range
Multiple drones
--drones N starts N instances, each with its own system ID and its own port: 5760 for the first drone, then 5770, 5780 and so on (10 apart). The bridge runs one WebSocket per drone on that drone’s port and prints one URL per drone; all share the run’s token.
npx tsx src/index.ts --drones 3
Connect Mission Control once per printed URL. Each drone appears in the Fleet sidebar.
The bridge relays binary MAVLink frames in both directions without parsing or changing them.
Test a mission
Plan a mission in the Plan tab and upload it to the SITL drone.
Arm, take off and switch to AUTO.
Watch it fly on the node’s Flight tab. Afterwards, review it in Flight logs.
Troubleshooting
SITL not found
The tool looks for ArduPilot in ~/.ardupilot. Point it elsewhere with --ardupilot, and make sure you built the vehicle you asked for (./waf copter, ./waf plane).
WebSocket connection refused
Paste the whole printed URL, including ?token=. The token changes every run, so copy it again after a restart. Use ws://[::1]:..., not ws://localhost:..., and open Mission Control from localhost or add its origin with --allow-origin.
No telemetry after connecting
SITL takes a few seconds to start. Wait until the tool reports that ArduPilot is ready, then reconnect.
The drone does not take off
Wait for the simulated GPS fix, then arm in a manual mode first and switch to Loiter or AUTO after takeoff.
Next steps
3D mission preview
Preview a plan in 3D before flying it in SITL.
Connect a drone
Every connection method.
Last modified on November 28, 2026
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ADOS Documentation","colors":{"primary":"#3A82FF","light":"#5B9AFF","dark":"#2563EB"},"logo":{"light":"https://mintcdn.com/altnautica/IBQbVN_Vxqv6ooOG/logo/light.svg?fit=max\u0026auto=format\u0026n=IBQbVN_Vxqv6ooOG\u0026q=85\u0026s=6d8e954095459b6cc06224800f8d3a93","dark":"https://mintcdn.com/altnautica/g1V8YNc0sipIiAcC/logo/dark.svg?fit=max\u0026auto=format\u0026n=g1V8YNc0sipIiAcC\u0026q=85\u0026s=5b88e11a6dfa777f10b3d6e8bf457222"},"favicon":"https://mintcdn.com/altnautica/g1V8YNc0sipIiAcC/favicon.svg?fit=max\u0026auto=format\u0026n=g1V8YNc0sipIiAcC\u0026q=85\u0026s=3acaafabff4f10a11a7a3027dd1e83e3","appearance":{"default":"dark"},"background":{"color":{"light":"#FFFFFF","dark":"#000000"}},"navbar":{"links":[{"href":"https://discord.gg/uxbvuD4d5q","type":"discord"},{"href":"https://github.com/altnautica","type":"github"}],"primary":{"type":"button","label":"Try Demo","href":"https://command.altnautica.com"}},"footer":{"socials":{"github":"https://github.com/altnautica","discord":"https://discord.gg/uxbvuD4d5q","linkedin":"https://www.linkedin.com/company/altnautica","youtube":"https://www.youtube.com/@altnautica"}},"styling":{"codeblocks":{"theme":{"light":"github-light","dark":"github-dark"}},"latex":false},"metadata":{"timestamp":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"altnautica","hasAudioNarration":false,"actualSubdomain":"altnautica","customDomains":["docs.altnautica.com"],"gitSource":{"type":"github","owner":"altnautica","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0e9d88c5499b86964ff00e","clientVersion":"0.0.4410","searchFilterCounts":[{"language":"default","tag":"Developers","count":45},{"language":"default","tag":"Drone Agent","count":42},{"language":"default","tag":"Mission Control","count":35},{"language":"default","tag":"Get started","count":28},{"language":"default","tag":"Ground Agent","count":25},{"language":"default","tag":"Platform","count":17},{"language":"default","tag":"Reference","count":15},{"language":"default","tag":"Link, video and flight systems","count":15},{"language":"default","tag":"Browser dashboard","count":15},{"language":"default","tag":"Extensions","count":15}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"mission-control/sitl-testing","slug":"/mission-control/sitl-testing","pageMetadata":{"title":"SITL testing","description":"Run ArduPilot SITL on your computer and connect Mission Control to it through the bundled WebSocket bridge with its per-run token.","icon":"flask-vial","href":"/mission-control/sitl-testing"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Run ArduPilot SITL on your computer and connect Mission Control to it through the bundled WebSocket bridge with its per-run token.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,CodeBlock,Frame,Heading,OptimizedImage,Step,Steps,Table,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`SITL (software in the loop) runs the real ArduPilot autopilot on your computer with simulated physics. The SITL tool in the Mission Control repo launches ArduPilot SITL and bridges its TCP MAVLink stream to a WebSocket the browser can open. Unlike `,_jsx(_components.a,{href:`/mission-control/dashboard`,children:`demo mode`}),`, which uses mock telemetry, SITL runs actual autopilot code: missions, parameters, modes, failsafes and calibrations behave as they do on hardware.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`SITL is the place to rehearse arming, takeoff and missions, but behaviour on a real aircraft can differ. Read `,_jsx(_components.a,{href:`/operations/safety`,children:`Safety`}),` before flying hardware.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`set-up`,children:`Set up`}),`\n`,_jsxs(_components.p,{children:[`The tool lives at `,_jsx(_components.code,{children:`tools/sitl/`}),` in the `,_jsx(_components.a,{href:`https://github.com/altnautica/ADOSMissionControlGCS`,children:`Mission Control repository`}),`.`]}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Build ArduPilot SITL`,children:[_jsxs(_components.p,{children:[`The setup script clones ArduPilot to `,_jsx(_components.code,{children:`~/.ardupilot`}),` (or `,_jsx(_components.code,{children:`$ARDUPILOT_HOME`}),`) and builds ArduCopter for the SITL board:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`cd`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` ADOSMissionControlGCS/tools/sitl`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`bash`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` scripts/setup-ardupilot.sh`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`To build by hand, follow the `,_jsx(_components.a,{href:`https://ardupilot.org/dev/docs/building-setup-linux.html`,children:`ArduPilot build instructions`}),`, then run `,_jsx(_components.code,{children:`./waf configure --board sitl`}),` and `,_jsx(_components.code,{children:`./waf copter`}),` (or `,_jsx(_components.code,{children:`plane`}),`, `,_jsx(_components.code,{children:`rover`}),`) in the ArduPilot tree.`]})]}),_jsx(Step,{title:`Install the tool`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`npm`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` install`})]}),`\n`]})})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`connect-mission-control`,children:`Connect Mission Control`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Start the tool`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`npx`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` tsx`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` src/index.ts`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`It launches ArduCopter SITL and prints a URL such as `,_jsx(_components.code,{children:`ws://[::1]:5760/?token=\u003ctoken>`}),`. The token is random and changes on every run.`]})]}),_jsx(Step,{title:`Open the Connect dialog`,children:_jsxs(_components.p,{children:[`Run Mission Control on the same machine (`,_jsx(_components.code,{children:`http://localhost:4000`}),`). Click `,_jsx(_components.strong,{children:`+`}),` at the top of the Fleet sidebar.`]})}),_jsxs(Step,{title:`Paste the URL`,children:[_jsxs(_components.p,{children:[`Choose the `,_jsx(_components.strong,{children:`WebSocket`}),` method and paste the full URL, `,_jsx(_components.code,{children:`?token=`}),` included. The `,_jsx(_components.strong,{children:`SITL #1`}),` to `,_jsx(_components.strong,{children:`SITL #5`}),` chips fill in the port for each drone; you still paste the token. Click `,_jsx(_components.strong,{children:`Connect`}),`. The simulated copter appears with live telemetry.`]}),_jsx(Frame,{caption:`Add a node with the WebSocket method and a pasted SITL URL (placeholder token).`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/altnautica/IBQbVN_Vxqv6ooOG/images/mission-control/sitl-connect.png?fit=max\u0026auto=format\u0026n=IBQbVN_Vxqv6ooOG\u0026q=85\u0026s=ae15814f11aed2bbfd3c623b49f41d09`,alt:`Add a node dialog with WebSocket selected, a ws://[::1]:5760/?token= URL pasted and the SITL port chips`,\"data-og-width\":`1600`,width:`1600`,\"data-og-height\":`1000`,height:`1000`,\"data-path\":`images/mission-control/sitl-connect.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/altnautica/IBQbVN_Vxqv6ooOG/images/mission-control/sitl-connect.png?w=280\u0026fit=max\u0026auto=format\u0026n=IBQbVN_Vxqv6ooOG\u0026q=85\u0026s=a784756af484481bc91d8a7bf3107e28 280w, https://mintcdn.com/altnautica/IBQbVN_Vxqv6ooOG/images/mission-control/sitl-connect.png?w=560\u0026fit=max\u0026auto=format\u0026n=IBQbVN_Vxqv6ooOG\u0026q=85\u0026s=3da686d53ded1e95455fd20b38e7f257 560w, https://mintcdn.com/altnautica/IBQbVN_Vxqv6ooOG/images/mission-control/sitl-connect.png?w=840\u0026fit=max\u0026auto=format\u0026n=IBQbVN_Vxqv6ooOG\u0026q=85\u0026s=60e67ab90fc6d82611f4f2c5daf9353e 840w, https://mintcdn.com/altnautica/IBQbVN_Vxqv6ooOG/images/mission-control/sitl-connect.png?w=1100\u0026fit=max\u0026auto=format\u0026n=IBQbVN_Vxqv6ooOG\u0026q=85\u0026s=91d0f3bd7fa56e3abdf78ded23c3a35d 1100w, https://mintcdn.com/altnautica/IBQbVN_Vxqv6ooOG/images/mission-control/sitl-connect.png?w=1650\u0026fit=max\u0026auto=format\u0026n=IBQbVN_Vxqv6ooOG\u0026q=85\u0026s=22b39d0db02f87b1044dc15ba7f754f3 1650w, https://mintcdn.com/altnautica/IBQbVN_Vxqv6ooOG/images/mission-control/sitl-connect.png?w=2500\u0026fit=max\u0026auto=format\u0026n=IBQbVN_Vxqv6ooOG\u0026q=85\u0026s=172715e9e298094ec503e7ef15bdd77e 2500w`})})]})]}),`\n`,_jsxs(_components.p,{children:[`The bridge refuses any connection without the token. It accepts browser pages served from `,_jsx(_components.code,{children:`localhost`}),`, `,_jsx(_components.code,{children:`127.0.0.1`}),` or `,_jsx(_components.code,{children:`[::1]`}),`; add another exact origin with `,_jsx(_components.code,{children:`--allow-origin`}),`. It binds the IPv6 loopback `,_jsx(_components.code,{children:`::1`}),` because each drone’s WebSocket shares its SITL TCP port number and SITL listens on IPv4.`]}),`\n`,_jsx(Heading,{level:`2`,id:`options`,children:`Options`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--drones \u003cN>`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1`})}),_jsx(_components.td,{children:`Number of SITL instances`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--ws-port \u003cport>`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5760`})}),_jsx(_components.td,{children:`WebSocket port for the first drone`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--ws-host \u003caddr>`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`::1`})}),_jsx(_components.td,{children:`WebSocket bind address (this machine only by default)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--allow-origin \u003corigin>`})}),_jsx(_components.td,{children:`none`}),_jsx(_components.td,{children:`Also accept a Mission Control page from this exact origin. Repeatable`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--lat \u003cdegrees>`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`12.9716`})}),_jsx(_components.td,{children:`Home latitude`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--lon \u003cdegrees>`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`77.5946`})}),_jsx(_components.td,{children:`Home longitude`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--speedup \u003cN>`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1`})}),_jsx(_components.td,{children:`Simulation speed multiplier`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--wind \u003cspeed,dir>`})}),_jsx(_components.td,{children:`none`}),_jsxs(_components.td,{children:[`Wind speed (m/s) and direction (degrees), for example `,_jsx(_components.code,{children:`5,180`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--ardupilot \u003cpath>`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`~/.ardupilot`})}),_jsx(_components.td,{children:`Path to the ArduPilot source tree`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--vehicle \u003ctype>`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ArduCopter`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`ArduCopter`}),`, `,_jsx(_components.code,{children:`ArduPlane`}),` or `,_jsx(_components.code,{children:`ArduRover`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--preset \u003cid>`})}),_jsx(_components.td,{children:`none`}),_jsx(_components.td,{children:`Build preset: names the simulated vehicle (frame, parameters, vehicle type)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--list-presets`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`List the build presets and exit`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--scenario \u003cid>`})}),_jsx(_components.td,{children:`none`}),_jsx(_components.td,{children:`Named test scenario (sets drones, preset, location, wind and speed-up)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--list-scenarios`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`List the scenarios and exit`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--with-gazebo`})}),_jsx(_components.td,{children:`off`}),_jsx(_components.td,{children:`Run with Gazebo physics`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--gazebo-world \u003cname>`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`multi-copter`})}),_jsx(_components.td,{children:`Gazebo world`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--gazebo-headless`})}),_jsx(_components.td,{children:`off`}),_jsx(_components.td,{children:`Run Gazebo without its GUI`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--no-dashboard`})}),_jsx(_components.td,{children:`off`}),_jsx(_components.td,{children:`Log to stdout instead of the terminal dashboard`})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A737D`,\"--shiki-dark\":`#6A737D`},children:`# A plane`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`npx`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` tsx`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` src/index.ts`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` --vehicle`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` ArduPlane`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A737D`,\"--shiki-dark\":`#6A737D`},children:`# A different home location`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`npx`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` tsx`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` src/index.ts`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` --lat`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` -33.8568`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` --lon`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` 151.2153`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A737D`,\"--shiki-dark\":`#6A737D`},children:`# Wind from the south at 5 m/s, running at 2x`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`npx`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` tsx`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` src/index.ts`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` --wind`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` 5,180`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` --speedup`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` 2`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A737D`,\"--shiki-dark\":`#6A737D`},children:`# A 7-inch long-range build preset`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`npx`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` tsx`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` src/index.ts`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` --preset`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` 7in-long-range`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`multiple-drones`,children:`Multiple drones`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`--drones N`}),` starts N instances, each with its own system ID and its own port: 5760 for the first drone, then 5770, 5780 and so on (10 apart). The bridge runs one WebSocket per drone on that drone’s port and prints one URL per drone; all share the run’s token.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`npx`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` tsx`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` src/index.ts`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` --drones`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` 3`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Connect Mission Control once per printed URL. Each drone appears in the Fleet sidebar.`}),`\n`,_jsx(Heading,{level:`2`,id:`how-the-bridge-works`,children:`How the bridge works`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`ArduPilot SITL (TCP :5760) -> bridge (Node.js) -> ws://[::1]:5760/?token=... -> Mission Control`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The bridge relays binary MAVLink frames in both directions without parsing or changing them.`}),`\n`,_jsx(Heading,{level:`2`,id:`test-a-mission`,children:`Test a mission`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Plan a mission in the `,_jsx(_components.a,{href:`/mission-control/mission-planning`,children:`Plan tab`}),` and upload it to the SITL drone.`]}),`\n`,_jsx(_components.li,{children:`Arm, take off and switch to AUTO.`}),`\n`,_jsxs(_components.li,{children:[`Watch it fly on the node’s `,_jsx(_components.strong,{children:`Flight`}),` tab. Afterwards, review it in `,_jsx(_components.a,{href:`/mission-control/flight-logs`,children:`Flight logs`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`SITL not found`,id:`sitl-not-found`,children:_jsxs(_components.p,{children:[`The tool looks for ArduPilot in `,_jsx(_components.code,{children:`~/.ardupilot`}),`. Point it elsewhere with `,_jsx(_components.code,{children:`--ardupilot`}),`, and make sure you built the vehicle you asked for (`,_jsx(_components.code,{children:`./waf copter`}),`, `,_jsx(_components.code,{children:`./waf plane`}),`).`]})}),_jsx(Accordion,{title:`WebSocket connection refused`,id:`websocket-connection-refused`,children:_jsxs(_components.p,{children:[`Paste the whole printed URL, including `,_jsx(_components.code,{children:`?token=`}),`. The token changes every run, so copy it again after a restart. Use `,_jsx(_components.code,{children:`ws://[::1]:...`}),`, not `,_jsx(_components.code,{children:`ws://localhost:...`}),`, and open Mission Control from `,_jsx(_components.code,{children:`localhost`}),` or add its origin with `,_jsx(_components.code,{children:`--allow-origin`}),`.`]})}),_jsx(Accordion,{title:`No telemetry after connecting`,id:`no-telemetry-after-connecting`,children:_jsx(_components.p,{children:`SITL takes a few seconds to start. Wait until the tool reports that ArduPilot is ready, then reconnect.`})}),_jsx(Accordion,{title:`The drone does not take off`,id:`the-drone-does-not-take-off`,children:_jsx(_components.p,{children:`Wait for the simulated GPS fix, then arm in a manual mode first and switch to Loiter or AUTO after takeoff.`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`3D mission preview`,icon:`globe`,href:`/mission-control/simulation`,children:_jsx(_components.p,{children:`Preview a plan in 3D before flying it in SITL.`})}),_jsx(Card,{title:`Connect a drone`,icon:`plug`,href:`/mission-control/connecting`,children:_jsx(_components.p,{children:`Every connection method.`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"github-light","dark":"github-dark"}},"config":{},"pageMetadata":{"title":"SITL testing","description":"Run ArduPilot SITL on your computer and connect Mission Control to it through the bundled WebSocket bridge with its per-run token.","icon":"flask-vial","href":"/mission-control/sitl-testing"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Set up","slug":"set-up","depth":2,"children":[]},{"title":"Connect Mission Control","slug":"connect-mission-control","depth":2,"children":[]},{"title":"Options","slug":"options","depth":2,"children":[]},{"title":"Multiple drones","slug":"multiple-drones","depth":2,"children":[]},{"title":"How the bridge works","slug":"how-the-bridge-works","depth":2,"children":[]},{"title":"Test a mission","slug":"test-a-mission","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"altnautica","siteName":"ADOS Documentation","title":"SITL testing - ADOS Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-30T06:07:24.542Z","gitLastModified":"2026-11-28T09:43:24.000Z","originalFileLocation":"mission-control/sitl-testing.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Run ArduPilot SITL on your computer and connect Mission Control to it through the bundled WebSocket bridge with its per-run token.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ADOS Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/altnautica/2k7cM_ypPUeRRYQY/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/altnautica/2k7cM_ypPUeRRYQY/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/altnautica/2k7cM_ypPUeRRYQY/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/altnautica/2k7cM_ypPUeRRYQY/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/altnautica/2k7cM_ypPUeRRYQY/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/altnautica/2k7cM_ypPUeRRYQY/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/altnautica/2k7cM_ypPUeRRYQY/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/altnautica/2k7cM_ypPUeRRYQY/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/altnautica/2k7cM_ypPUeRRYQY/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"SITL testing - ADOS Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Run ArduPilot SITL on your computer and connect Mission Control to it through the bundled WebSocket bridge with its per-run token.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ADOS Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.altnautica.com/mission-control/sitl-testing\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://altnautica.mintlify.site/_mintlify/api/og/v2?division=Test+without+hardware\u0026amp;title=SITL+testing\u0026amp;description=Run+ArduPilot+SITL+on+your+computer+and+connect+Mission+Control+to+it+through+the+bundled+WebSocket+bridge+with+its+per-run+token.\u0026amp;theme=4b4f92e34c330e487f042c7f\u0026amp;signature=81941e6f92af8573a5023662fb7454d2c5162ef9487b021f76c3316f1f4b9503\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"SITL testing - ADOS Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Run ArduPilot SITL on your computer and connect Mission Control to it through the bundled WebSocket bridge with its per-run token.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://altnautica.mintlify.site/_mintlify/api/og/v2?division=Test+without+hardware\u0026amp;title=SITL+testing\u0026amp;description=Run+ArduPilot+SITL+on+your+computer+and+connect+Mission+Control+to+it+through+the+bundled+WebSocket+bridge+with+its+per-run+token.\u0026amp;theme=4b4f92e34c330e487f042c7f\u0026amp;signature=81941e6f92af8573a5023662fb7454d2c5162ef9487b021f76c3316f1f4b9503\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/altnautica/2k7cM_ypPUeRRYQY/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ADOS Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3A82FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.altnautica.com/mission-control/sitl-testing\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/mission-control/sitl-testing.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.altnautica.com/#organization\",\"name\":\"ADOS Documentation\",\"url\":\"https://docs.altnautica.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/altnautica/IBQbVN_Vxqv6ooOG/logo/light.svg?fit=max\u0026auto=format\u0026n=IBQbVN_Vxqv6ooOG\u0026q=85\u0026s=6d8e954095459b6cc06224800f8d3a93\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.altnautica.com#website\",\"name\":\"ADOS Documentation\",\"url\":\"https://docs.altnautica.com\",\"publisher\":{\"@id\":\"https://docs.altnautica.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.altnautica.com/mission-control/sitl-testing#webpage\",\"url\":\"https://docs.altnautica.com/mission-control/sitl-testing\",\"name\":\"SITL testing\",\"description\":\"Run ArduPilot SITL on your computer and connect Mission Control to it through the bundled WebSocket bridge with its per-run token.\",\"dateModified\":\"2026-11-28T09:43:24.000Z\",\"isPartOf\":{\"@id\":\"https://docs.altnautica.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.altnautica.com/mission-control/sitl-testing#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.altnautica.com/mission-control/sitl-testing#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Test without hardware\",\"item\":\"https://docs.altnautica.com/mission-control/simulation\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SITL testing\",\"item\":\"https://docs.altnautica.com/mission-control/sitl-testing\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.altnautica.com/mission-control/sitl-testing#article\",\"headline\":\"SITL testing\",\"name\":\"SITL testing\",\"description\":\"Run ArduPilot SITL on your computer and connect Mission Control to it through the bundled WebSocket bridge with its per-run token.\",\"url\":\"https://docs.altnautica.com/mission-control/sitl-testing\",\"mainEntityOfPage\":{\"@id\":\"https://docs.altnautica.com/mission-control/sitl-testing#webpage\"},\"dateModified\":\"2026-11-28T09:43:24.000Z\",\"publisher\":{\"@id\":\"https://docs.altnautica.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.altnautica.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ADOS Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ADOS Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/mission-control/sitl-testing.md","siteName":"ADOS Documentation","nav":{"global":null,"tabs":[{"tab":"Get started","icon":"rocket","pages":[{"title":"Get started","href":"/getting-started/introduction"}]},{"tab":"Mission Control","icon":"display","groups":[{"group":"Get started","pages":[{"title":"Mission Control overview","sidebarTitle":"Overview","icon":"display","href":"/mission-control/overview"},{"title":"Install Mission Control","sidebarTitle":"Installation","icon":"download","href":"/mission-control/installation"},{"title":"Mission Control desktop app","sidebarTitle":"Desktop app","icon":"desktop","href":"/mission-control/desktop-app"},{"title":"Connect Mission Control to a drone","sidebarTitle":"Connecting","icon":"plug","href":"/mission-control/connecting"},{"title":"Pairing links and this computer","sidebarTitle":"Pairing links","icon":"link","href":"/mission-control/pairing-links"}]},{"group":"Fly","pages":[{"title":"Dashboard and fleet","icon":"grid-2","href":"/mission-control/dashboard"},{"title":"Nodes and Swarm views","icon":"network-wired","href":"/mission-control/nodes-fleet-view"},{"title":"Flight tab: cockpit and Skills","icon":"gamepad","href":"/mission-control/cockpit"},{"title":"Mission Control telemetry","sidebarTitle":"Telemetry","icon":"chart-line","href":"/mission-control/telemetry"},{"title":"Mission Control video","sidebarTitle":"Video feed","icon":"video","href":"/mission-control/video-feed"},{"title":"Live map","sidebarTitle":"Live map","icon":"map","href":"/mission-control/live-map"}]},{"group":"Plan and review","pages":[{"title":"Mission planning","icon":"route","href":"/mission-control/mission-planning"},{"title":"Pattern generators","icon":"vector-polygon","href":"/mission-control/pattern-generators"},{"title":"Geofences and rally points","icon":"shield-halved","href":"/mission-control/geofences-rally"},{"title":"Mission file formats","sidebarTitle":"File formats","icon":"file-export","href":"/mission-control/file-formats"},{"title":"Flight logs","icon":"clock-rotate-left","href":"/mission-control/flight-logs"}]},{"group":"Firmware support","pages":[{"title":"Firmware comparison","icon":"table-columns","href":"/mission-control/firmware-comparison"},{"title":"iNav guide","icon":"plane","href":"/mission-control/inav-guide"}]},{"group":"Configure the flight controller","pages":[{"title":"Sensor calibration","sidebarTitle":"Calibration","icon":"compass","href":"/mission-control/calibration"},{"title":"Flight controller setup","sidebarTitle":"FC configuration","icon":"sliders","href":"/mission-control/fc-configuration"},{"title":"Flight controller parameters","sidebarTitle":"Parameters","icon":"table-list","href":"/mission-control/parameters"},{"title":"MAVLink signing in Mission Control","sidebarTitle":"MAVLink signing","icon":"shield-check","href":"/mission-control/mavlink-signing"},{"title":"Flash Tool","icon":"bolt","href":"/mission-control/flash-tool"}]},{"group":"Nodes","pages":[{"title":"Node configuration in Mission Control","sidebarTitle":"Node configuration","icon":"sliders","href":"/mission-control/node-configuration"},{"title":"Ground station node panel","sidebarTitle":"Ground station panel","icon":"tower-broadcast","href":"/mission-control/ground-station-panel"}]},{"group":"Test without hardware","pages":[{"title":"3D mission preview","description":"Preview the current mission on a 3D CesiumJS globe in the Simulate tab, and overlay a flown log on the plan.","icon":"globe","href":"/mission-control/simulation"},{"title":"SITL testing","icon":"flask-vial","href":"/mission-control/sitl-testing"}]},{"group":"Cloud, AI and settings","pages":[{"title":"Mission Control cloud features","sidebarTitle":"Cloud features","description":"What signing in to a Convex backend adds to Mission Control: fleet sync, the cloud relay, flight log sync, MCP remote reach, roles and the community pages.","icon":"cloud","href":"/mission-control/cloud-features"},{"title":"MCP tab","icon":"robot","href":"/mission-control/mcp"},{"title":"Mission Control settings","sidebarTitle":"Settings","icon":"gear","href":"/mission-control/settings"}]},{"group":"Android GCS","pages":[{"title":"Android GCS","icon":"android","href":"/android/overview"},{"title":"Install the Android GCS","sidebarTitle":"Install","icon":"download","href":"/android/install"},{"title":"Skills and controls","sidebarTitle":"Skills and controls","icon":"gamepad","href":"/android/skills-and-controls"},{"title":"Extensions on Android","sidebarTitle":"Extensions","icon":"puzzle-piece","href":"/android/extensions"},{"title":"Phone radio","sidebarTitle":"Phone radio","icon":"tower-cell","href":"/android/phone-radio"}]}]},{"tab":"Drone Agent","icon":"microchip","pages":[{"title":"Drone Agent","href":"/drone-agent/overview"}]},{"tab":"Ground Agent","icon":"tower-broadcast","pages":[{"title":"Ground Agent","href":"/ground-agent/overview"}]},{"tab":"Extensions","icon":"puzzle-piece","pages":[{"title":"Extensions","href":"/drone-agent/extensions-catalog"}]},{"tab":"Operations","icon":"shield-halved","pages":[{"title":"Operations","href":"/operations/safety"}]},{"tab":"Platform","icon":"sitemap","pages":[{"title":"Platform","href":"/architecture/system-overview"}]},{"tab":"Developers","icon":"code","pages":[{"title":"Developers","href":"/developers/overview"}]}]},"basePath":"","title":"SITL testing - ADOS Documentation","deploymentId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","buildId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-BNZBpOKW.js","DynamicMarkdown-F4EfLno9.js","zoom-image-lightbox-CbF0jxOW.js","lightbox-handle-r17bVUz3.js"]}