OttoBot: Move to Misc UI Group

Set default leg legth to 34mm
This commit is contained in:
Florian Festi 2017-12-18 23:48:09 +01:00
parent e26991695a
commit 946d040bac
2 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@ from boxes import *
class OttoBody(Boxes):
"""Otto LC - a laser cut chassis for Otto DIY - body"""
ui_group = "Unstable"
ui_group = "Misc"
def __init__(self):
Boxes.__init__(self)

View File

@ -27,7 +27,7 @@ class LegEdge(edges.BaseEdge):
class OttoLegs(Boxes):
"""Otto LC - a laser cut chassis for Otto DIY - legs"""
ui_group = "Unstable"
ui_group = "Misc"
def __init__(self):
Boxes.__init__(self)
@ -41,8 +41,8 @@ class OttoLegs(Boxes):
"--anklebolt2", action="store", type=float, default=2.6,
help="diameter for hole for ankle bolts - leg side")
self.argparser.add_argument(
"--length", action="store", type=float, default=37.0,
help="length of feet (34mm min)")
"--length", action="store", type=float, default=34.0,
help="length of legs (34mm min)")
def foot(self, x, y, ly, l, r=5., move=None):
if self.move(x, y, move, True):