PX4 / PX4-containers

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:Makefile 81.8%Language:Shell 18.2%