Rpanion-server 0.12 released

Rpanion-Server 0.12.0 has been released, with a far easier install method, support for Ethernet flight controllers and PPP connections.

Rpanion-Server is an Open-Source software package designed to facilitate the management of companion computers (such as a Raspberry Pi or NVIDIA Jetson) on an ArduPilot-powered vehicle. It provides functions like MAVLink telemetry distribution, video streaming and network management, NTRIP streaming, flight log management, PPP connection management, and automatic flight log cloud uploads. It is designed to be simple and light-weight, and can be run on fairly low-end platforms.

This release includes the following major changes:

  • Support for Ethernet flight controllers

  • Support for PPP connections to flight controller

  • Usage of deb packaging for single-command install, instead of having to download the run the source code directly

  • More standardisation of GUI controls

  • Support for RTSP (IP) cameras

  • Large optimisations in video streaming, giving far lower latency (compared to previous versions).

Comprehensive documentation is available here, with pre-built disk images and deb packages on the Releases page.

The source code for Rpanion-Server is available on GitHub, where bug reports and Pull Requests are welcome.

9 Likes

Hi @stephendade,

This sounds really great! I’m definitely going to give it a try.

Does the PPP connection to the flight controller potentially mean that the RPI is taking the place of the BoxBlox DroneNet or CubeNode ETH? E.g. it acts as a serial<->ethernet adapter?

Yes, that’s correct.

1 Like

Hi @stephendade . I am trying to install the Rpanion server 0.12 image on a Raspberry pi 5, but I notice that the green LED is not solid and the rpanion wifi network does not appear. Do you have any recommendations or advice for installing it on a Rasp pi 5?

update: Solved. The issue was with my Rasp pi 5. I reset it to the factory settings, and it now works well with Rpanion server 0.12.

Thank you for your great work.

Hi @stephendade I have two questions:

  1. Last weekend I tested the setup using a CSI camera. Today I tried switching to an IP gimbal. Could you please suggest the recommended way to assign and configure the IP address for the IP gimbal?

  2. I am using ZeroTier, however I cannot enter the network ID as shown in rpanion-server version 0.11. In my current setup, it shows Installed: No and Active: No, as in the screenshot below.

Thank you in advance for your support.

Zerotier is not included in the disk image. You’ll need to install as per ZeroTier | Download ZeroTier for All Platforms

If the IP camera outputs a RTSP camera stream - on the “Video streaming” page you will need to select “RTSP” streaming mode and then input the URL to the camera stream.

1 Like

Currently, I have a Viewpro gimbal connected to a Raspberry Pi 5 via Ethernet.

 Viewpro gimbal IP: 192.168.144.119
 Raspberry Pi 5 Ethernet IP: 192.168.144.100

My laptop is connected to the Raspberry Pi 5 via Wi-Fi.

With Viewlink, video can be viewed normally (the GUI software provided by Viewpro for viewing video from the gimbal) at rtsp://192.168.144.119:554/main.264

With Rpanion-server, I have also entered this RTSP URL into the Video Streaming tab (as shown in the images below), but the video does not open or display in VLC.

Could you please review the setup based on the screenshots and let me know if I am missing any steps or if there is something configured incorrectly?

Thank you in advance for your support.

That all looks about correct. Could you send me a logfile? It’s on the “about” page of Rpanion-server.

I’ve attached the logfile here:
https://drive.google.com/file/d/1zP5CD1z-gngjjJkFmxZr3ul9oMT6ry67/view?usp=sharing

Thanks. Looking at the logfile, it appears to be a missing gstreamer package. I’ll investigate and fix in the next few days.

1 Like

I’ve had a look through, and it looks like some sort of incompatibility between Gstreamer and Viewpro.

On your laptop, could you run the following to see if Gstreamer will open the Viewpro stream directly:

gst-launch-1.0 --gst-debug=3 rtspsrc location=rtsp://192.168.144.119:554/main.264 latency=0 is-live=True ! queue ! decodebin ! autovideosink sync=false

Post any error messages you get too.

When I connect via wifi: rpanion, I am able to ping 192.168.144.119 successfully and receive the video stream using gstreamer

However, when I do not use the wifi connection and instead connect via ZeroTier, I can no longer ping 192.168.144.119.

I am not very familiar with IP networking, so I am having some difficulty setting up the IP configuration correctly.These are the IP settings of the raspberry pi 5 that I am currently using.

Ok, great. Now try this one, so see if the h264 parsing is working correctly:

gst-launch-1.0 rtspsrc is-live=True latency=0 location="rtsp://192.168.144.119:554/main.264" ! rtph264depay ! queue ! h264parse ! avdec_h264 ! autovideosink

C:\Users\nguye>gst-launch-1.0 rtspsrc is-live=True latency=0 location=“rtsp://192.168.144.119:554/main.264” ! rtph264depay ! queue ! h264parse ! avdec_h264 ! autovideosink
WARNING: erroneous pipeline: no element “avdec_h264”

Viewpro camera setting - Encode Format H264, as shown in following photo:

That’s fine. Windows-specific issue.

I’m suspect there’s some issue with the Viewpro stream not being compatible with gstreamer on the RasPi. I’ve tested with a generic IP camera and it works fine.

Unfortunately I’ve not got a Viewpro camera for testing. I suspect there’s a setting somewhere in the Viewpro for a more compatible network stream … just may take some trial-and-error to figure it out.

1 Like

@stephendade thank you for sharing. I was wondering which board you were using during your tests, and which gimbal you tested with.

It was just a generic IP camera, from http://www.ipcam.xin/

1 Like