robotology / icub-models-generator

Resources and programs to generated models (URDF, SDF) of the iCub robot
14 stars 23 forks source link

Creating URDF for iCubNancy01 modified forearm #13

Open serena-ivaldi opened 8 years ago

serena-ivaldi commented 8 years ago

Hi all, we would like to create the URDF also for a modified iCub with modified arms. We have the design of the arms in Solidworks. We would like to attach them to an iCub model to make a full new robot. Could you help us in opening the full robot in Solidworks? The original files do not seem compliant.

Thanks in advance

@bpapaspyros @jbmouret @Anthonyfma @dogoepp

bpapaspyros commented 8 years ago

Hi,

Any news on that ? To be more specific, we want to replace the arms and produce a new URDF file with the new parts. Patching the existing URDF or even designing the new parts may not be as accurate as we want without the original Solidworks designs, hence we opened this issue.

Thank you

@serena-ivaldi @jbmouret @Anthonyfma @dogoepp

traversaro commented 8 years ago

Sorry, I was a bit stressed this two weeks due to some deadlines. : ) Can we discuss your requirements more in detail next week?

traversaro commented 8 years ago

One thing that I can already discuss is that there are no "original Solidworks designs", as all the iCub CAD design is done in PTC CREO Parametric, see http://wiki.icub.org/wiki/ICub_mechanics_CAD .

bpapaspyros commented 8 years ago

Sorry, I was a bit stressed this two weeks due to some deadlines. : ) Can we discuss your requirements more in detail next week

No worries. Sure we can discuss it in depth next week !

One thing that I can already discuss is that there are no "original Solidworks designs", as all the iCub CAD design is done in PTC CREO Parametric, see http://wiki.icub.org/wiki/ICub_mechanics_CAD .

Pardon me, I meant to say we want to integrate the original designs with Solidworks (if there is a way to do that or even take a different approach altogether if you can guide us), not that they are Solidworks designs necessarily. Thank you for the link, we will take thorough look and update you on the details.

Thank you

traversaro commented 8 years ago

A URDF model generated specifically for the iCubNancy01 has been generated in https://github.com/robotology-playground/icub-model-generator/issues/14 . Apparently you have the forearm v1 (just in case, can you send some photos to make sure that we are getting the right version?) so we need to create the model using the dh model creation pipeline, as we don't have a simmechanics model for a robot with v1 arms.

traversaro commented 8 years ago

@bpapaspyros @dogoepp Can we discuss on Skype (or where you prefer) your specific requirements? My Skype id is silvio.traversaro.

traversaro commented 8 years ago

Sorry for the late update @bpapaspyros , I was able to talk with some mechanical guys and they told me that generating a "reduced" version of iCub that could be imported in SolidWorks is not trivial, even in "simple" formats such as STEP or STL. In the meanwhile, I thought an alternative solution: if we could precisely define a frame in the iCub part on which you mount the modified forearm, you can define the corresponding frame in your SolidWorks assembly and then we would have all the necessary information to modify the URDF.

Said that, could you provide some more info on the part on which you mount the modified forearm?

This is an explosion of the forarm, I don't know if you attach the modified forearm on one of these parts or to some parts: rc_tlr_007_a_001_00

traversaro commented 8 years ago

If you need to explore the CAD of iCub to identify the part that you use to mount the modified forearm, you can use the free Creo View Express : http://www.ptc.com/cad/creo/view-mcad/extension-express .

Anthonyfma commented 8 years ago

Hi,

I'm Anthony, the student who design the forearm prototype. The new forearm replaces all parts of the previous iCub forearm. It's attached on the elbow part (instead of the left cyan part on the explosion CAD).

img_20160713_161248 img_20160713_140416

I hope it will be a bit more clear.

traversaro commented 8 years ago

Hi everyone, sorry for the late reply.

I discussed with the mechanical guys, and we agreed that the easier way to combine the model it that we agree on a a frame define on the interface between the "regular" iCub and your part, and using that frame we mount through software your part on the robot URDF.

We identified the following frame: customframedrw customframetr

