2018-12-05 00:11:36 -04:00
|
|
|
{
|
|
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
|
|
// for the documentation about the tasks.json format
|
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
2019-12-01 16:47:29 -04:00
|
|
|
{
|
|
|
|
"label": "jmavsim build",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "ant create_run_jar copy_res",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceRoot}/Tools/jMAVSim"
|
|
|
|
},
|
|
|
|
"problemMatcher": [],
|
|
|
|
"presentation":{
|
|
|
|
"echo": true,
|
|
|
|
"reveal": "never",
|
|
|
|
"focus": false,
|
|
|
|
"panel": "shared",
|
|
|
|
"showReuseMessage": false,
|
|
|
|
"clear": true
|
|
|
|
}
|
|
|
|
},
|
2018-12-05 00:11:36 -04:00
|
|
|
{
|
|
|
|
"label": "jmavsim",
|
|
|
|
"type": "shell",
|
2019-12-01 16:47:29 -04:00
|
|
|
"dependsOn": "jmavsim build",
|
|
|
|
"command": "java -Djava.ext.dirs= -jar jmavsim_run.jar -r 250 -lockstep -tcp localhost:4560 -qgc",
|
2018-12-05 11:54:28 -04:00
|
|
|
"options": {
|
2019-12-01 16:47:29 -04:00
|
|
|
"cwd": "${workspaceRoot}/Tools/jMAVSim/out/production",
|
2019-06-17 06:46:57 -03:00
|
|
|
"env": {
|
|
|
|
"PX4_SIM_SPEED_FACTOR": "1"
|
|
|
|
}
|
2018-12-05 11:54:28 -04:00
|
|
|
},
|
2019-12-01 16:47:29 -04:00
|
|
|
"isBackground": true,
|
2018-12-05 11:54:28 -04:00
|
|
|
"presentation": {
|
2019-12-01 16:47:29 -04:00
|
|
|
"echo": true,
|
|
|
|
"reveal": "never",
|
|
|
|
"focus": false,
|
|
|
|
"panel": "shared",
|
|
|
|
"showReuseMessage": false,
|
|
|
|
"clear": true
|
2019-03-22 21:55:39 -03:00
|
|
|
},
|
|
|
|
"problemMatcher": [
|
|
|
|
{
|
|
|
|
"pattern": [
|
|
|
|
{
|
|
|
|
"regexp": ".",
|
|
|
|
"file": 1,
|
|
|
|
"location": 2,
|
|
|
|
"message": 3
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"background": {
|
|
|
|
"activeOnStart": true,
|
|
|
|
"beginsPattern": ".",
|
|
|
|
"endsPattern": ".",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "jmavsim kill",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "kill $(ps aux | grep jmavsim | grep -v 'grep' | awk '{print $2}')",
|
2019-12-01 16:47:29 -04:00
|
|
|
"presentation": {
|
|
|
|
"echo": false,
|
|
|
|
"reveal": "never",
|
|
|
|
"focus": false,
|
|
|
|
"panel": "shared",
|
|
|
|
"showReuseMessage": false,
|
|
|
|
"clear": true
|
|
|
|
},
|
2019-03-22 21:55:39 -03:00
|
|
|
"problemMatcher": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "gazebo build",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "make px4_sitl_default sitl_gazebo",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceRoot}"
|
|
|
|
},
|
2019-12-01 16:47:29 -04:00
|
|
|
"problemMatcher": [],
|
|
|
|
"presentation":{
|
|
|
|
"echo": true,
|
|
|
|
"reveal": "never",
|
|
|
|
"focus": false,
|
|
|
|
"panel": "shared",
|
|
|
|
"showReuseMessage": false,
|
|
|
|
"clear": true
|
|
|
|
}
|
2019-03-22 21:55:39 -03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "gazebo iris",
|
|
|
|
"type": "shell",
|
|
|
|
"dependsOn": "gazebo build",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"env": {
|
|
|
|
"GAZEBO_PLUGIN_PATH": "${workspaceRoot}/build/px4_sitl_default/build_gazebo",
|
2019-06-17 06:46:57 -03:00
|
|
|
"GAZEBO_MODEL_PATH": "${workspaceRoot}/Tools/sitl_gazebo/models",
|
|
|
|
"PX4_SIM_SPEED_FACTOR": "1"
|
2019-03-22 21:55:39 -03:00
|
|
|
}
|
|
|
|
},
|
2019-12-01 16:47:29 -04:00
|
|
|
"command": "gzserver --verbose ${workspaceRoot}/Tools/sitl_gazebo/worlds/iris.world",
|
2019-09-19 18:42:51 -03:00
|
|
|
"isBackground": true,
|
|
|
|
"presentation": {
|
2019-12-01 16:47:29 -04:00
|
|
|
"echo": true,
|
|
|
|
"reveal": "never",
|
|
|
|
"focus": false,
|
|
|
|
"panel": "shared",
|
|
|
|
"showReuseMessage": false,
|
|
|
|
"clear": true
|
2019-09-19 18:42:51 -03:00
|
|
|
},
|
|
|
|
"problemMatcher": [
|
|
|
|
{
|
|
|
|
"pattern": [
|
|
|
|
{
|
|
|
|
"regexp": ".",
|
|
|
|
"file": 1,
|
|
|
|
"location": 2,
|
|
|
|
"message": 3
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"background": {
|
|
|
|
"activeOnStart": true,
|
|
|
|
"beginsPattern": ".",
|
|
|
|
"endsPattern": ".",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "gazebo plane",
|
|
|
|
"type": "shell",
|
|
|
|
"dependsOn": "gazebo build",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"env": {
|
|
|
|
"GAZEBO_PLUGIN_PATH": "${workspaceRoot}/build/px4_sitl_default/build_gazebo",
|
|
|
|
"GAZEBO_MODEL_PATH": "${workspaceRoot}/Tools/sitl_gazebo/models",
|
|
|
|
"PX4_SIM_SPEED_FACTOR": "1"
|
|
|
|
}
|
|
|
|
},
|
2019-12-01 16:47:29 -04:00
|
|
|
"command": "gzserver --verbose ${workspaceRoot}/Tools/sitl_gazebo/worlds/plane.world",
|
2019-09-19 18:42:51 -03:00
|
|
|
"isBackground": true,
|
|
|
|
"presentation": {
|
2019-12-01 16:47:29 -04:00
|
|
|
"echo": true,
|
|
|
|
"reveal": "never",
|
|
|
|
"focus": false,
|
|
|
|
"panel": "shared",
|
|
|
|
"showReuseMessage": false,
|
|
|
|
"clear": true
|
2019-09-19 18:42:51 -03:00
|
|
|
},
|
|
|
|
"problemMatcher": [
|
|
|
|
{
|
|
|
|
"pattern": [
|
|
|
|
{
|
|
|
|
"regexp": ".",
|
|
|
|
"file": 1,
|
|
|
|
"location": 2,
|
|
|
|
"message": 3
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"background": {
|
|
|
|
"activeOnStart": true,
|
|
|
|
"beginsPattern": ".",
|
|
|
|
"endsPattern": ".",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "gazebo standard_vtol",
|
|
|
|
"type": "shell",
|
|
|
|
"dependsOn": "gazebo build",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"env": {
|
|
|
|
"GAZEBO_PLUGIN_PATH": "${workspaceRoot}/build/px4_sitl_default/build_gazebo",
|
|
|
|
"GAZEBO_MODEL_PATH": "${workspaceRoot}/Tools/sitl_gazebo/models",
|
|
|
|
"PX4_SIM_SPEED_FACTOR": "1"
|
|
|
|
}
|
|
|
|
},
|
2019-12-01 16:47:29 -04:00
|
|
|
"command": "gzserver --verbose ${workspaceRoot}/Tools/sitl_gazebo/worlds/standard_vtol.world",
|
2019-03-22 21:55:39 -03:00
|
|
|
"isBackground": true,
|
|
|
|
"presentation": {
|
2019-12-01 16:47:29 -04:00
|
|
|
"echo": true,
|
|
|
|
"reveal": "never",
|
|
|
|
"focus": false,
|
|
|
|
"panel": "shared",
|
|
|
|
"showReuseMessage": false,
|
|
|
|
"clear": true
|
|
|
|
},
|
|
|
|
"problemMatcher": [
|
|
|
|
{
|
|
|
|
"pattern": [
|
|
|
|
{
|
|
|
|
"regexp": ".",
|
|
|
|
"file": 1,
|
|
|
|
"location": 2,
|
|
|
|
"message": 3
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"background": {
|
|
|
|
"activeOnStart": true,
|
|
|
|
"beginsPattern": ".",
|
|
|
|
"endsPattern": ".",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "gazebo tailsitter",
|
|
|
|
"type": "shell",
|
|
|
|
"dependsOn": "gazebo build",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"env": {
|
|
|
|
"GAZEBO_PLUGIN_PATH": "${workspaceRoot}/build/px4_sitl_default/build_gazebo",
|
|
|
|
"GAZEBO_MODEL_PATH": "${workspaceRoot}/Tools/sitl_gazebo/models",
|
|
|
|
"PX4_SIM_SPEED_FACTOR": "1"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"command": "gzserver --verbose ${workspaceRoot}/Tools/sitl_gazebo/worlds/tailsitter.world",
|
|
|
|
"isBackground": true,
|
|
|
|
"presentation": {
|
|
|
|
"echo": true,
|
|
|
|
"reveal": "never",
|
|
|
|
"focus": false,
|
|
|
|
"panel": "shared",
|
|
|
|
"showReuseMessage": false,
|
|
|
|
"clear": true
|
|
|
|
},
|
|
|
|
"problemMatcher": [
|
|
|
|
{
|
|
|
|
"pattern": [
|
|
|
|
{
|
|
|
|
"regexp": ".",
|
|
|
|
"file": 1,
|
|
|
|
"location": 2,
|
|
|
|
"message": 3
|
|
|
|
}
|
2020-09-01 13:05:05 -03:00
|
|
|
],
|
|
|
|
"background": {
|
|
|
|
"activeOnStart": true,
|
|
|
|
"beginsPattern": ".",
|
|
|
|
"endsPattern": ".",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "gazebo tiltrotor",
|
|
|
|
"type": "shell",
|
|
|
|
"dependsOn": "gazebo build",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"env": {
|
|
|
|
"GAZEBO_PLUGIN_PATH": "${workspaceRoot}/build/px4_sitl_default/build_gazebo",
|
|
|
|
"GAZEBO_MODEL_PATH": "${workspaceRoot}/Tools/sitl_gazebo/models",
|
|
|
|
"PX4_SIM_SPEED_FACTOR": "1"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"command": "gzserver --verbose ${workspaceRoot}/Tools/sitl_gazebo/worlds/tiltrotor.world",
|
|
|
|
"isBackground": true,
|
|
|
|
"presentation": {
|
|
|
|
"echo": true,
|
|
|
|
"reveal": "never",
|
|
|
|
"focus": false,
|
|
|
|
"panel": "shared",
|
|
|
|
"showReuseMessage": false,
|
|
|
|
"clear": true
|
|
|
|
},
|
|
|
|
"problemMatcher": [
|
|
|
|
{
|
|
|
|
"pattern": [
|
|
|
|
{
|
|
|
|
"regexp": ".",
|
|
|
|
"file": 1,
|
|
|
|
"location": 2,
|
|
|
|
"message": 3
|
|
|
|
}
|
2019-12-01 16:47:29 -04:00
|
|
|
],
|
|
|
|
"background": {
|
|
|
|
"activeOnStart": true,
|
|
|
|
"beginsPattern": ".",
|
|
|
|
"endsPattern": ".",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "gazebo client",
|
|
|
|
"type": "shell",
|
|
|
|
"dependsOn": "gazebo build",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"env": {
|
|
|
|
"GAZEBO_PLUGIN_PATH": "${workspaceRoot}/build/px4_sitl_default/build_gazebo",
|
|
|
|
"GAZEBO_MODEL_PATH": "${workspaceRoot}/Tools/sitl_gazebo/models",
|
|
|
|
"PX4_SIM_SPEED_FACTOR": "1"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"command": "gzclient --verbose",
|
|
|
|
"isBackground": true,
|
|
|
|
"presentation": {
|
|
|
|
"echo": true,
|
|
|
|
"reveal": "never",
|
|
|
|
"focus": false,
|
|
|
|
"panel": "shared",
|
|
|
|
"showReuseMessage": false,
|
|
|
|
"clear": true
|
2019-03-22 21:55:39 -03:00
|
|
|
},
|
|
|
|
"problemMatcher": [
|
|
|
|
{
|
|
|
|
"pattern": [
|
|
|
|
{
|
|
|
|
"regexp": ".",
|
|
|
|
"file": 1,
|
|
|
|
"location": 2,
|
|
|
|
"message": 3
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"background": {
|
|
|
|
"activeOnStart": true,
|
|
|
|
"beginsPattern": ".",
|
|
|
|
"endsPattern": ".",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "gazebo kill",
|
|
|
|
"type": "shell",
|
2019-12-01 16:47:29 -04:00
|
|
|
"command": "killall gzserver",
|
|
|
|
"presentation": {
|
|
|
|
"echo": false,
|
|
|
|
"reveal": "never",
|
|
|
|
"focus": false,
|
|
|
|
"panel": "shared",
|
|
|
|
"showReuseMessage": false,
|
|
|
|
"clear": true
|
|
|
|
},
|
2019-03-22 21:55:39 -03:00
|
|
|
"problemMatcher": []
|
2018-12-05 11:54:28 -04:00
|
|
|
},
|
2019-06-13 21:47:27 -03:00
|
|
|
{
|
|
|
|
"label": "mavlink shell",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "./Tools/mavlink_shell.py",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceRoot}"
|
|
|
|
},
|
2019-12-01 16:47:29 -04:00
|
|
|
"presentation": {
|
|
|
|
"echo": true,
|
|
|
|
"reveal": "always",
|
|
|
|
"focus": true,
|
|
|
|
"panel": "new",
|
|
|
|
"showReuseMessage": false,
|
|
|
|
"clear": false
|
|
|
|
},
|
|
|
|
"problemMatcher": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "miniterm.py",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "miniterm.py --raw - 57600",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceRoot}"
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"echo": true,
|
|
|
|
"reveal": "always",
|
|
|
|
"focus": true,
|
|
|
|
"panel": "new",
|
|
|
|
"showReuseMessage": false,
|
|
|
|
"clear": false
|
|
|
|
},
|
2019-06-13 21:47:27 -03:00
|
|
|
"problemMatcher": []
|
|
|
|
}
|
2018-12-05 00:11:36 -04:00
|
|
|
]
|
2019-06-13 21:47:27 -03:00
|
|
|
}
|