SITL sihsim make airframes simulator specific

This commit is contained in:
Daniel Agar
2023-01-04 17:44:03 -05:00
parent 95a6eba36c
commit 75125da34c
7 changed files with 46 additions and 11 deletions
+3 -6
View File
@@ -46,7 +46,7 @@
}
},
{
"name": "SITL (sihsim 10040_quadx)",
"name": "SITL (sihsim_quadx SYS_AUTOSTART=10040)",
"type": "cppdbg",
"request": "launch",
"program": "${command:cmake.launchTargetPath}",
@@ -57,15 +57,13 @@
"cwd": "${command:cmake.buildDirectory}/rootfs",
"environment": [
{
"name": "PX4_SIM_MODEL",
"value": "quadx"
"name": "PX4_SYS_AUTOSTART",
"value": "10040"
}
],
"externalConsole": false,
"postDebugTask": "px4_sitl_cleanup",
"linux": {
"MIMode": "gdb",
"externalConsole": false,
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
@@ -81,7 +79,6 @@
},
"osx": {
"MIMode": "lldb",
"externalConsole": true,
"setupCommands": [
{
"text": "pro hand -p true -s false -n false SIGCONT",