Coder Social home page Coder Social logo

Comments (13)

mfussi66 avatar mfussi66 commented on August 19, 2024 3

and the belt drive ratio is 2:1

This is caused by the number of teeth of the two pulleys: 28/14.

from robots-configuration.

Lawproto avatar Lawproto commented on August 19, 2024 3

Weird enough, 196×1.778=348.44, which is similar to 384.44 with 2 digits swapped.

Yeah, @pattacini! @simeonedussoni noticed the same thing. And, weird enough again, the number with the digits swapped is close enough to $196 \times 2=392$, which is the number I would expect given our current parameters. It seems that two wrongs do make a right, sometimes.

This is caused by the number of teeth of the two pulleys: 28/14.

Given the 1.778 oddball, I checked on the teeth of the pulleys again. I confirm it is as @mfussi66 said.

immagine
immagine

I have no idea where that number came from in the first place.

from robots-configuration.

mfussi66 avatar mfussi66 commented on August 19, 2024 2

The E2J parameter inevitably has an effect on the decoupler, since it uses the angle of the driven pulley to compute the direct kinematics.

from robots-configuration.

maggia80 avatar maggia80 commented on August 19, 2024 2

looking at the model in Simscape it turns out that: image

the ratio is 1.777

from robots-configuration.

pattacini avatar pattacini commented on August 19, 2024 2

Hi @maggia80

We do generate the code of the controller only, as per https://github.com/robotology/icub-firmware-models/tree/master/wrist_mk2_1#embedded-firmware-generation.

The ratio is hand-coded in the model but used only for simulation.
At any rate, I'll open up a PR to fix them up.

from robots-configuration.

pattacini avatar pattacini commented on August 19, 2024 2

Here's the PR:

from robots-configuration.

pattacini avatar pattacini commented on August 19, 2024 2

I would like to take a look at the Simscape model, where can I find it?

You ought to download the repo https://github.com/robotology/icub-firmware-models and then open up the MATLAB project https://github.com/robotology/icub-firmware-models/blob/master/wrist_mk2_1/spherical_wrist.prj (using the latest release R2023b).

from robots-configuration.

pattacini avatar pattacini commented on August 19, 2024 1

Weird enough, $196 \times 1.778 = 348.44$, which is similar to $384.44$ with 2 digits swapped.

from robots-configuration.

pattacini avatar pattacini commented on August 19, 2024 1

Ok, thanks @Lawproto!

I'll open up a PR to fix the values.
The documentation is correct.

from robots-configuration.

pattacini avatar pattacini commented on August 19, 2024 1

PR opened in:

@simeonedussoni @valegagge, remember to update the values in the test setup of the new wrist.

from robots-configuration.

valegagge avatar valegagge commented on August 19, 2024 1

PR opened in:

@simeonedussoni @valegagge, remember to update the values in the test setup of the new wrist.

Yes for sure! we noticed the problem while we were configuring the wrist MK2.1 setup!

from robots-configuration.

pattacini avatar pattacini commented on August 19, 2024 1

I'll check it out and, if it's the case, I'll open an issue at https://github.com/robotology/icub-firmware-models.

from robots-configuration.

Lawproto avatar Lawproto commented on August 19, 2024

I would like to take a look at the Simscape model, where can I find it?

from robots-configuration.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.