robcog-iai / URoboSim-depr

Robot simulation in Unreal (DEPRECATED) - working on new version using a different approach - stay tuned
http://robcog.org/
BSD 3-Clause "New" or "Revised" License
53 stars 26 forks source link

Parent joint transforms not getting applied #24

Closed aaronsnoswell closed 6 years ago

aaronsnoswell commented 6 years ago

I have a URDF for the Kinova MOVO robot that I'm trying to import into Unreal engine.

The URDF is valid (renders in Rviz correctly - see below), however doesn't import into UE4 correctly.

image

When I import it using this plugin, I've noticed that after about 3 levels of joint-link hierarchy, the joints no longer have the correct transforms (see UE4 screenshot, below). After some extensive investigation it seems that under some (unknown) circumstances, joints get created, but without their parent transforms first being applied. If I manually update the URDF for the culprit joints, applying the transforms in the parent hierarchy of joints, then that part of the model will import correctly.

image

In the above screenshot the arms and head have imported correctly, but are inside the torso, because they don't have their parent transforms applied.

andreihaidu commented 6 years ago

Hi @aaronsnoswell we noticed multiple bugs in the current state, that is why we started doing it from scratch with the lessons learned.

Also URDFs will no longer be supported since one can describe robots that cannot be physically simulated. (e.g. virtual links attached to real joints etc). That is why SDF (from gazebo) will be used for the robot description. There is however a urdf to sdf tool supported by them. Once the state is in a usable one, we will release the code. Right now it is in a very early, half working one.

So about the bug, we will probably not have time to look over the issue. And if it is not in a hurry for you, I would wait for the new version. I ma hoping it will get in a usable state in 3-4 weeks.

Cheers!

aaronsnoswell commented 6 years ago

No worries :) Thanks for letting me know the status of the SDF efforts.

I look forward to seeing the update :)