Skip to content
Snippets Groups Projects
Commit 8ca37ad9 authored by mehtank's avatar mehtank
Browse files

Use new better SRB

parent 4b5c6480
No related merge requests found
...@@ -36,7 +36,7 @@ c.addConstConstraint(("drive", "offset"), (0,0)) ...@@ -36,7 +36,7 @@ c.addConstConstraint(("drive", "offset"), (0,0))
c.addConstConstraint(("drive", "hornmount"), True) c.addConstConstraint(("drive", "hornmount"), True)
c.addConstConstraint(("drive", "centermount"), False) c.addConstConstraint(("drive", "centermount"), False)
c.addConstConstraint(("drive", "hornslots"), False) c.addConstConstraint(("drive", "hornslots"), False)
c.addConstConstraint(("drive", "_phase"), 3) c.addConstConstraint(("drive", "phase"), 3)
c.addConstraint(("link", "l"), "servo", f"2*x.get('shoulderlength') + x.get('hornoffset') + {gap('x')} + 5") c.addConstraint(("link", "l"), "servo", f"2*x.get('shoulderlength') + x.get('hornoffset') + {gap('x')} + 5")
c.addConstraint(("link", "w"), "servo", "x.get('motorwidth')") c.addConstraint(("link", "w"), "servo", "x.get('motorwidth')")
......
...@@ -112,7 +112,6 @@ subcomponents: ...@@ -112,7 +112,6 @@ subcomponents:
classname: MountedServo classname: MountedServo
kwargs: {} kwargs: {}
parameters: parameters:
_phase: 3
angle: angle:
parameter: angle parameter: angle
centermount: false centermount: false
...@@ -124,6 +123,7 @@ subcomponents: ...@@ -124,6 +123,7 @@ subcomponents:
offset: offset:
- 0 - 0
- 0 - 0
phase: 3
servo: servo:
parameter: servo parameter: servo
flipper: flipper:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment