APSync is a project sponsored by EnRoute which simplifies the setup of companion computers so that they can be used to provide additional functionality to ArduPilot and also to ease integration with internet services.
Installation instructions are at the bottom of this page.
The APSync project is still in beta. Only the first stage (Wifi Access Point & DataFlash logging) is complete. Please get involved by reporting issues in the ArduPilot Forums. Deveopers can help improve APSync by submitting PRs to ArduPilot/companion and/or discuss with others developers in Gitter’s ArduPilot/companion chat room!
Wifi Access Point & DataFlash logging¶
On start-up an access point is created with name “ardupilot” and password “enRouteArduPilot”.
The user can connect to this access point and then easily connect to ardupilot running on the flight controller by setting their ground station (including Mission Planner) to connect using “UDP”.
Dataflash logs are streamed to the companion computer via mavlink and stored on the companion computer’s filesystem (as well as on the pixhawk’s dataflash). Dataflash log files can then be quickly downloaded (over wifi) using a script (Windows users may use apsync-download-logs) or you may pull the SD card out of the companion computer.
Data Syncronisation with Web server or Corporate server¶
The contents of a configurable list of directories will be automatically uploaded to a configurable web server address.
This should allow the pilot to simply bring the vehicle back in range of a trusted wifi access point, reboot the vehicle and have it automatically connect and upload all datafiles including logs, pictures, videos.
The APSync project is still in beta. This Data Syncronisation portion is not implemented (yet).
Simple Configuration Web page¶
A light weight webserver will run on the companion computer (perhaps using CherryPy). The user will be able to connect to the drone using a known URL and change configuration information including:
- wifi access point name and password
- list of trusted wifi access points
- list of log file directories and web server url (i.e. upload target)
The APSync project is still in beta. This Simple Configuration portion is not implemented (yet).
A video manager will run on the companion computer that informs the ground station of which video streams are available. The live video is streamed from the vehicle to the ground station using UDP to a port specified by the ground station. This allows more reliable and flexible streaming as the ground station can discover valid formats and control where the stream is sent.
The APSync project is still in beta. This Flexible Video portion is not implemented (yet).
Images for the supported boards can be found in firmware.ardupilot.org.
The flight controller (i.e. Pixhawk or similar) should be configured to communicate with the companion computer by setting the following parameters and then reboot the board: