Start the Transbot_se container

Start the Transbot_se containerPreliminary preparationStart DockerPrecautionsExample: USB camera

The ROS environment of Raspberry Pi 5 and the hardware control case of transbot se are both located in Docker. Every time we run a case, we need to confirm that it is in the docker container of transbot se.

Preliminary preparation

Note: The startup program must be closed to run a single case!

For a tutorial on closing the large boot program, please refer to the tutorial [Transbot SE expansion board control tutorial: closing the large self-starting program].

For first time use, it is recommended to temporarily close the startup program. For simple developers, you can try to permanently close the startup program.

Start Docker

We provide the script file run_docker.sh for running the docker image corresponding to transbot se in the home directory on the Raspberry Pi 5 motherboard.

Start command

image-20240401190203964

Precautions

If the hardware device is not connected correctly, starting docker may fail!

Example: USB camera

If the camera is not connected or the one identified is not /dev/video0, Docker may not be able to enter correctly or the camera case will report an error.

If we need to cancel the hardware mapping of the USB camera, we can delete the corresponding --device=/dev/video0 \ information in the startup script.