AeroRust / mav

Rust crates for the MAVLink lightweight messaging protocol for communicating with drones (and between onboard drone components).
http://aerorust.org/mav/
19 stars 8 forks source link

Video stream #1

Closed elpiel closed 2 years ago

elpiel commented 3 years ago

We've setup the typhoon h480 hexrotor( https://dev.px4.io/master/en/simulation/gazebo_vehicles.html#typhoon-h480-hexrotor) as the default drone in the docker-compose file because it supports video stream in the Gazebo simulation.

Using the headless gazebo enabled docker image I tried to connect and use the video stream from the simulation, but I was not able to make it work. Before we are able to use the Video stream in an application we need to figure out how to connect to the docker container.

Please make sure to add documentation (on the what and whys) once this is working

Guidance:

From the C RTSP video proxy:

Example of a connection url (can be used in e.g. VLC): rtsp://127.0.0.1:8554/live

VLC settings example

Resources:

Related issue: https://github.com/JonasVautherin/px4-gazebo-headless/issues/20

o0Ignition0o commented 3 years ago

Got any branch with some non working setup you tried ? I’d like to see if somethings comes to mind

elpiel commented 3 years ago

You only need to export the right port from docker-compose and connect to it. I've added resources to the issue to help you out.

elpiel commented 2 years ago

Video streaming now works. It needs more time to start but using docker-compose and validating the video from QGroundControl works