Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

improved readme with troubleshooting and related projects

  • Loading branch information...
commit a79be4664d70a418609a8cf4bebb0f8fd034765d 1 parent 68ad6a6
Alexander List authored June 23, 2011
25  README
@@ -8,12 +8,37 @@ All the code is here, but you'll need to compile the lib with libMake.sh
8 8
 You'll also need python; pyDriveLink.py is the code which will set the following states on control:
9 9
 IP Address 192.168.1.100 port 7337 -- always need a way to remember, huh?
10 10
 
  11
+The BeagleBoard's host network is currently: 'EmbeddedControl' with password: BeagleBoardBeagleBoard*123
  12
+
11 13
 The client code also exists, and can be found as pyClient.py in this root folder; notice that sending commands from client to server is trivial and requires only socket connections. These sockets are closed after the server replies to a command. 
12 14
 See socketDriveSpec.txt for the spec which is used to communicate with your beagleBoard server from the client.
13 15
 
14 16
 To get SWARMS to run at boot, the startup/SWARMSd file is referenced in boot directories... Use vim on SWARMSd to find out where for the angstrom distribution. 
15 17
 
16 18
 The password for SSH on the beagleBoard at the DFL <lab> is SWARMSbb
  19
+The username is root
  20
+
  21
+Related projects:
  22
+https://github.com/alist/iOSSwarmsBeagleBoardClient 	is a beagle client program that runs on the iPhone/iPod(?) to drive the RC Car over wifi; it contains portable code for new Cocoa projects
  23
+https://github.com/alist/OpenSWARMS 			Contains the code for the SWARMS controller and the OBSC controller. It contains a Documentation directory that shows much about the hirarchy
  24
+							>of control for the SWARMS system, and how to implement new SWARMS controllers, or recreate the entire system for additional robots.
  25
+
  26
+TroubleShooting:
  27
+Be sure that all components are plugged in:
  28
+	The OBSC system's PWM cable is Arrow-to-Arrow with the rc car's drive motor controller; the drive motor controller is ON (with green LED)
  29
+	The rc Car's servo motor is plugged in the same orientation as the drive motors pwm cable.
  30
+	The TTL line from the SWARMS Controller is plugged into the OBSC system
  31
+	The SWARMS controller's USB connection is plugged into a hub wherin the Beagle Board is the host
  32
+Be sure that the network is active:
  33
+	If the USR1 LED on the BeagleBoard is not lit, be sure that the BB is connected to a LAN network where it can have its ideal IP address and port
  34
+	Press the reset button, and eventually the swarms server process (as pyDriveLink.py script) runs and initializes the server and relights the USR1 led
  35
+If network commands like 'pause' work, but those like 'drive or steer' don't:
  36
+	If the lights on the SWARMS board stop flashing:
  37
+		Reset the SWARMS board; perhaps need to reset Beagle Board
  38
+	If the network socket inexplicably fails:
  39
+		Reset the Beagle and the SWARMS board
  40
+	If the PRG button on the SWARMS controller does not turn the RC Car's wheels to one slightly-offset location:
  41
+		Try reseting the SWARMS controller, and reseting the drive-motor controller on the RC car to reset the OBSC system
17 42
 
18 43
 LICENSE:
19 44
 This code is hereby licensed under the MIT License @ http://www.opensource.org/licenses/mit-license.php
2  socketDriveSpec.txt
@@ -12,7 +12,7 @@ steer [-100-100];
12 12
 drive [-100-100];
13 13
 start; -- initallizes connection between drive controller, and control subsystem; required before other commands;
14 14
 stop; --resets motors to 0, clears command buffer (doesn't get added to command stack in fifo paradigm)
15  
-pause; -- short .1 second pause, appropiate for spacing motor commands
  15
+pause; -- short .05 second pause, appropiate for spacing motor commands
16 16
 
17 17
 command responses from the server appear in the following ways:
18 18
 did steer 100 ; did drive -100; did stop;

0 notes on commit a79be46

Please sign in to comment.
Something went wrong with that request. Please try again.