Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added walk through of foot and shoulder servo #67

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions src/book/03-guides/03-hardware/01-working-with-robots.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,70 @@ title: Working with Robots
description: How to safely handle and work with robots.
slug: /guides/hardware/working-with-robots
---

## Aligning an Ankle
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what this page is about specifically? If it's aimed at replacing servos maybe the page should be called that. With a section for each servo that you might want to replace


An alignment of an ankle may need to be done if the foot and the leg of the robot aren't perpendicular when standing.
An ankle alignment may also be necessary when the foot has come loose.

To align an ankle correctly perform the following instructions:

1. On the inner part of the robots leg, unscrew the screws holding the plastic casing to the the ankle and knee servo.
Remove the plastic casing, as seen in the following image:
![leg cover](./images/ankle_leg/leg_cover.jpg 'leg cover')

2. There should be a silver disk, the following photo is a close up:
![servo close up](./images/ankle_leg/servo_close.jpg 'servo close up')
There are three small indents on the silver disk, two on one side and one on the other. The single dot should be pointing towards the ground when the robot is standing and the other two dots towards the head.
These three dots form an arrow, this arrow should be pointing downwards when the robot is standing.

3. Manually move the disk on the servo so it is in the correct orientation

4. Place the plastic cover back on and replace all the screws. When replacing the screws, one hole must be left without a screw to allow for the servo to move. The hole left without a screw is the largest hole, which can be seen on the right of the following image:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, "one hole must be left without a screw" . I would specifically annotate the image (or a render of the part) with the specific hole

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We sorely need this, while most parts are reasonably intuitive (arrow points to next servo in the chain), some of them are very non-intuitive

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might not be like this anymore, but I went the arrow supposed to point away from the hard stop on the servo? So that when it rotates it will always rotate away from the hard stop?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh that might be it! It would explain why we had a pi/4 offset on the shoulder pitches too

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just make a render... removes all issues

![screw hole](./images/angle_leg/screw_holes.jpg 'screw hole')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This picture is misleading

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tayloryoung6396 we were hoping to replace these pictures with renders, could you get them for us?


## Replacing Shoulder servo

1. Detatching the arm

- On the shoulder of the robot, there is a ring of screws front and back. Remove all the screws and the larger centre screw on both sides
abihall marked this conversation as resolved.
Show resolved Hide resolved
- Remove the arm from the shoulder socket, it will still be attatched by a wire
abihall marked this conversation as resolved.
Show resolved Hide resolved
- Take off the long part of plastic between the shoudler and neck, it is held by two screws. This piece of plastic can be seen in the following photo:
![shoulder cover](./images/shoulder/shoulder.jpg 'shoulder cover')
- Now that the piece is off, there is a port for the chord that is still keeping the arm in place, detach this and the arm will be completely detatched
abihall marked this conversation as resolved.
Show resolved Hide resolved
abihall marked this conversation as resolved.
Show resolved Hide resolved

2. Detatching the shoulder
abihall marked this conversation as resolved.
Show resolved Hide resolved
- Looking in the shoulder socket there is another circle of screws, remove these and the shoulder will detatch
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Looking in the shoulder socket there is another circle of screws, remove these and the shoulder will detatch
- Looking in the shoulder socket there is another circle of screws, remove these and the shoulder will detach. Do not remove the larger centre screw

Note: Two plastic spacers should also fall out
3. Removing the servo

- Remove and disconnect the boards and fans neccessary to access the shoulder servo from the inside, make sure to note any chords you detatch
abihall marked this conversation as resolved.
Show resolved Hide resolved
- On the outside of the robot where the shoulder socket detatched, remove the four screws mounting the servo to the robots body
abihall marked this conversation as resolved.
Show resolved Hide resolved
- There is a plastic holder inside the robot holding each shoulder servos in place, slide this towards the robots back to unclip the servos to allow it to fall freely out of its slot
abihall marked this conversation as resolved.
Show resolved Hide resolved

4. Mechanically testing the servo
- Get an screw driver that fits the middle screw in the servo horn. Rotate the hornto test if the servo rotates freely without any clunks. If it doesn't rotate or is clunky, it needs replacing
abihall marked this conversation as resolved.
Show resolved Hide resolved
abihall marked this conversation as resolved.
Show resolved Hide resolved
5. Installing a new servo

- Get the new servo set with the same serial number on the box (e.g. MX64 or MX106)
- Connect the metal circular disk (horn) that came in the box on the new servo, ensuring you line up the indents on the metal disk and servo
- Before placing the servo into the robot it needs to be calibrated. Using the dynamixel wizard, confirm the correct baud rate and ID of the servo. You can also check that the servo is properly calibrated by setting the goal position to a couple of different values (0 degress, +90 degrees, -90 degrees) and ensuring the arrow on the horn (the three dots) are pointing in the correct direction. It is also worth testing that the servo behaves correctly around the 180 degree point (wheel mode), if you set the goal position to 170 degrees and then to 190 degrees it should take the long way around to get there.
- Place the servo into the body, put back the plastic holder and reconnect all the cords that were disconnected in the 'removing servo' step
- Rescrew the four screws that were taken out
- The arm of the robot should be staight and perpendicular to the body when the shoulder is set to 0 degrees. This means you need to orientate the server before placing the shoulder back on.
On the horn, there are three small indents in the metal, which form an arrow. The point of the arrow needs to be towards the front of the robot, and the two dots towards its back, this ensures the robots shoulder will be correctly aligned.
abihall marked this conversation as resolved.
Show resolved Hide resolved

6. Reconstruction

- Now attach the shoulder back on, ensuring you put back the plastic spacers and leave one hole without a screw (the biggest hole in the circle of screws). The shoulder should also be placed on
abihall marked this conversation as resolved.
Show resolved Hide resolved
abihall marked this conversation as resolved.
Show resolved Hide resolved
with correct orientation. On the shoulder there is one side of raised up plastic, two sides with the holes for the screws and a shorter side. The side with the tall bit of plastic without screw holes should be faced frontwards,
the same direction the horn was orientated. The shoulder should look like it is on backwards.
![shoulder orientation](./images/shoulder/shoulder_orientation2.jpg 'shoulder orientation')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The orientation of the printed part on the horn in this picture is incorrect

- Feed the chord through the gap in the shoulder and connect the arm again to the slot between the shoulder and head
- slide the arm in place and rescrew the arm to the shoulder

Note: If you don't place the cords of the arm far enough into the shoulder, they will get caught and will limit the shoulder movements. If this happens, do not force the arm to move, but take apart the shoulder and redo the attatchment.

7. Testing

- Now the shoulder needs to be tested using Open Dynamixel Wizard. This tests if the soulder was placed on correctly, or the servo has come out of alignment during the attatchment of the shoulder and arm.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.