Skip to content

Interfacing with the Sub

sdcityrobotics edited this page Sep 8, 2013 · 1 revision

There are a couple of ways to interface with the sub. First, make sure that both the sub and your computer are connected to the wi-fi buoy or the floating ethernet cable.

SSH (Command-Line)

On a computer running either OS X, Linux or Windows with PuTTY or another SSH client, you can use the following command to remotely connect to the sub. (For PuTTY, enter the user@IP like below, and in the setting menu to the left, select "SSH", then "X11", and check "Enable X11 Forwarding")

Substitute "192.168.2.50" with whatever the current IP adress of the sub is. To check this, open your favorite web browser and go to 192.168.2.1. Then, click "DHCP Client List" on the left-side navbar. Now, in the list that displays, find something like "sdcr-ubuntu". That is the sub.

Enter the user's password when prompted. Once done, you are now remotely logged in. To start the Arduino IDE, enter:

arduino

To start QT Creator, enter:

qtcreator

To start Commander outside of QT Creator, enter (use option -h to see help):

commander-start

To stop Commander outside of QT Creator, enter:

commander-stop

VNC (Screen Sharing)

Use any Remote Desktop / VNC program such as RealVNC.