We can call this l_custom_forearm_mounting_base and r_custom_forearm_mounting_base (attached to the l_elbow_1/r_elbow_1 link, see http://wiki.icub.org/wiki/ICub_Model_naming_conventions ).

I would ask you to add this frame on your custom forearm (i.e. where this frame is located on your custom part when the forearm is mounted on the robot) and provide the following information expressed in this frame:

Once we have this information, it would be trivial to integrate them with the model generation pipeline.

Anthonyfma commented 8 years ago

Hi,

It won't be so easy to obtain reliable informations about the new forearm. As it is 3d printed, it is not homogeneous. So an important thing is that Solidworks data are going to be approximative. Moreover, the once the skin is added, properties will change again. We will manage to approximate as precisely as possible.

Best regards,

traversaro commented 8 years ago

Yes, for this reason I was suggesting to weight the new forearm (with also the skin and everything that is going to be added on top). Once you have the mass, assuming the density homogeneous is typically (in my experience) a good enough approximation. So you can:

traversaro commented 8 years ago

@serena-ivaldi Just a remainder to avoid misunderstanding : on this activity IIT is waiting for feedback from Nancy.

dogoepp commented 7 years ago

Hi and sory for the late reply,

I'm working on getting the required measurements and models. I would just need one more information in order to properly define the frame *_custom_forearm_mounting_base: the distance shown in red lines in the image bellow.

8d50fd84-7682-11e6-9309-92f4710b3918

Thanks a lot

traversaro commented 7 years ago

Hi @fiorisi , when you have time could you help me getting the data requested by @dogoepp ? Thanks

Anthonyfma commented 7 years ago

Hello Dorian. On the folder we discussed about, there is a modelisation of iCub upper body. You will find the part, and measure it directly on Solidworks.

Regards,

2017-01-13 11:45 GMT+01:00 Silvio Traversaro notifications@github.com:

Hi @fiorisi https://github.com/fiorisi , when you have time could you help me getting the data requested by @dogoepp https://github.com/dogoepp ? Thanks

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/robotology-playground/icub-model-generator/issues/13#issuecomment-272414281, or mute the thread https://github.com/notifications/unsubscribe-auth/ARq4BJWtW1L7yRW7hRcJChrq16YdzOCxks5rR1XdgaJpZM4JWRJY .

-- VOILQUE Anthony Institut Français de Mécanique Avancée Élève ingénieur, Troisième année Pôle Machines, Mécanismes et Systèmes (MMS) Tel: 06 19 86 81 71

fiorisi commented 7 years ago

Hi @dogoepp, I have edited the previous comment of @traversaro because when I defined the frame I have used the wrong iCub model. Please update your transformation matrix. Sorry for the mistake, let me know if you need further help.

dogoepp commented 7 years ago

Thanks @fiorisi, this should be enought for me. I hope to be able to work on this next Friday.

dogoepp commented 7 years ago

Based on the changes made by @fiorisi, I got the following mass properties from Solidworks

Mass property of the fore-arm

Mass = 199.77 gramms

Volume = 199765.57 cubic millimeters

Surface = 78439.82 square millimeters

Center of mass: ( millimeters ) X = 0.01 Y = -2.06 Z = 90.71

Pricipal axes and moment of inertia: ( gramms * square millimeters ) At center of mass Ix = ( 0.00, -0.02, 1.00) Px = 72761.58 Iy = ( 0.01, -1.00, -0.02) Py = 584460.80 Iz = ( 1.00, 0.01, 0.00) Pz = 587155.38

Moments of inertia: ( gramms * square millimeters ) At center of mass and aligned with the reference frame. Lxx = 587154.95 Lxy = -26.28 Lxz = 394.66 Lyx = -26.28 Lyy = 584242.38 Lyz = -10572.54 Lzx = 394.66 Lzy = -10572.54 Lzz = 72980.42

Moments of inertia: ( gramms * square millimeters ) In the reference frame. Ixx = 2231904.66 Ixy = -29.13 Ixz = 519.87 Iyx = -29.13 Iyy = 2228141.10 Iyz = -47975.01 Izx = 519.87 Izy = -47975.01 Izz = 73831.42

I assume that what you're most interested in is the latest matrix. I still have to weight the actual fore-arm with the skin attached and then correct the values of these matrices.

dogoepp commented 7 years ago

We are starting to modify the mechanical design of the fore-arm in order to make it easier to mount and to make it possible to plug the skin sensors. Therefore, I'll probably need to update the matrices and the weights I had measured will no longer hold.

However, for the record, the full forearm with the skin weights 151g.

dogoepp commented 7 years ago

Actually, the changes we would like to make to the plastic fore-arm require to have the coordinates and orientations of the holes to attach the skin (and the plastic support) to the arm.

Do you have an advice on how we could get this information ?

traversaro commented 7 years ago

Sorry for the late reply @dogoepp . I will answer your question later today.

traversaro commented 7 years ago

Sorry for taking another month to reply. If I understand correctly, you need the location of the holes to which the screws of the skin are mounted on the internal part of the forearm. An STL of the forearm without the covers would be sufficient for you?

cc @fiorisi

dogoepp commented 7 years ago

Hi @traversaro. You understand correctly. We managed to get approximate coordinates from the STL of the fore-arm without cover but I forgot to update the mass properties.

Once I have the new mass properties I think that we are good for this part and can move forward to make iCub work with this fore-arm and build the related URDF.