Comments (9)
Hello Pedro,
We're moving this internally and will get back to you soon.
from talos_robot.
Hi Pedro,
we would like to follow-up this issue.
DAE with colors can be obtained from the provided STL files using MeshLab and the following command:
meshlabserver -i femur.STL -s black_coloring.mlx -o femur.dae -om vc
black_coloring.mlx is a simple script to define the color of the vertices.
To color the mesh in black (in RGB coordinates is (0,0,0)), it will be:
<!DOCTYPE FilterScript>
<FilterScript>
<filter name="Vertex Color Filling">
<Param type="RichDynamicFloat" value="0" min="0" name="r" max="255"/>
<Param type="RichDynamicFloat" value="0" min="0" name="g" max="255"/>
<Param type="RichDynamicFloat" value="0" min="0" name="b" max="255"/>
</filter>
</FilterScript>
The DAE files should be used in the URDF for visual and collision geometries.
@PedroDesRobots Could you please test if this will work in DART?
from talos_robot.
Hi @lucamarchionni,
I have converted the provided STL files using MeshLab and your simple script to define the color.
It creates the dae file properly. Then, when I open it with MeshLab the mesh is in black. At this point, it works.
At the begin with STL files, we obtain this Talos :
But I don't know why we got a "grey" Talos (no white or black parts) into DART with dae file.
Now, it's better. Talos is not transparent anymore but we don't obtain exactly the desired color.
I know that for iCub, the dae files were generated directly from Blender.
from talos_robot.
In gazebo we got this Talos with dae files, thanks to material
tag inside the urdf :
from talos_robot.
Hi,
visualization meshes in DAE format need a texture file for being properly rendered in Rviz.
I generated the new DAE meshes with texture and modified the URDF files in the branch "dae_meshes_with_color". @PedroDesRobots could you test it in DART?
from talos_robot.
Hi,
it works clearly better with a texture file inside the DAE. Thanks a lot for generating those files 👍 .
It still to have transparent parts but at this point, it should be specific at DART I guess.
from talos_robot.
Good moring,
I'm having troubles in parsing Talos in DART. I am trying to generate the urdf file from the urdf.xacro, by using something like
rosrun xacro xacro --inorder model.urdf.xacro > model.urdf
without success. @PedroDesRobots, @lucamarchionni, do you have any suggestion?
Thank you very much,
Filippo
from talos_robot.
Hi @FilippoSmald1,
I don't know exactly your error but maybe you need to add some parameters like enable_crane
(True or False) and foot_collision
(default, thinbox, tallbox).
For example :
rosrun xacro xacro --inorder talos_full_common.urdf.xacro > test_talos.urdf enable_crane:=False foot_collision:=thinbox
from talos_robot.
Thank you
from talos_robot.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from talos_robot.