def initControllers(self):
		self.xAxisNode = nodes.networkedGestaltNode('X Axis', self.fabnet, filename = '086-005a.py', persistence = self.persistence)
		self.yAxisNode = nodes.networkedGestaltNode('Y Axis', self.fabnet, filename = '086-005a.py', persistence = self.persistence)
		self.zAxisNode = nodes.networkedGestaltNode('Z Axis', self.fabnet, filename = '086-005a.py', persistence = self.persistence)
		self.kAxisNode = nodes.networkedGestaltNode('K Axis', self.fabnet, filename = '086-005a.py', persistence = self.persistence)
		#self.zkNode = nodes.compoundNode(self.yAxisNode, self.kAxisNode)
		self.xyzkNode = nodes.compoundNode(self.xAxisNode, self.yAxisNode, self.zAxisNode,self.kAxisNode)
Пример #2
0
	def initControllers(self):
		print "init controllers, x and y"
		self.xAxisNode = nodes.networkedGestaltNode('A axis', self.fabnet, filename = '086-005a.py', persistence = self.persistence)
		self.yAxisNode = nodes.networkedGestaltNode('B axis', self.fabnet, filename = '086-005a.py', persistence = self.persistence)
		self.zAxisNode = nodes.networkedGestaltNode('Z axis', self.fabnet, filename = '086-005a.py', persistence = self.persistence)
 
		self.xyzNode = nodes.compoundNode(self.xAxisNode, self.yAxisNode, self.zAxisNode)
Пример #3
0
	def initControllers(self):
		# should we call it xyz for delta? alpha beta gamma?

		self.alphaNode = nodes.networkedGestaltNode('node  alpha',self.fabnet,filename='086-005a.py',persistance=self.persistance)
		self.alphaNode = nodes.networkedGestaltNode('node  beta',self.fabnet,filename='086-005a.py',persistance=self.persistance)
		self.alphaNode = nodes.networkedGestaltNode('node  gamma',self.fabnet,filename='086-005a.py',persistance=self.persistance)

		self.abgNode = nodes.compoundNode(self.alphaNode, self.betaNode, self.gammaNode)
	def initControllers(self):

		self.polarAxisNode = nodes.networkedGestaltNode('Polar Axis', self.fabnet, filename = '086-005a.py', persistence = self.persistence)

		self.y1AxisNode = nodes.networkedGestaltNode('Y1 Axis', self.fabnet, filename = '086-005a.py', persistence = self.persistence)
		self.y2AxisNode = nodes.networkedGestaltNode('Y2 Axis', self.fabnet, filename = '086-005a.py', persistence = self.persistence)

		#self.yyNode = nodes.compoundNode(self.y1AxisNode, self.y2AxisNode)
		self.machineNode = nodes.compoundNode(self.polarAxisNode, self.y1AxisNode, self.y2AxisNode)
 def initControllers(self):
     self.xaAxisNode = nodes.networkedGestaltNode(
         'XA Axis', self.fabnet, filename='086-005a.py', persistence=self.persistence)
     self.xbAxisNode = nodes.networkedGestaltNode(
         'XB Axis', self.fabnet, filename='086-005a.py', persistence=self.persistence)
     self.yAxisNode = nodes.networkedGestaltNode(
         'Y Axis', self.fabnet, filename='086-005a.py', persistence=self.persistence)
     self.zAxisNode = nodes.networkedGestaltNode(
         'Z Axis', self.fabnet, filename='086-005a.py', persistence=self.persistence)
     self.extruderNode = nodes.networkedGestaltNode(
         'Extruder', self.fabnet, filename = '086-005a.py', persistence = self.persistence)
     self.xabyzNode = nodes.compoundNode(
         self.xaAxisNode, self.xbAxisNode, self.yAxisNode, self.zAxisNode)
Пример #6
0
 def initControllers(self):
     print "init controllers, x and y"
     self.xAxisNode = nodes.networkedGestaltNode(
         'A axis',
         self.fabnet,
         filename='086-005a.py',
         persistence=self.persistence)
     self.yAxisNode = nodes.networkedGestaltNode(
         'B axis',
         self.fabnet,
         filename='086-005a.py',
         persistence=self.persistence)
     self.xyNode = nodes.compoundNode(self.xAxisNode, self.yAxisNode)
Пример #7
0
    def initControllers(self):
        print "init controllers, a and b"
        self.aAxisNode = nodes.networkedGestaltNode(
            'A Rotary',
            self.fabnet,
            filename='086-005a.py',
            persistence=self.persistence)
        self.bAxisNode = nodes.networkedGestaltNode(
            'B Rotary',
            self.fabnet,
            filename='086-005a.py',
            persistence=self.persistence)

        self.abNode = nodes.compoundNode(self.aAxisNode, self.bAxisNode)
Пример #8
0
 def initControllers(self):
     self.aAxisNode = nodes.networkedGestaltNode(
         'A Axis',
         self.fabnet,
         filename='086-005a.py',
         persistence=self.persistence)
     self.aNode = nodes.compoundNode(self.aAxisNode)
Пример #9
0
	def initControllers(self):
		self.xAxisNode = nodes.networkedGestaltNode('X Axis', self.fabnet, filename = '086-005a.py', persistence = self.persistence)
		self.yAxisNode = nodes.networkedGestaltNode('Y Axis', self.fabnet, filename = '086-005a.py', persistence = self.persistence)
Пример #10
0
	def initControllers(self):
		print "init controllers, a and b"
		self.aAxisNode = nodes.networkedGestaltNode('A Rotary', self.fabnet, filename = '086-005a.py', persistence = self.persistence)
		self.bAxisNode = nodes.networkedGestaltNode('B Rotary', self.fabnet, filename = '086-005a.py', persistence = self.persistence)

		self.abNode = nodes.compoundNode(self.aAxisNode, self.bAxisNode)
Пример #11
0
	def initControllers(self):
		self.aAxisNode = nodes.networkedGestaltNode('A Axis', self.fabnet, filename = '086-005a.py', persistence = self.persistence)
		self.xNode = nodes.compoundNode(self.aAxisNode)
Пример #12
0
from pygestalt.Nodes import printrboard
from pygestalt import nodes
from pygestalt.Nodes import dummyNode
from pygestalt import interfaces

#myPrintrboard = nodes.soloIndependentNode(name = 'myPrintrboard', module = printrboard)
#gsArduino = nodes.soloGestaltNode(name = 'gsArduino1')

myInterface = interfaces.gestaltInterface('myInterface', interfaces.serialInterface(baudRate = 115200, interfaceType = 'ftdi', portName = '/dev/tty.usbserial-FTVG67VT'))
myFabUnit = nodes.networkedGestaltNode('myFabUnit', myInterface, module = dummyNode)

#gsArduino = nodes.soloGestaltNode(name = 'gsArduino', interface = interfaces.serialInterface(baudRate = 76800, interfaceType = 'lufa', 
#																								portName = "/dev/tty.usbmodemfa131"), module = dummyNode)

#gsArduino.identifyRequest()

#print gsArduino.urlRequest()