- refactored
- integrated stirrer
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
|
||||
|
||||
class StirrerFactory:
|
||||
@staticmethod
|
||||
def create(name, params):
|
||||
if "sim" in name:
|
||||
from components.actor.stirrersim import StirrerSim
|
||||
return StirrerSim(params)
|
||||
elif "1376" in name:
|
||||
from components.actor.stirrerpololu1376 import StirrerPololu1376
|
||||
return StirrerPololu1376(params)
|
||||
Reference in New Issue
Block a user