Rose-Hulman Robotics Team

Changeset 429

Show
Ignore:
Timestamp:
02/25/09 21:38:21 (3 years ago)
Author:
auchtemm
Message:

...

Location:
trunk/software
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/software/rb/controller.py

    r425 r429  
    55        def __init__(self): 
    66                self.mode = "stop" 
    7                 self.drive = rb.drive.FakeDrive(rbconfig.left_motor_port, 
    8                                                 rbconfig.right_motor_port) 
    9                 #~ self.drive = rb.drive.Drive(rbconfig.left_motor_port, 
    10                                             #~ rbconfig.right_motor_port) 
    11          
    12         def set_mode(self, mode): 
     7                #self.drive = rb.drive.FakeDrive(rbconfig.left_motor_port, 
     8                #                               rbconfig.right_motor_port) 
     9                self.drive = rb.drive.Drive(rbconfig.left_motor_port, 
     10                                            rbconfig.right_motor_port) 
    1311                ''' 
    1412                Set the current mode.  Override this method in a subclass 
  • trunk/software/scripts/wireless.sh

    r398 r429  
    66iwconfig $1 mode 'Ad-Hoc' essid 'RHRT' channel 1 
    77ifconfig $1 up 
    8 ifconfig $1 192.168.1.1 
     8ifconfig $1 192.168.1.2