rip this branch
This commit is contained in:
parent
0306e18640
commit
62b1896304
|
@ -6,8 +6,8 @@ import yaml
|
||||||
|
|
||||||
class HopeJuniorRobot:
|
class HopeJuniorRobot:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.arm_port = "/dev/ttyUSB0"
|
self.arm_port = "/dev/tty.usbserial-140"
|
||||||
self.hand_port = "/dev/ttyACM1"
|
self.hand_port = "/dev/tty.usbmodem58760436961"
|
||||||
self.arm_bus = FeetechMotorsBus(
|
self.arm_bus = FeetechMotorsBus(
|
||||||
port = self.arm_port,
|
port = self.arm_port,
|
||||||
motors={
|
motors={
|
||||||
|
|
|
@ -35,7 +35,7 @@ def main(
|
||||||
|
|
||||||
# #calibrate arm
|
# #calibrate arm
|
||||||
arm_calibration = robot.get_arm_calibration()
|
arm_calibration = robot.get_arm_calibration()
|
||||||
exoskeleton = HomonculusArm(serial_port="/dev/ttyACM2")
|
exoskeleton = HomonculusArm(serial_port="/dev/tty.usbmodem1201")
|
||||||
|
|
||||||
|
|
||||||
if calibrate_exoskeleton:
|
if calibrate_exoskeleton:
|
||||||
|
@ -49,7 +49,7 @@ def main(
|
||||||
|
|
||||||
#calibrate hand
|
#calibrate hand
|
||||||
hand_calibration = robot.get_hand_calibration()
|
hand_calibration = robot.get_hand_calibration()
|
||||||
glove = HomonculusGlove(serial_port = "/dev/ttyACM0")
|
glove = HomonculusGlove(serial_port = "/dev/tty.usbmodem1101")
|
||||||
|
|
||||||
if calibrate_glove:
|
if calibrate_glove:
|
||||||
glove.run_calibration()
|
glove.run_calibration()
|
||||||
|
|
Loading…
Reference in New Issue