Grasshopper

algorithmic modeling for Rhino

I'd like to create an inverse kinematics chain for a 6-axis robotic arm, and use it to generate the G-Code necessary to operate the robotic arm.  For starters, does anyone have experience with inverse kinematics (just lines and joints) in Grasshopper?

Views: 8578

Replies to This Discussion

hey !

would be very interested in this topic too.
I did look into doing some more serious constraint solving as part of Kangaroo, but it is tricky stuff. Maybe if I had some funding and a few months to study and work on it I could get somewhere...

There has been some interesting discussion related to LEDAS and Solvespace in the past, but I don't know if there have been any further developments with that (?)

In the meantime I decided to have a go with Galapagos.

(It is trying to match the position of the yellow object to the blue one.)
I think it's an interesting test, but not really practical.
(It's very slow, sometimes gets stuck, the solutions are only approximate, and it's only for static solutions not actual toolpaths).
Perhaps it's possible to get it to converge quicker - I haven't really got the hang of tweaking the different Galapagos settings yet. Here's the file if anyone's interested.
robot_.3dm
robot_.ghx
Okay, so I did some real IK !
I realised that in the special case where the robot has a spherical wrist (the 3 axes intersect in a common point), as many of them do, then you can do something called kinematic decoupling, which makes it simpler to solve.

It can do paths (and it's fast too)
wow!
WOW!
Hi Daniel,

Really good stuff!

Is this done with Kangaroo?

Cheers

Evert
Nice!

I was trying to get through this paper a while ago on the topic. It's pretty intense, but might be useful....
schweetness! can i play too? :)
daniel,

Can you share your solutions?

aaron
absolutly amazing!!!
next step is maybe to build it
I hope to see the all project directly working within Rhino.
Thanks all for the response :)

Evert - right now this solver is separate, but I am thinking of making it part of Kangaroo.
(It does work with Kangaroo, so you can control physical simulations with the arm, and you can control the effector position/orientation with physical simulation, you just can't make systems mixing arbitrary geometric constraints with physical forces.)

I'd be interested to hear more about how people use robots and IK now in other programs, and how they might want something like this to work in Grasshopper.

and Nirulfen - thanks for the link, that's a nice project.
Thanks for your work on this, Daniel! Your IK solver seems to work quite well. My interest is in creating a text file that would contain position and angle data for each of the robot's axes for the duration of its movement (eg, based on a toolpath). I'd love to discuss this with you further. You can reach me directly at matt@radlabinc.com, or at my office in Boston at 617.440.3588.

I look forward to hearing from you.


Matt

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service