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

Conversation

abihall
Copy link

@abihall abihall commented Aug 2, 2020

A section on servo parts will be added
Another section on fixing a knee will be added

Currently the suggested changes to the shoulder instructions were made, if there is anything that I have missed, let me know.
Link to the preview:
https://deploy-preview-67--nubook.netlify.app/guides/hardware/working-with-robots

Copy link
Member

@KipHamiltons KipHamiltons left a comment

Choose a reason for hiding this comment

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

Quick review

src/book/03-guides/03-hardware/01-working-with-robots.mdx Outdated Show resolved Hide resolved
src/book/03-guides/03-hardware/01-working-with-robots.mdx Outdated Show resolved Hide resolved
src/book/03-guides/03-hardware/01-working-with-robots.mdx Outdated Show resolved Hide resolved
src/book/03-guides/03-hardware/01-working-with-robots.mdx Outdated Show resolved Hide resolved
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.
Copy link
Contributor

Choose a reason for hiding this comment

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

This description is open ended when describing any joint. It would be better to specify the actual hole on the printed part that each arrow should point to in the zero position

Copy link
Author

Choose a reason for hiding this comment

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

@tayloryoung6396 not sure what you mean by " specify the actual hole on the printed part " not sure what printed part on the foot/ankle you are referring to

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe a render of the printed part, with a red circle around the specific hole that the horn points towards. Could be in a subsection with renders for each part


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

src/book/03-guides/03-hardware/01-working-with-robots.mdx Outdated Show resolved Hide resolved
src/book/03-guides/03-hardware/01-working-with-robots.mdx Outdated Show resolved Hide resolved
src/book/03-guides/03-hardware/01-working-with-robots.mdx Outdated Show resolved Hide resolved
src/book/03-guides/03-hardware/01-working-with-robots.mdx Outdated Show resolved Hide resolved
src/book/03-guides/03-hardware/01-working-with-robots.mdx Outdated Show resolved Hide resolved
- Remove the circular metal plate from the servo, get the plastic servo testor to test if the servo rotates freely without any clunks. If it doesn't rotate or is clunky, it needs replacing
5. Installing a new servo
- Get the new servo set with the same serial number on the box
- Connect the metal circular disk that came in the box on the new servo, ensuring you line up the indents on the metal disk and servo
Copy link
Collaborator

Choose a reason for hiding this comment

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

At this point it would be a good idea to connect the servo to Dynamixel Wizard and ensure the correct ID and baud rate are set. It is easier to do this now rather than after the servo is inside the robot. 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, if you set the goal position to 170 degrees and then to 190 degrees it should take the long way around to get there.

Copy link
Author

Choose a reason for hiding this comment

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

So do you recommend I add testing the servo before putting it in and then also testing it once the shoulder and arm is on? If the plastic part of the shoulder isn't attached straight, it will also be off when at 0, 90 and -90 degrees.

Copy link
Contributor

Choose a reason for hiding this comment

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

  1. 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 circualr disk that came in the box on the new servo, ensuring you line up the indents on the metal disk and servo
    • 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 chords that were disconnected in the 'removing servo' step
    • Rescrew the four screws that were taken out
    • The arms of the robot should be directly outwards when set to 0 degrees. This means you need to orientate the server before placing the shoulder back on.
      The single indent 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.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yea, it is a lot easier to work with the servo and Dynamixel Wizard while the servo is outside of the robot, and if you need to do calibration Dynamixel Wizard will refuse to do it if more than one servo is connected. Testing once the robot is fully assembled can be done by running scripts and ensuring the correct pose is achieved.

src/book/03-guides/03-hardware/01-working-with-robots.mdx Outdated Show resolved Hide resolved
src/book/03-guides/03-hardware/01-working-with-robots.mdx Outdated 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 shortest bit of plastic should be faced frontwards,
the same direction the metal circular disk was orientated.
- Connect the chord of the arm again to the slot between the shoulder and head
- slide the arm in place and rescrew the arm to the shoulder
Copy link
Collaborator

Choose a reason for hiding this comment

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

The arrow on the servo horn also needs to point in a very specific direction here as well

Copy link
Author

Choose a reason for hiding this comment

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

