Skip to content

Commit

Permalink
minoir
Browse files Browse the repository at this point in the history
  • Loading branch information
wuphilipp committed Apr 4, 2024
1 parent 23892c5 commit abd53a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ docker build . -t gello:latest

We have provided an entry point into the docker container
```
python experiments/launch.py
python scripts/launch.py
```

# GELLO configuration setup (PLEASE READ)
Expand Down
6 changes: 3 additions & 3 deletions gello/dynamixel/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
ADDR_GOAL_POSITION = 116
LEN_GOAL_POSITION = 4
ADDR_PRESENT_POSITION = 132
ADDR_PRESENT_POSITION = 140
LEN_PRESENT_POSITION = 4
TORQUE_ENABLE = 1
TORQUE_DISABLE = 0
Expand Down Expand Up @@ -257,10 +256,11 @@ def main():
except FileNotFoundError:
driver = DynamixelDriver(ids, port="/dev/cu.usbserial-FT7WBMUB")

# Test setting torque mode
driver.set_torque_mode(True)
driver.set_torque_mode(False)

# Print the joint angles
# Test reading the joint angles
try:
while True:
joint_angles = driver.get_joints()
Expand All @@ -271,4 +271,4 @@ def main():


if __name__ == "__main__":
main()
main() # Test the driver

0 comments on commit abd53a4

Please sign in to comment.