-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add collada meshes #1
Add collada meshes #1
Conversation
@gavanderhoorn we've got both the 7_70 and 5_90 versions of the IRB 1200 robots; is there anything @bhomberg and I can do to help get ros-industrial#85 ready to merge? |
No. I just need some time to review the changes proposed by @bhomberg. IIRC, the meshes were the only thing that needed to be sorted out before ros-industrial#85 could be merged, so if this PR checks out, the other one should be straightforward to merge. |
Just took a quick look and I'm not sure everything is ok here: at first I didn't see any robot after launching After removing that, the robot was visible, but it looks like the mesh origin and orientation is not entirely correct: Did it render like this for you as well @bhomberg? |
Also notice the colour difference between the two sets of meshes. I believe we'll have to rectify that as well. |
I'm seeing similar problems. I'll try fixing them tomorrow. |
I think that the color difference is actual just due to the lighting in rviz - when I orbit around to different viewpoints the colors look the same. The origins of the meshes are definiitely wrong though; working on that now. |
I made some progress, but ran into another problem. link_4 shows up in the wrong place because its origin is in an odd spot. Also I had to re-convert some of the meshes, and now the colors are definitely off. Sorry for the delay; will put more time into this tomorrow. |
@jonbinney wrote:
You mean that the origin of If so, that is on purpose, as that is typically where the origin is in the kinematics of the robot controller. At least for some robots. In order to allow for the greatest correspondance between urdfs and internal robot kinematics, we keep the origin there. |
Yes, exactly. ok we'll keep it as is. That origin for link_4 will be at different places for the 7_70 and 5_90 then - there are two options:
@gavanderhoorn do you have a preference? |
How would you handle the different link lengths with just an offset in the Edit: I'm not near my computer, so can't check, but I seem to remember that the mesh for |
@jonbinney: have you had a chance to look at the meshes? |
@gavanderhoorn I'm going to try to get them finished today. |
I wasn't pressuring you :) Just curious. |
I fixed the mesh materials using vim (best mesh editor!). New squashed PR to replace this one: #2 |
Closing this as replacement #2 was merged. |
I added the collada meshes that differ between the 7_70 and 5_90 robots and updated to reference the collada files. It seemed like overkill to add a separate common folder for the shared meshes when there's only 2 robots, but I can switch to that if you'd prefer.