Exemple #1
0
 def __init__(self, inertia, friction, name=''):
     PhysicalNode.__init__(self, True, True, name, 'Rotational speed',
                           'Torque')
     self.inertia = inertia
     self.friction = friction
Exemple #2
0
 def __init__(self, mass, SCx, friction, name=''):
     PhysicalNode.__init__(self, True, True, name, 'Speed', 'Force')
     self.mass = mass
     self.SCx = SCx
     self.friction = friction
Exemple #3
0
 def __init__(self,name=''):
     PhysicalNode.__init__(self,False,True,name,'Voltage','Intensity')