mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 16:57:46 +08:00
* Removing ament_target_dependencies * always update ros * fixing rtabmap_costmap_plugins * rtabmap rviz plugins Qt5 * fixing qt5 private, nav2 costmap 2d layers * backward compatibility humble * backward comaptibility pre lyrical * fixing rolling build * should work on rolling now * fixed odom * auto cancel previous jobs
40 lines
1.5 KiB
JSON
40 lines
1.5 KiB
JSON
{
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
"pull": true
|
|
},
|
|
"remoteUser": "vscode",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"ms-vscode.cpptools-themes",
|
|
"ms-vscode.cmake-tools",
|
|
"ms-vscode.cpptools-extension-pack",
|
|
"ms-azuretools.vscode-docker",
|
|
"ms-python.python"]
|
|
}
|
|
},
|
|
"settings": {
|
|
"python.autoComplete.extraPaths": [
|
|
"/opt/ros/kilted/lib/python3/dist-packages"
|
|
],
|
|
"terminal.integrated.defaultProfile.linux": "bash"
|
|
},
|
|
"workspaceMount": "source=${localWorkspaceFolder},target=/home/vscode/ros2_ws/src/rtabmap_ros,type=bind",
|
|
"workspaceFolder": "/home/vscode/ros2_ws",
|
|
"postCreateCommand": "sudo rosdep init && rosdep update && sudo apt update && rosdep install --from-paths ~/ros2_ws/src/rtabmap_ros -i --skip-keys=rtabmap -y && echo 'Initialize: export MAKEFLAGS=\"-j6\" && colcon build --cmake-args -DRTABMAP_SYNC_MULTI_RGBD=ON -DCMAKE_BUILD_TYPE=Release --parallel-workers 2'",
|
|
"hostRequirements": {
|
|
"gpu": "optional"
|
|
},
|
|
"runArgs": ["--privileged",
|
|
"--network=host",
|
|
"--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",
|
|
"--volume=/tmp/.X11-unix:/tmp/.X11-unix"],
|
|
"containerEnv": {
|
|
"NVIDIA_VISIBLE_DEVICES": "all"
|
|
}
|
|
}
|