robotics-toolbox-matlab icon indicating copy to clipboard operation
robotics-toolbox-matlab copied to clipboard

Display * .stl file correctly using RTB

Open Dps8 opened this issue 6 years ago • 8 comments

I'm doing the 3D design of a cylindrical robotic arm and I want to import the CAD to Matlab to work with plot3d. What requirements should the * .stl files have to be able to visualize the arm in Matlab? How can I do it?

Dps8 avatar Feb 20 '19 19:02 Dps8

Their coordinate system should be the link coordinate frame as determined by the Denavit-Hartenberg model of the robot. They should be named linkN.stl where N is 0, 1, 2, etc. Let me know how it goes.

petercorke avatar Feb 23 '19 23:02 petercorke

In what scale does RTB work the dimensions of the robotic arm?The problem is that when I load a link and plot it does not show up well. Is it a problem of scale or is it some DH parameter that I declared wrong?

Dps8 avatar Feb 26 '19 16:02 Dps8

The scale/dimensions of the STL model must be consistent with the lengths in the DH parameters. ie. if the DH parameters d, a are in metres, then the STL should be in metres.

petercorke avatar Mar 02 '19 21:03 petercorke

image

Dps8 avatar Mar 05 '19 22:03 Dps8

If I declared the limits of the prismatic articulation, why do I have to declare the limits of the workspace?

Dps8 avatar Mar 05 '19 22:03 Dps8

that’s a bug

On 6 Mar 2019, at 8:08 am, Dps8 [email protected] wrote:

If I declared the limits of the prismatic articulation, why do I have to declare the limits of the workspace?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/petercorke/robotics-toolbox-matlab/issues/44#issuecomment-469877698, or mute the thread https://github.com/notifications/unsubscribe-auth/ALQUUihT_KujSS_peDWgZiBsH2adX5qIks5vTurDgaJpZM4bF7mu.

petercorke avatar Mar 05 '19 22:03 petercorke

image

Dps8 avatar Mar 06 '19 13:03 Dps8

Professor, do you know what could be the cause of this error?

Dps8 avatar Mar 06 '19 13:03 Dps8