-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
116 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,56 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile | ||
{ | ||
"name": "Existing Dockerfile", | ||
"build": { | ||
"context": "../", | ||
// Sets the run context to one level up instead of the .devcontainer folder. | ||
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. | ||
"dockerfile": "../Dockerfile" | ||
}, | ||
"workspaceFolder": "/app", | ||
"mounts": [ | ||
// Manually mount each file/folder from root of repo since just mounting the parent folder | ||
// would result in the container ROS workspace being erased. Ugly workaround for now. | ||
// Alternatively could use postStart commands to symlink the workspace folder. Might | ||
// introduce other headaches. | ||
"source=${localWorkspaceFolder}/src/aml_ctd,target=/app/src/aml_ctd,type=bind", | ||
"name": "Existing Dockerfile", | ||
"build": { | ||
"context": "../", | ||
// Sets the run context to one level up instead of the .devcontainer folder. | ||
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. | ||
"dockerfile": "../Dockerfile" | ||
}, | ||
"workspaceFolder": "/app", | ||
"mounts": [ | ||
// Manually mount each file/folder from root of repo since just mounting the parent folder | ||
// would result in the container ROS workspace being erased. Ugly workaround for now. | ||
// Alternatively could use postStart commands to symlink the workspace folder. Might | ||
// introduce other headaches. | ||
"source=${localWorkspaceFolder}/src/aml_ctd,target=/app/src/aml_ctd,type=bind", | ||
"source=${localWorkspaceFolder}/src/ifcb,target=/app/src/ifcb,type=bind", | ||
"source=${localWorkspaceFolder}/src/jvl_motor,target=/app/src/jvl_motor,type=bind", | ||
"source=${localWorkspaceFolder}/src/phyto_arm,target=/app/src/phyto_arm,type=bind", | ||
"source=${localWorkspaceFolder}/src/rbr_maestro3_ctd,target=/app/src/rbr_maestro3_ctd,type=bind", | ||
"source=${localWorkspaceFolder}/.gitignore,target=/app/.gitignore,type=bind", | ||
"source=${localWorkspaceFolder}/configs,target=/app/configs,type=bind", | ||
"source=${localWorkspaceFolder}/deps,target=/app/deps,type=bind", | ||
"source=${localWorkspaceFolder}/.devcontainer,target=/app/.devcontainer,type=bind", | ||
"source=${localWorkspaceFolder}/.git,target=/app/.git,type=bind", | ||
"source=${localWorkspaceFolder}/LICENSE,target=/app/LICENSE,type=bind", | ||
"source=${localWorkspaceFolder}/phyto-arm.service,target=/app/phyto-arm.service,type=bind", | ||
"source=${localWorkspaceFolder}/.github,target=/app/.github,type=bind", | ||
"source=${localWorkspaceFolder}/phyto-arm,target=/app/phyto-arm,type=bind", | ||
"source=${localWorkspaceFolder}/scripts,target=/app/scripts,type=bind", | ||
"source=/home/ifcb/IFCBacquire/Host/Routines,target=/routines,type=bind", | ||
"source=/mnt/data,target=/mnt/data,type=bind" | ||
], | ||
"runArgs": [ | ||
"--device=/dev/ttyS3", | ||
"--publish=9090:9090/tcp", | ||
"--publish=8098:8098/tcp", | ||
"--publish=12345:12345/udp" | ||
"source=${localWorkspaceFolder}/.gitignore,target=/app/.gitignore,type=bind", | ||
"source=${localWorkspaceFolder}/configs,target=/app/configs,type=bind", | ||
"source=${localWorkspaceFolder}/deps,target=/app/deps,type=bind", | ||
"source=${localWorkspaceFolder}/.devcontainer,target=/app/.devcontainer,type=bind", | ||
"source=${localWorkspaceFolder}/.git,target=/app/.git,type=bind", | ||
"source=${localWorkspaceFolder}/LICENSE,target=/app/LICENSE,type=bind", | ||
"source=${localWorkspaceFolder}/phyto-arm.service,target=/app/phyto-arm.service,type=bind", | ||
"source=${localWorkspaceFolder}/.github,target=/app/.github,type=bind", | ||
"source=${localWorkspaceFolder}/phyto-arm,target=/app/phyto-arm,type=bind", | ||
"source=${localWorkspaceFolder}/scripts,target=/app/scripts,type=bind", | ||
"source=/home/ifcb/IFCBacquire/Host/Routines,target=/routines,type=bind", | ||
"source=/mnt/data,target=/mnt/data,type=bind" | ||
], | ||
"runArgs": [ | ||
"--device=/dev/ttyS3", | ||
"--publish=9090:9090/tcp", | ||
"--publish=8098:8098/tcp", | ||
"--publish=12345:12345/udp" | ||
] | ||
|
||
// Features to add to the dev container. More info: https://containers.dev/features. | ||
// "features": {}, | ||
// Features to add to the dev container. More info: https://containers.dev/features. | ||
// "features": {}, | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
|
||
// Uncomment the next line to run commands after the container is created. | ||
// "postCreateCommand": "cat /etc/os-release", | ||
// Uncomment the next line to run commands after the container is created. | ||
// "postCreateCommand": "cat /etc/os-release", | ||
|
||
// Configure tool-specific properties. | ||
// "customizations": {}, | ||
// Configure tool-specific properties. | ||
// "customizations": {}, | ||
|
||
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root. | ||
// "remoteUser": "devcontainer" | ||
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root. | ||
// "remoteUser": "devcontainer" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
|
||
float32 depth # m | ||
float32 velocity # m/s | ||
|
||
--- | ||
|
||
# Result | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.