New APSync Build for Raspberry Pi

To disable the Wifi: sudo nmcli connection down WiFiAP.

Ethernet is enabled by default.

To anyone reading this thread, the APSync build I referenced in the first post is very old.

I’d recommend installing Rpanion-server instead, which is fully compatible with Ardupilot and the Raspberry Pi. It has a GUI for easy changing network, telemetry and video streaming settings.

3 Likes

@stephendade Thank you so much Stephen for providing us Rpanion server, I flashed Rpanion server in raspi OS , connected to Rpanion Web UI. And getting packets, but is that possible to connect to mission planner too at the same time. because am not able to establish udp connection, can you help please ? Screenshot (70)|690x369

Yes. You need to add the IP:port (port is usually 14550) of your GCS in the “add new output” section.

1 Like

@stephendade Thanks stephen it’s connected now. You made my day actually i was trying to connect mission planner from last 2 3 days. i have 1 problem now i was using raspi OS and conttroling it through local home network by using VNC but after i flash Rpanion server no longer i can connect it through VNC or even hdmi cable. putty also open command line for Rpanion server only , is there is any way that i can use raspi os and server both together. because i want to do some python script to raspberry.

The Rpanion-server pre-made images are based on RasPiOS Lite, which does not include a desktop GUI. See https://www.raspberrypi.org/forums/viewtopic.php?t=202060 for details on how to install the desktop GUI.

Thank you so much Stephen. I flashed Rpanion server and install RPD GUI for desktop environment, I connected to access point “Rpanion” and I was using both Rpanion web GUI and remote desktop through vnc server without any problem , Thanks alot for this Rpanion server and your guidance, but unfortunately by mistake i deleted the wifiAP (active ) in network configuration of Web GUI, and now there is no access point “rpanion” , can you help me to start access point again.

The Network Configuration GUI will allow you to add and the activate a new connection.

After delete wifiAP (active), there is no access point , am not able to connect to web gui without Rpanion access point. can i activate or configure it using command ?

You can connect the Pi to your home router via lan. Find the IP (i.e. use advanced IP scanner). Open the webUi by typing the IP you found with:3000 and activate the WifiAP again

I have everything connected through Mission Planner and it is working. The only problem I have is that I cannot access the usb camera connected to the Pi. When I try to view it on Mission Planner, it doesn’t read that the camera is connected to the raspberry pi. What can I do to fix this?

Hello @stephendade , Do I understand it correctly, that the rpanion server is an alternative to APSync? So not both have to installed, to have a companion computer?

I have another question - when shutting down the rpanion (I am using a Raspberry Pi Zero 2W) It always gets stuck with the message “Kernel panic -not syncing:Attempted to kill init! exitcode=0x0000000”. Does anyone know how to fix that?

Thirdly, I want to use the SIM7600G-H 4G HAT to send video and telemetry over 4G however this board is not recognized in the rpanion network configuration. The board drivers have been installed sucessfully. How can this be included in the Adapter List of the network configuration?

Thank you in advance, for your help!

I should add, that the adapter is listed as wwan0 when typing ifconfig -a.
Butit will not show up as an adapter in the rpanion GUI.

I think I have a solution for question three

instead of the wwan (NDIS) I use now USB connection (RNDIS). This is recognised and selectable in the GUI.

Correct

Remove the following text from /boot/config.txt, then reboot:

# Power switch
dtoverlay=gpio-shutdown
dtoverlay=gpio-poweroff

thank you so much! that worked :slight_smile:

Hi guys! I tried to build an image and I got an error at run main2.sh

Error:

+ echo PATH=$PATH:~/.local/bin
+ source /root/.profile
main2.sh: 16: source: not found

Hi there can you please tell me how did you install this RPD GUI(by means of PUTTY).How did you accessed the RPI?

Kindly help as im facing the same issue

Hi guys, im interested in drone develop. Hopefully you guys want to answer my ignorance question.
I work with this hardware and system bellow.

Raspberry pi 4 Model B (4GB)
Raspberry Bootloader (2023/01/11)
Intel Realsense T265

I have downloaded the Apsync from the Ardupilot community. I have burned Img file instead micro SD use Belena etcher App. so far it has success until done.

But when i was trying to switch on my rasp pi4, there is error message appear such like this bellow.

and now, i need your advice. how should i do?

Best Regards.