Sign inSign up

ponomarevda/px4-sitl

By ponomarevda

•Updated over 1 year ago

PX4 SITL (Software-In-The-Loop) Flight Stack

Image
0

1.5K

ponomarevda/px4-sitl repository overview

⁠PX4 SITL (Software-In-The-Loop) Flight Stack GitHub Repo

⁠Run docker container in interactive mode:

docker container run --rm -it --net=host ponomarevda/px4-sitl:latest /bin/bash
⁠Then Run PX4 flight stack with Iris (quadcopter)
PX4_SIM_MODEL=none_iris ./bin/px4 -i 0 -d etc -s etc/init.d-posix/rcS
⁠Or run it with VTOL:
PX4_SIM_MODEL=gazebo-classic_standard_vtol ./bin/px4 -i 0 -d etc -s etc/init.d-posix/rcS

Here:

  • PX4_SIM_MODEL tells PX4 which simulated vehicle to load; none_iris is used to explicitly tell that no backend (like Gazebo) is needed
  • ./bin/px4 is the compiled PX4 binary for the sitl_default target
  • -i 0 sets the instance ID
  • -d etc sets the directory for the startup configuration (ROMFS path)
  • -s etc/init.d-posix/rcS specifies the startup script to run

Tag summary

Content type

Image

Digest

sha256:b08a7770a…

Size

191.2 MB

Last updated

over 1 year ago

docker pull ponomarevda/px4-sitl