Home | Tutorials | Wiki | Issues
Ask Your Question
0

Hinge2Joint - Implementations do not seem to Support ::GetAngleImpl()

asked 2012-12-17 15:11:13 -0500

eacousineau gravatar image

updated 2012-12-17 15:13:15 -0500

In gazebo/physics/ode/ODEHinge2Joint.cpp, ODEHinge2Joint::GetAngleImpl(...), the function does not attempt to return the angle for the first joint axis (though debugging the code and examining the values indicates that there is a value there), and does not support multiple axes. BulletHinge2Joint:GetAngleImpl(...) says it is not implemented. Changeset: e93d70fe8d38+ (gazebo_1.3) gazebo_1.3.1

What is the plan regarding these types of joints? If we want co-located joints, is there some workaround to make this happen? We tried using 'null bodies' (zero mass, zero inertia) in URDF a couple of weeks ago, but that did not work. We also have seen gerkey's issue about zero mass in SDF raising an exception.

edit retag flag offensive close merge delete

Comments

General co-located joints (other than hinge2) will require creation of your own joint types in ODE for now. The way things are setup in right now the ODE solver, zero inertia link elements will have infinite velocity with application of any finite wrench.

hsu gravatar imagehsu ( 2013-01-11 19:05:24 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-01-11 18:57:39 -0500

hsu gravatar image

I've ticketed the issue.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2012-12-17 15:11:13 -0500

Seen: 112 times

Last updated: Jan 11 '13