The metal circular disk is the horn, I thought new recruits might not know its called a horn. Should I put that in?

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe at the start of this section, include a part on they different servos (mx64 mx106) and what a flywheel and horn are

Copy link
Collaborator

Choose a reason for hiding this comment

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

We should use correct terms wherever possible. You are right though, new recruits are unlikely to know these terms. We will have to make another page (or add to this page) details about the servos (might make more sense on the page where we detail how to change the gear set in the servo).

To be more specific

  • The horn is more of a bronze-ish colour. It has the three dots that form the arrow on it. It won't spin freely by hand (you will almost always need to use an allen/hex key as a lever to make it spin)
  • The flywheel sits on the opposite side of the servo (not all servo in the robot have a flywheel attahced). The flywheel is silver and it free-spinning (you can flick it with you finger and it will spin happily)

Copy link
Author

Choose a reason for hiding this comment

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

Good idea, I will add that section and get some photos as well

@Bidski
Copy link
Collaborator

Bidski commented Aug 9, 2020

@abihall After creating a pull request, wait for the netlify/nubook/deploy-preview item to get a green tick and to also say "Deploy preview ready!". Click the "Details" link and then navigate to the page you edited (Guides -> Hardware -> Working with Robots) in the preview. Then copy the URL and add it to your PR comment (edit the very first comment at the start of the preview) as a link. This will allow everyone to easily access and view the changes you have made. If you have edited multiple pages you can add multiple links.

image

@@ -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

src/book/03-guides/03-hardware/01-working-with-robots.mdx Outdated Show resolved Hide resolved
src/book/03-guides/03-hardware/01-working-with-robots.mdx Outdated Show resolved Hide resolved
src/book/03-guides/03-hardware/01-working-with-robots.mdx Outdated Show resolved Hide resolved
src/book/03-guides/03-hardware/01-working-with-robots.mdx Outdated Show resolved Hide resolved
- 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
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

src/book/03-guides/03-hardware/01-working-with-robots.mdx Outdated Show resolved Hide resolved
src/book/03-guides/03-hardware/01-working-with-robots.mdx Outdated Show resolved Hide resolved
src/book/03-guides/03-hardware/01-working-with-robots.mdx Outdated Show resolved Hide resolved
src/book/03-guides/03-hardware/01-working-with-robots.mdx Outdated Show resolved Hide resolved
src/book/03-guides/03-hardware/01-working-with-robots.mdx Outdated Show resolved Hide resolved
src/book/03-guides/03-hardware/01-working-with-robots.mdx Outdated Show resolved Hide resolved
src/book/03-guides/03-hardware/01-working-with-robots.mdx Outdated Show resolved Hide resolved
src/book/03-guides/03-hardware/01-working-with-robots.mdx Outdated Show resolved Hide resolved
src/book/03-guides/03-hardware/01-working-with-robots.mdx Outdated Show resolved Hide resolved
src/book/03-guides/03-hardware/01-working-with-robots.mdx Outdated Show resolved Hide resolved
@Bidski
Copy link
Collaborator

Bidski commented Aug 10, 2020

