From c23a669844b3882714c78d91902c99f580eeae21 Mon Sep 17 00:00:00 2001 From: pjil27 <jillpantigcs@gmail.com> Date: Tue, 3 Aug 2021 10:31:29 -0700 Subject: [PATCH] Deleting FourWheelCar.py to remove error "Keyword:fright" plus only printing the tank top on Tank.yaml --- rocolib/builders/FourWheelCarBuilder.py | 3 ++- rocolib/library/FourWheelCar.yaml | 10 ++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/rocolib/builders/FourWheelCarBuilder.py b/rocolib/builders/FourWheelCarBuilder.py index 82956c6..cfc0e5c 100644 --- a/rocolib/builders/FourWheelCarBuilder.py +++ b/rocolib/builders/FourWheelCarBuilder.py @@ -5,7 +5,8 @@ c = Component() c.addSubcomponent("front", "BrainsTwoWheels") c.addSubcomponent("back", "TwoWheels", inherit=True, prefix=None) -c.addConnection(("back", "sheath1.botedge2"), ("front", "sheath0.botedge2")) +c.addConnection(("front", "sheath0.botedge2"), ("back", "sheath1.botedge2")) +c.addConnection( ("front", "sheath0.botedge0"), ("back", "sheath1.botedge0"), tabWidth=10) c.inheritAllInterfaces("back", prefix=None) diff --git a/rocolib/library/FourWheelCar.yaml b/rocolib/library/FourWheelCar.yaml index 6fd3aea..73439a2 100644 --- a/rocolib/library/FourWheelCar.yaml +++ b/rocolib/library/FourWheelCar.yaml @@ -1,10 +1,16 @@ connections: connection0: - - - back - - sheath1.botedge2 - - front - sheath0.botedge2 + - - back + - sheath1.botedge2 - {} + connection1: + - - front + - sheath0.botedge0 + - - back + - sheath1.botedge0 + - tabWidth: 10 interfaces: sheath1.botedge0: interface: sheath1.botedge0 -- GitLab