Skip to content

Commit 9044ff1

Browse files
committed
Added .vscode folder.
1 parent 34ed9ef commit 9044ff1

File tree

6 files changed

+68
-4
lines changed

6 files changed

+68
-4
lines changed

.gitignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
# VSCode
2-
.vscode
3-
41
# ROS
52
build
63
install
74
log
5+
.cache
6+
.mypy_cache
87

98
# QtCreator
109
*.user

.vscode/c_cpp_properties.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"configurations": [
3+
{
4+
"browse": {
5+
"databaseFilename": "${default}",
6+
"limitSymbolsToIncludedHeaders": false
7+
},
8+
"compileCommands": "${workspaceFolder}/build/compile_commands.json",
9+
"includePath": ["/opt/ros/humble/include/**"],
10+
"name": "ROS",
11+
"intelliSenseMode": "gcc-x64",
12+
"compilerPath": "/usr/bin/gcc",
13+
"cStandard": "gnu11",
14+
"cppStandard": "c++17"
15+
}
16+
],
17+
"version": 4
18+
}

.vscode/launch.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Launch StepIt",
6+
"type": "node-terminal",
7+
"request": "launch",
8+
"command": "source install/setup.bash && ros2 launch stepit_bringup stepit.launch.py",
9+
"cwd": "${workspaceFolder}",
10+
"preLaunchTask": "Build StepIt"
11+
}
12+
]
13+
}

.vscode/settings.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"python.autoComplete.extraPaths": [
3+
"/opt/ros/humble/lib/python3.10/site-packages",
4+
"/opt/ros/humble/local/lib/python3.10/dist-packages"
5+
],
6+
"python.analysis.extraPaths": [
7+
"/opt/ros/humble/lib/python3.10/site-packages",
8+
"/opt/ros/humble/local/lib/python3.10/dist-packages"
9+
]
10+
}
11+
W

.vscode/tasks.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"type": "shell",
6+
"command": "./bin/build.sh",
7+
"options": {
8+
"cwd": "${workspaceFolder}"
9+
},
10+
"group": {
11+
"kind": "build",
12+
"isDefault": true
13+
},
14+
"label": "Build StepIt",
15+
"presentation": {
16+
"echo": true,
17+
"reveal": "always",
18+
"focus": false,
19+
"panel": "shared"
20+
}
21+
}
22+
]
23+
}

bin/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash -e
22

3-
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Debug --symlink-install --event-handlers log-
3+
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON --symlink-install --event-handlers log-

0 commit comments

Comments
 (0)