Skip to content

Instantly share code, notes, and snippets.

@Igor-Misic
Last active June 5, 2023 10:49
Show Gist options
  • Save Igor-Misic/d59c2f7eda52d4596358cbbb4583e883 to your computer and use it in GitHub Desktop.
Save Igor-Misic/d59c2f7eda52d4596358cbbb4583e883 to your computer and use it in GitHub Desktop.
SITL Attach (Gazebo Classic Typhoon_h480)
{
"name": "SITL Attach (Gazebo Classic Typhoon_h480)",
"type": "cppdbg",
"request": "attach",
"program": "${command:cmake.launchTargetPath}",
"args": [
"${workspaceFolder}/ROMFS/px4fmu_common"
],
"stopAtEntry": false,
"cwd": "${command:cmake.buildDirectory}/rootfs",
"environment": [
{
"name": "PX4_SIM_MODEL",
"value": "gazebo-classic_typhoon_h480"
}
],
"linux": {
"MIMode": "gdb",
"externalConsole": false,
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "PX4 ignore wq signals",
"text": "handle SIGCONT nostop noprint nopass",
"ignoreFailures": true
}
]
},
"osx": {
"MIMode": "lldb",
"externalConsole": true,
"setupCommands": [
{
"text": "pro hand -p true -s false -n false SIGCONT",
}
]
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment