Code Monkey home page Code Monkey logo

Comments (4)

visose avatar visose commented on August 27, 2024

Hi yijiangh, if you tell me the robot models and track model you have, and name of your institution, I can prepare a set of .xml and .3dm files for you. This will also help you understand how the xml works in case you need to modify it later. I agree that this should be documented somewhere.

1 - These are the Denavit–Hartenberg parameters (https://en.wikipedia.org/wiki/Denavit–Hartenberg_parameters)
2 - The DH parameters define the relative positions of the joints (as a chain).

3- In the Bartlett .xml file you'll see a how to insert a track. You should have one per robot controller. If the track and robot are connected to the same controller, you'll have two mechanisms inside one RobotCell, you'll probably also have both of them inside the same Mechanical Group.

You can cite this as: Robots plugin for Grasshopper (https://github.com/visose/Robots)

from robots.

yijiangh avatar yijiangh commented on August 27, 2024

Hi Vicente,

Thank you for your explanation. I am a grad student at MIT and I am trying to use your package as a simulation tool. The robot is an IRB 6640-185-280 and the track model is the UCLA KUKA model that I get from the KUKA|PRC package. MIT does not currently own these giant machines but I'd love to work with them visually.

The only thing that I am having trouble with is the DH parameters in the xml file - do you have some documentation on how do you generate them?

I've set up a draft version of the xml and rhino file (attached here: Robots-MIT_sim.zip), where most of the data has been filled up except the DH parameters. Could you please help me complete them? For your convenience, I create a sublayer called joint_points to mark the joint positions (see snapshot below).

image

I am expecting the finished setup to be the same as the following:

image

Thank you so much for your patience and help!

from robots.

visose avatar visose commented on August 27, 2024

Hi, attached is the working modified library. I added some comments in the .xml.
The DH parameters you can get them from robot dimensions (see in comments).
It's a bit weird that you're using a KUKA track with an ABB robot. I would try to find out the actual track model for better naming conventions (rather than naming it UCLA Track) but it will work anyway.
In the Rhino file a robot should have only 7 meshes (base + 6 axes), each in the apropiate layer. I joined the different mesh parts together and applied some mesh decimation (_reducemesh command).

MIT_sim.zip

from robots.

yijiangh avatar yijiangh commented on August 27, 2024

Thank you very much! The example definitely helps me better understand how these things should be set up. With this, I will close the issue.

from robots.

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.