-
Notifications
You must be signed in to change notification settings - Fork 0
How to: Control the Sub Remotely
Jesse Victors edited this page Mar 27, 2015
·
2 revisions
Remote control of the Poseidon submarine is pretty straightforward.
- Ensure that the router is powered on and within range of the submarine. This also means that the sub must not be submerged.
- Ensure that the submarine is powered on and that the Beaglebone Blacks are running.
- Connect the Linux laptop to the router.
- Navigate to the folder containing the Poseidon repository, remote-control branch. Go into the client directory. Right click and open a terminal.
- ./init.sh
- Leave that script running, then double click on index.html to open it in Chrome.
- Use the on-screen controls to remotely control the submarine.
- Upload Ruby via the text box at the bottom. Note that there is a RubyPrefix.rb file that will set most stuff up for you, so you may already have the variables you need. The prefix file and your code will be appended together and run as one.
- It is often helpful to look at the output of the webpage console for debugging information. This can also tell you if the sub is not available.