Skip to content
Companion Computer software installer for the KakutePi board and APM
Shell
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
APWeb.service Initial Commit Apr 25, 2019
LICENSE
README.md README: Fixed param typo Dec 15, 2019
apstreamline.sh
apweb.sh More fix Nov 23, 2019
create_image.sh
main1.sh Initial Commit Apr 25, 2019
main2.sh A few more fixes Nov 23, 2019
main3.sh A few more fixes Nov 23, 2019
mavlink-router.conf
mavlink-router.sh Fix absolute dirs Nov 22, 2019
pishrink.sh Added method to shrink Pi images Apr 25, 2019
use_networkmanager.sh Initial Commit Apr 25, 2019
wifi_access_point.sh Initial Commit Apr 25, 2019

README.md

APSync Companion

Introduction

This repository contains a series of scripts for running on a Raspberry Pi in order to configure it for running with the Pi-Connect board (though it will run on any Raspberry Pi with a flight controller connected to the UART).

The scripts are designed to be as automated as possible.

The software is heavily based on the "APSync" companion computer software. Here it has been simplified to become a minimal package.

Running

Download this repository to a fresh Raspberry Pi install. It is assumed this repository has been cloned into the ~/ directory.

Run each of the mainN.sh (ie main1.sh, then main2.sh, then main3.sh) scripts in turn. The Raspberry Pi will reboot at the end of each script.

At the end, the Raspberry Pi will be ready for use.

Using

The Flight controller (Kakute F4 in this case) needs to have the following parameters set:

  • SERIAL1_BAUD 921
  • SERIAL1_PROTOCOL 2

The software running includes:

  • mavlink-router for distributing telemetry
  • APWeb for a web-based monitoring and control
  • apstreamline for low-latency video
  • A Wifi access point "ardupilot" (default password "ardupilot")

Once connected to the Wifi access point the interfaces and be accessed.

  • The web interface and video streaming control can be access via http://10.0.1.128
  • Telemetry software can be connected via UDP IP 10.0.1.128, port 14550. For example with MAVProxy use the command mavproxy.py --master=udpout:10.0.1.128:14550

Note the the above interfaces can be accessed via the Raspberry Pi's ethernet port, but the IP address will be different (as per the LAN configuration).

Known Issues

You can’t perform that action at this time.