Rose-Hulman Robotics Team

Changeset 717 for trunk

Show
Ignore:
Timestamp:
03/21/10 15:29:43 (23 months ago)
Author:
mosttw
Message:

Fixed orientation of motors with old motor controllers

Location:
trunk/software
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/software/Makefile

    r665 r717  
    2222opencv: 
    2323        (cd lib/opencv/; cmake ./ -DWITH_GTK=0 -DWITH_GSTREAMER=0 && make -j3 ) 
    24         echo "Now run cd libs/opencv/; sudo make install" 
     24        @echo "Now run cd lib/opencv/; sudo make install" 
    2525 
    2626calib: 
  • trunk/software/rb/drive.py

    r650 r717  
    127127                ''' 
    128128                #print "Drive.setspeed: %f, %f" % (left, right) 
    129                 self.left.target  = clip(left,  -1.0, 1.0) 
     129                self.left.target  = clip(left,  -1.0, 1.0) * -1 
    130130                self.right.target = clip(right, -1.0, 1.0) 
    131131                self.controller.send('drive_targets', self.gettarget())