diff --git a/rocolib/library/NewBrainsTwoWheels.py b/rocolib/library/NewBrainsTwoWheels.py new file mode 100644 index 0000000000000000000000000000000000000000..35bac76b8bce7dbed101c02030447b0a9c55e764 --- /dev/null +++ b/rocolib/library/NewBrainsTwoWheels.py @@ -0,0 +1,17 @@ +from rocolib.api.components import Component +from rocolib.utils.utils import copyDecorations + + +class NewBrainsTwoWheels(Component): + def assemble(self): + copyDecorations(self, ("frightservoface", ("fright", "face0", -1, 0)), + ("frightservosheath", ("sheath0", "face3", -1, 0))) + copyDecorations(self, ("bleftservoface", ("bleft", "face0", 2, 1)), + ("bleftservosheath", ("sheath0", "face1", 0, -1))) + copyDecorations(self, ("brainface", ("holder", "face0", 0, 1)), + ("brainsheath", ("sheath0", "face0", 1, 2))) + + copyDecorations(self, ("brainface1", ("holder", "face2", 0, 1)), + ("brainsheath1", ("sheath0", "face2", 1, 2))) +if __name__ == "__main__": + NewBrainsTwoWheels.test() \ No newline at end of file