[go: up one dir, main page]

Skip to content

Build scripts for containers running various PX4 setups, like SITL with ROS.

Notifications You must be signed in to change notification settings

PX4/PX4-containers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

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