Ask Your Question
0

Add your model on turtlebot gazebo

asked 2017-08-18 09:22:44 -0500

Panos686 gravatar image

Hello, I am trying to make text recognition using an asus camera. I manage to have some results by using Tesseract and extract script and created a script combining them. Now i am trying to simulate it with a turtlebot in gazebo but i dont know how to add a model that has something written on it like a sign that writes stop.. Is there a way to add my own model with text on it or just 2D images?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-08-22 17:18:47 -0500

jorge gravatar image

Hello, sure, you can add your own models, also with texture. Here for example I added this table from rail_collada_models:

image description

You need to add it to ~/.gazebo/models with a model.config file describing it. For example for the table above you must add a directory named doll_table containing the meshes and textures and a model.config file like:

<?xml version="1.0"?>
<model>
  <name>Doll table</name>
  <version>1.0</version>
  <sdf version='1.3'>doll_table.sdf</sdf>

  <author>
    <name>xxxx</name>
    <email>xxx@yyy.zzz</email>
  </author>

  <description>
    A small wooden table.
  </description>
</model>

to ~/.gazebo/models. Just check other models there as examples (will be empty until you include some of the models available by default in gazebo; they get downloaded locally the first time you use them).

Hope this helps!

edit flag offensive delete link more

Comments

Sry for the late answer ! Thanks for the help i used the same after all :)

Panos686 gravatar image Panos686  ( 2017-09-08 12:53:15 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-08-18 09:22:44 -0500

Seen: 560 times

Last updated: Aug 22 '17