예제 #1
0
파일: robot.py 프로젝트: Xe/code
    import testing as wpi

#shiny = vision.PCVideoServer()

import outputs as outs
import inputs  as ins
import util
import arm
#import comm_to_base as base
util.sep()

stick1 = ins.Xbox(1)
util.sep()

gun = outs.relay(2)
outs.initComp()
util.sep()

drive = outs.Driver(1,2,3,4)
#drive = outs.Driver(1,2)
lsg = ins.line_sensor_group(6,7,8)
util.sep()

#def readForDog():
#    return util.readFileandSplit("config.ini", 0, "True")

#doggy = readForDog()
doggy = True
util.sep()

def init():
예제 #2
0
파일: debug_tests.py 프로젝트: Xe/code
    def do_comp(self, args):
	    """
	    COMPRESSOR WORKIE?
	    """
	    import outputs
	    outputs.initComp()
예제 #3
0
파일: debug_tests.py 프로젝트: Xe/code
    def do_comp(self, args):
        """
	    COMPRESSOR WORKIE?
	    """
        import outputs
        outputs.initComp()