osrf / drcsim

Repository for the DRC project.
16 stars 6 forks source link

Atlas v5 hand inertias #456

Closed osrf-migration closed 9 years ago

osrf-migration commented 9 years ago

Original report (archived issue) by Nate Koenig (Bitbucket: Nathan Koenig).

The original report had attachments: atlas_v4_simple_shapes.urdf, atlas_v5_simple_shapes.urdf


Atlas v5 might have incorrect hand inertias. See pull request #503.

osrf-migration commented 9 years ago

Original comment by Bill Blank (Bitbucket: BillBlank).


I looked at the image. But the data looks good to me in both the v5 urdfs (plain and simple_shapes) and raw config files and doesn't seem to correlate with the image? Is it possible the engineer had attached 3rdparty hands to the robot?

Note that below both the moi and the mass of the hands are less than the two forearm pieces, and that in total the mass props appear fairly similar to the old hydraulic arms...

struct l_ufarm
    index   = 21
    parent_link = l_larm
    parent_kin_dof = l.arm.wry
    mass = 2.12
    com_x = 0.0
    com_y = -0.2
    com_z = 0.0
    moi_xx = 0.006
    moi_yy = 0.003
    moi_zz = 0.006
    moi_xy = 0.0
    moi_xz = 0.0
    moi_yz = 0.0

struct l_lfarm
    index   = 22
    parent_link = l_ufarm
    parent_kin_dof = l.arm.wrx
    mass = 2.65
    com_x = 0.0
    com_y = -0.07
    com_z = 0.0
    moi_xx = 0.007
    moi_yy = 0.004
    moi_zz = 0.007
    moi_xy = 0.0
    moi_xz = 0.0
    moi_yz = 0.0

struct l_hand
    index   = 23
    parent_link = l_lfarm
    parent_kin_dof = l.arm.wry2
    mass = 0.53
    com_x = 0.0
    com_y = 0.06
    com_z = 0.0
    moi_xx = 0.00265
    moi_yy = 0.00446
    moi_zz = 0.00446
    moi_xy = 0.0
    moi_xz = 0.0
    moi_yz = 0.0
osrf-migration commented 9 years ago

Original comment by Bill Blank (Bitbucket: BillBlank).


I am seeking a 2nd opinion here, btw.

osrf-migration commented 9 years ago

Original comment by John Hsu (Bitbucket: hsu, GitHub: hsu).


The MOI looks wrong; for l_hand, the MOI is too large for the given mass. I.e. for simple cube with given mass of 0.53 kg and MOI of around 0.00446 kg m^2, the size of the object would have to be around 22cm long in the MOI direction...

osrf-migration commented 9 years ago

Original comment by Bill Blank (Bitbucket: BillBlank).


I am getting new values generated.

osrf-migration commented 9 years ago

Original comment by Bill Blank (Bitbucket: BillBlank).


Any way I can visualize the results of my changes in Gazebo the way you have?

osrf-migration commented 9 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


Try View -> Center of Mass / Inertia. Further info in tutorial: http://gazebosim.org/tutorials?tut=inertia&cat=build_robot#CheckinginGazebo

osrf-migration commented 9 years ago

Original comment by Bill Blank (Bitbucket: BillBlank).


Sorry to double-spam you since I already asked my question in bitbucket issue #456, but any way to turn on the moi visualizer you are using?

osrf-migration commented 9 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


Right-click on model, then View, then Center of mass

osrf-migration commented 9 years ago

Original comment by Bill Blank (Bitbucket: BillBlank).


Thanks!

osrf-migration commented 9 years ago

Original comment by Bill Blank (Bitbucket: BillBlank).


Here are two new simple_shape urdf files. The v5 version has the new mass props for the electric arm. The v4 version gives the end link a little mass, etc., so that is not rejected.

osrf-migration commented 9 years ago

Original comment by Bill Blank (Bitbucket: BillBlank).


BTW - when I use the mass props view, is the large purple box centered on the floor between the two feet the mass props of the whole robot???

osrf-migration commented 9 years ago

Original comment by John Hsu (Bitbucket: hsu, GitHub: hsu).


that's probably the fictitious mass property of the ground plane. Try right click on the model, then follow View -> Center of mass in the pop up window.

osrf-migration commented 9 years ago

Original comment by Bill Blank (Bitbucket: BillBlank).


Yup, it was the floor.

osrf-migration commented 9 years ago

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


The latest URDF files are in the drcsim_4.2_latest branch.

osrf-migration commented 9 years ago

Original comment by John Hsu (Bitbucket: hsu, GitHub: hsu).


osrf-migration commented 9 years ago

Original comment by John Hsu (Bitbucket: hsu, GitHub: hsu).