I’m currently working on a project that requires the video feed from a drone in Gazebo. I’m launching the simulation using the command make px4_sitl gz_x500_vision, which runs without issues. In QGC, I’ve set the video settings to UDP h.264 on port 5600, but I’m not seeing any video feed.
I’ve had success with Gazebo Classic, where I was able to view the video feed in QGC using the same video settings. However, I’d prefer to use the latest version of Gazebo for this project.
To troubleshoot, I’ve tried using Wireshark to check if the video feed is being published, but I couldn’t detect anything. I’ve also attempted to view the video feed directly in Gazebo via the topic /world/default/model/x500_vision_0/link/camera_link/sensor/camera_imu/imu, but still no luck.
This has been an ongoing issue for a few weeks, and I haven’t been able to resolve it. Any suggestions or help would be greatly appreciated.
I believe I have this same issue. When running in classic were you using a camera plugin? I haven’t found where there is an ability to stream video on UDP in gazebo that is not gazebo-classic. Just seems odd that isn’t a solved problem, so I feel like I’m missing something.
I’m pretty sure this just isn’t implemented yet into the simulation on Gazebo Harmonic as the Gstreamer plugins haven’t been made yet that take the /camera topic from gazebo and put it out as a video stream on UDP 5600. I noticed this when digging through the model files for the H480 (I think it was called) from gazebo classic that at the end of the model file had a gstreamer plugin and when looking for this plugin for Gazebo Harmonic it didn’t exist. That’s my theory anyways maybe someone who has a better idea can enlighten us.
I have however managed to get the video from the camera now. If you want me to run through this let me know as I understand the pain.
Wow thank you for the reply. I would love to know how you’re able to get video from the camera. Long story short I am hoping to get video back through px4 for a camera that I plan to have on a companion rPi, so I am trying to simulate that from gazebo to qGC and to PX4 so that I can test. I really appreciate any help you can give me in getting video out of gazebo from a camera attached to a vehicle.