Skip to content

Latest commit

 

History

History
63 lines (48 loc) · 8.76 KB

README.md

File metadata and controls

63 lines (48 loc) · 8.76 KB

PX4 Containers

Contains Dockerfiles for Docker containers to build and test PX4, with and without ROS and ROS2.

License: according to LICENSE in the root directory of the PX4 Firmware repository.

Build Status

Container Hierarchy

Running

If you like to run the container and use the Firmware source from outside of the container, use the following command and specify the appropriate volume mapping.

docker run -it --rm \
    -v <local_src>:/home/user/Firmware:rw \
    -v /tmp/.X11-unix:/tmp/.X11-unix:ro \
    -e DISPLAY=${DISPLAY} \
    -e LOCAL_USER_ID="$(id -u)" \
    --name=container_name px4io/px4-dev-simulation-bionic /bin/bash

Or use docker_run.sh.

Building

cd docker
docker build -t px4io/px4-dev-ros-melodic -f Dockerfile_ros-melodic .

or:

cd docker
make px4-dev-ros-melodic