Mercurial > tote0
changeset 11:3cdcefe27523
Update the leg dimensions
| author | Radomir Dopieralski <sheep-devel@sheep.art.pl> |
|---|---|
| date | Wed, 27 Jan 2016 13:51:27 +0100 |
| parents | bbe9d986b319 |
| children | 076348555d3b |
| files | leg.py tote.py |
| diffstat | 2 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/leg.py Wed Jan 27 12:46:27 2016 +0100 +++ b/leg.py Wed Jan 27 13:51:27 2016 +0100 @@ -22,9 +22,9 @@ class Leg: # Lengths of leg segments, in mm - coxa = 12 # between the hip and the knee - femur = 42 # between the knee and the ankle - tibia = 38.5 # between the ankle and the foot + coxa = 22 # between the hip and the knee + femur = 45 # between the knee and the ankle + tibia = 38 # between the ankle and the foot base = 21 # from the center of body def __init__(self, hip_servo, knee_servo, ankle_servo, x_dir, y_dir):
--- a/tote.py Wed Jan 27 12:46:27 2016 +0100 +++ b/tote.py Wed Jan 27 13:51:27 2016 +0100 @@ -8,10 +8,10 @@ class Leg(leg.Leg): # Lengths of leg segments, in mm - coxa = 22.5 # between the hip and the knee - femur = 38.0 # between the knee and the ankle - tibia = 30.0 # between the ankle and the foot - base = 15.0, 15.0 # from the center of body + coxa = 22.0 # between the hip and the knee + femur = 45.0 # between the knee and the ankle + tibia = 38.0 # between the ankle and the foot + base = 21.0, 21.0 # from the center of body class Robot(robot.Robot):
