From 3adaeafe4979155b17cc304dccb631b7b271c5f4 Mon Sep 17 00:00:00 2001 From: Evan Palmer Date: Sun, 28 Jan 2024 22:31:49 -0800 Subject: [PATCH] Fixed build and source task working directories --- .vscode/tasks.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 86f6828..1c722b7 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -6,6 +6,9 @@ "detail": "Build the workspace using catkin", "type": "shell", "command": "catkin_make", + "options": { + "cwd": "${workspaceFolder}/../.." + }, "group": { "kind": "build", "isDefault": true @@ -17,6 +20,9 @@ "detail": "Source the ROS workspace", "type": "shell", "command": "source devel/setup.bash", + "options": { + "cwd": "${workspaceFolder}/../.." + }, "problemMatcher": [] }, {