Note The current version of Companion is v0.0.31. If your system is out of date you can update by either installing a fresh image with the instructions below or connecting to Wi-Fi and performing a Software Update.
The operating system and supporting software is installed by writing a pre-configured .img
file to an SD Card which is then inserted into the Companion Computer (Raspberry Pi).
- Insert a microSD card with at least 4GB capacity into your topside computer with a card reader.
- Download the Companion image here (updated 2021-Nov-30)
- While the image downloads, download and install Etcher. Make sure you select the correct download for your Operating System!
- Open Etcher, select the image file (no need to extract beforehand) and your SD card, click 'Flash' and wait for it to complete.
The Companion Computer is assigned a static IP address of 192.168.2.2, and it expects the surface computer to have an IP address of 192.168.2.1. The network configuration on the surface computer needs to be set up before it can communicate with the ROV. Choose your operating system below to display the appropriate network setup instructions.
<h1 id="windows">Windows 10</h1>
<ol>
<li><p>Go to <em>Control Panel</em> > <em>Network and Sharing Center</em> and then choose "Change adapter settings".</p>
<p> <img src="../images/windows-setup/network-and-sharing-center-annotated.png" class="img-responsive img-center" style="max-width:800px"></p>
</li>
<li><p>Right click on the Ethernet adapter, then choose <em>Properties</em>.</p>
<p> <img src="../images/windows-setup/network-connections-annotated.png" class="img-responsive img-center" style="max-width:800px"></p>
</li>
<li><p>In the properties dialog, choose <em>Internet Protocol Version 4 (TCP/IPv4)</em>, then click <em>Properties</em>.</p>
<p> <img src="../images/windows-setup/internet-protocol-version-4-annotated.png" class="img-responsive img-center" style="max-width:800px"></p>
</li>
<li><p>Select "Use the following IP address" And enter 192.168.2.1 for the IP address and 255.255.255.0 for the Subnet mask. Then select OK.</p>
<p> <img src="../images/windows-setup/static-ip-annotated.png" class="img-responsive img-center" style="max-width:800px"></p>
</li>
</ol>
<p><strong>Firewall</strong></p>
<ol>
<li><p>Go to <em>Control Panel</em> > <em>Windows Firewall</em> and then select "Allow an app or feature through Windows Firewall".</p>
</li>
<li><p>Select "Change Settings" and then select "Open source ground control app provided by QGroundControl dev team" or "QGroundControl".</p>
<p> <img src="../images/windows-setup/windows-firewall-annotated.png" class="img-responsive img-center" style="max-width:800px"></p>
</li>
</ol>
<h1 id="mac">Mac</h1>
<ol>
<li><p>Go to <em>System Preferences</em> > <em>Network</em></p>
</li>
<li><p>If your computer has an Ethernet port, select Ethernet from the options on the left side. If you had to get a USB to Ethernet adapter, plug it in now then select it.</p>
</li>
<li><p>Select the dropdown next to "Configure IPv4" and then select "Manually"</p>
</li>
<li><p>Enter 192.168.2.1 for the IP Address and 255.255.255.0 for the Subnet Mask and then select apply.</p>
<p> <img src="../images/mac-setup/mac-network-settings-annotated.png" class="img-responsive img-center" style="max-width:800px"></p>
</li>
</ol>
<h1 id="linux">Linux (Ubuntu 16.04)</h1>
<ol>
<li><p>Click the Network Icon in the toolbar at the top of the screen, and click "Edit Connections..."</p>
<p> <img src="../images/linux-setup/LinuxStep1.png" class="img-responsive img-center" style="max-width:800px"></p>
</li>
<li><p>Click "Add"</p>
<p> <img src="../images/linux-setup/LinuxStep2.png" class="img-responsive img-center" style="max-width:800px"></p>
</li>
<li><p>Select "Ethernet" for the connection type and click "Create..."</p>
<p> <img src="../images/linux-setup/LinuxStep3.png" class="img-responsive img-center" style="max-width:800px"></p>
</li>
<li><p>From the "Device MAC Address" dropdown, select the ethernet interface you want to use. If you are using the built in ethernet card on your computer, there will be only one choice. If you are using a USB to Ethernet adapter, find out which interface corresponds to the adapter by looking at the options before and after plugging the adapter into the computer.</p>
<p> <img src="../images/linux-setup/LinuxStep4.png" class="img-responsive img-center" style="max-width:800px"></p>
</li>
<li><p>Click the "IPv4 Settings" tab, and from the "Method" dropdown menu, select "Manual". Click "Add", and enter 192.168.2.1 for the Address, 255.255.255.0 for the Netmask and 0.0.0.0 for the Gateway. Click "Save..." to complete the setup.</p>
<p> <img src="../images/linux-setup/LinuxStep5.png" class="img-responsive img-center" style="max-width:800px"></p>
</li>
</ol>
<h1 id="linux">Linux (Ubuntu 18.04)</h1>
<ol>
<li><p>Click on the Wifi icon in the toolbar at the top of the screen. Ubuntu 18.04 saves the profiles of every connection you make. If the pi is connected to the computer via USB to Ethernet convertor, click on "Ethernet Connecting"/"USB Ethernet Connecting." If the pi is connected to the computer directly via an Ethernet Cable, click on "Wired Connecting"/"PCI Ethernet Connecting." From the drop-down menu, select "Wired Settings"</p>
<p> <img src="../images/linux-setup/18.04(1).png" class="img-responsive img-center" style="max-width:400px"></p>
<p> <img src="../images/linux-setup/18.04(2).png" class="img-responsive img-center" style="max-width:400px"></p>
</li>
<li><p>Click on the gear icon next to your connection type.</p>
<p> <img src="../images/linux-setup/18.04(3).png" class="img-responsive img-center" style="max-width:800px"></p>
</li>
<li><p>Go to the "IPv4" tab for the connection type. Select IPv4 Method as "Manual" and enter the address information as shown in the figure. Click "Apply" to complete the setup.</p>
<p> <img src="../images/linux-setup/18.04(4).png" class="img-responsive img-center" style="max-width:800px"></p>
<p> <img src="../images/linux-setup/18.04(5).png" class="img-responsive img-center" style="max-width:800px"></p>
</li>
</ol>
Before proceeding, it is recommended to check for the latest updates for the Companion Computer.
To perform a companion software update:
-
Plug a fully charged battery into the vehicle and connect the tether to the topside computer.
-
Navigate to 192.168.2.2:2770/network in an internet browser (Chrome, Edge, Firefox, etc.) and ensure that the vehicle has access to a WiFi network. If a webpage is not found at this address, verify the network settings are correct. Troubleshooting steps can be found here.
-
Navigate to 192.168.2.2:2770/system. Click the button that says 'Update Companion'. If you do not see this button, then the companion software is up to date.
-
The update process will take between 5 and 20 minutes depending on the Internet connection speed. Wait for the update process to complete.
-
When it completes, refresh the browser. The Companion version should be updated, and the update available message should no longer appear.
-
If the update fails (usually due to a loss of internet connectivity), a warning will appear that the vehicle will reboot and to leave the battery plugged in. At this point, once, it is safe to either power down the vehicle or attempt the update again.