From 78edf8f7b240186b5c2302bd491c249567f68638 Mon Sep 17 00:00:00 2001 From: pjil27 <jillpantigcs@gmail.com> Date: Tue, 17 Aug 2021 17:11:31 -0700 Subject: [PATCH] adding NewBrainsTwoWheels.py --- rocolib/library/NewBrainsTwoWheels.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 rocolib/library/NewBrainsTwoWheels.py diff --git a/rocolib/library/NewBrainsTwoWheels.py b/rocolib/library/NewBrainsTwoWheels.py new file mode 100644 index 0000000..d526560 --- /dev/null +++ b/rocolib/library/NewBrainsTwoWheels.py @@ -0,0 +1,15 @@ +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))) + +if __name__ == "__main__": + NewBrainsTwoWheels.test() \ No newline at end of file -- GitLab