TEK5030

TEK5030 resource pages

<-- Home

TEK 5030 - Getting started with Docker toolchain

This is a quick and dirty howto for getting started with the Docker toolchain in CLion. YMMV!

Prerequisites

Setup the toolchain

Compile and run the labs

If you are working with a camera, like the RealSense-camera, the easiest way to run the lab is to do it from a terminal (it may very well be the internal terminal of CLion, if you please.

Here is what worked for the stereo lab:

docker run -it --rm \
    -v /dev:/dev \
    -v ${PWD}:/tmp/solution-stereo \
    -w /tmp/solution-stereo/cmake-build-release-docker \
    --device-cgroup-rule "c 81:* rmw" \
    --device-cgroup-rule "c 189:* rmw" \
    -e DISPLAY="${DISPLAY}" \
    -e XDG_RUNTIME_DIR="${XDG_RUNTIME_DIR}" \
    -v ${XDG_RUNTIME_DIR}:${XDG_RUNTIME_DIR} \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    tek5030/devcontainer:latest ./lab_7_stereo

<-- Home