Files
rtabmap_ros/.devcontainer/devcontainer.json
T

39 lines
1.2 KiB
JSON
Raw Normal View History

2024-06-11 21:45:33 -07:00
{
2025-06-08 22:30:06 +00:00
"build": {
"dockerfile": "Dockerfile",
"pull": true
},
"remoteUser": "vscode",
2024-06-11 21:45:33 -07:00
"customizations": {
"vscode": {
2025-06-08 22:30:06 +00:00
"extensions": [
"ms-vscode.cpptools-themes",
"ms-vscode.cmake-tools",
"ms-vscode.cpptools-extension-pack",
"ms-azuretools.vscode-docker",
"ms-python.python"]
2024-06-11 21:45:33 -07:00
}
2025-06-08 22:30:06 +00:00
},
"settings": {
"python.autoComplete.extraPaths": [
"/opt/ros/noetic/lib/python3/dist-packages"
],
"terminal.integrated.defaultProfile.linux": "bash"
2024-06-11 21:45:33 -07:00
},
2025-06-08 22:30:06 +00:00
"workspaceMount": "source=${localWorkspaceFolder},target=/home/vscode/catkin_ws/src/rtabmap_ros,type=bind",
"workspaceFolder": "/home/vscode/catkin_ws",
"postCreateCommand": "cd /home/vscode/catkin_ws/src && catkin_init_workspace",
2026-05-23 15:08:21 -07:00
"hostRequirements": {
"gpu": "optional"
},
"runArgs": ["--privileged",
2026-05-23 15:08:21 -07:00
"--gpus=all",
//"--runtime=nvidia", // uncommment this if rtabmap doesn't show up in nvidia-smi on the host computer
"--env=DISPLAY",
"--env=QT_X11_NO_MITSHM=1",
2026-05-23 15:08:21 -07:00
"--volume=/tmp/.X11-unix:/tmp/.X11-unix"],
"containerEnv": {
"NVIDIA_VISIBLE_DEVICES": "all"
}
2024-06-11 21:45:33 -07:00
}