The flow of this page is bugging me :(

I think we need to break it up into a number of separate sections, each section dealing with one specific thing

  • How to repair a servo
  • How to remove the NUC
  • How to install the NUC
  • How to detach the arm from the shoulder
  • How to detach the shoulder from the torso
  • How to attach the arm to the shoulder
  • How to attach the shoulder to the torso
  • etc

Then the section on repairing the shoulder pitch servo can just be

  1. Detach arm from shoulder
  2. Detach shoulder from torso
  3. Remove NUC
  4. Remove shoulder pitch servo
  5. Repair/replace shoulder pitch servo
  6. Install shoulder pitch servo
  7. Install NUC
  8. Attach shoulder to torso
  9. Attach arm to shoulder
  10. Test

And you can then rely on the other sections to provide the details on each of the steps listed in the section on repairing the shoulder pitch servo, and repairing other servos can then follow the same format

Thoughts @tayloryoung6396 @JosephusPaye @ysims @TrentHouliston ?

@abihall
Copy link
Author

abihall commented Aug 11, 2020

Hi I have made all the changes recommended (i hope) except for the layout of the page recommended by @Bidski . I am happy to make those changes recommended if needed

@abihall abihall requested a review from Bidski August 11, 2020 07:54
@TrentHouliston
Copy link
Member

The flow of this page is bugging me :(

I think we need to break it up into a number of separate sections, each section dealing with one specific thing

  • How to repair a servo
  • How to remove the NUC
  • How to install the NUC
  • How to detach the arm from the shoulder
  • How to detach the shoulder from the torso
  • How to attach the arm to the shoulder
  • How to attach the shoulder to the torso
  • etc

Then the section on repairing the shoulder pitch servo can just be

  1. Detach arm from shoulder
  2. Detach shoulder from torso
  3. Remove NUC
  4. Remove shoulder pitch servo
  5. Repair/replace shoulder pitch servo
  6. Install shoulder pitch servo
  7. Install NUC
  8. Attach shoulder to torso
  9. Attach arm to shoulder
  10. Test

And you can then rely on the other sections to provide the details on each of the steps listed in the section on repairing the shoulder pitch servo, and repairing other servos can then follow the same format

Thoughts @tayloryoung6396 @JosephusPaye @ysims @TrentHouliston ?

I think that the best way to go about this would be to copy what sites like ifixit do with their teardown/rebuild instructions. Those are super useful and really easy to follow. Is there a way we can make it behave like that?

Basically you have a bunch of steps that you need to take to do a specific task and present them in order.

@JosephusPaye
Copy link
Member

I like @Bidski's idea for now. Trent's too but that's probably something we should do later. I think it's beyond the scope of this PR.

@Bidski
Copy link
Collaborator

Bidski commented Aug 11, 2020

The flow of this page is bugging me :(
I think we need to break it up into a number of separate sections, each section dealing with one specific thing

  • How to repair a servo
  • How to remove the NUC
  • How to install the NUC
  • How to detach the arm from the shoulder
  • How to detach the shoulder from the torso
  • How to attach the arm to the shoulder
  • How to attach the shoulder to the torso
  • etc

Then the section on repairing the shoulder pitch servo can just be

  1. Detach arm from shoulder
  2. Detach shoulder from torso
  3. Remove NUC
  4. Remove shoulder pitch servo
  5. Repair/replace shoulder pitch servo
  6. Install shoulder pitch servo
  7. Install NUC
  8. Attach shoulder to torso
  9. Attach arm to shoulder
  10. Test

And you can then rely on the other sections to provide the details on each of the steps listed in the section on repairing the shoulder pitch servo, and repairing other servos can then follow the same format
Thoughts @tayloryoung6396 @JosephusPaye @ysims @TrentHouliston ?

I think that the best way to go about this would be to copy what sites like ifixit do with their teardown/rebuild instructions. Those are super useful and really easy to follow. Is there a way we can make it behave like that?

Basically you have a bunch of steps that you need to take to do a specific task and present them in order.

That is basically what I am proposing. However, a lot of the steps are going to be shared across multiple different tear downs/rebuilds (calibrating a servo, setting servo id, fixing the elbow requires tearing down the shoulder, etc), so I am proposing having sections covering all of the common steps, then the tear downs/rebuilds themselves can just list the steps (with links to appropriate sections)

@ysims
Copy link
Member

ysims commented Sep 27, 2020

We could see about going over this properly in the lab during the mid-semester break, if we get time. We have two working robots, so it should be easy enough to get pictures of the correct positions. If @tayloryoung6396 wants to get renders for the parts that would be even better.

@KipHamiltons
Copy link
Member

@tayloryoung6396 can we get those renders?

@KipHamiltons
Copy link
Member

We wouldn't get this merged during the mid-year break would we?? 😍
@tayloryoung6396 can you get those renders please. Then @abihall and @miikyla can finish this one off

@abihall
Copy link
Author

abihall commented Jun 30, 2021

We wouldn't get this merged during the mid-year break would we?? 😍
@tayloryoung6396 can you get those renders please. Then @abihall and @miikyla can finish this one off

Wait what do you want me to do? Finish this NUbook page?

@KipHamiltons
Copy link
Member

@abihall if you could finish it, that would be absolutely lit

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:
![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?

@LachlanCourt LachlanCourt added the documentation Improvements or additions to documentation label Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants