Home | Tutorials | Wiki | Issues
Ask Your Question

Hugo Costelha's profile - activity

2017-05-17 03:16:46 -0600 received badge  Popular Question (source)
2017-05-15 18:22:24 -0600 commented question Model is valid only if not saved as "model.sdf"!!

It seems to me that when I write "model.sdf" it uses another (maybe somewhere in the path) model. If I input the full pa

2017-05-15 17:34:12 -0600 asked a question Model is valid only if not saved as "model.sdf"!!

Model is valid only if not saved as "model.sdf"!! I am using "gz sdf -p <file>" (or with "-k") to check the validi

2016-01-09 08:55:14 -0600 received badge  Famous Question (source)
2016-01-09 08:55:14 -0600 received badge  Notable Question (source)
2016-01-09 08:55:14 -0600 received badge  Popular Question (source)
2015-04-01 10:34:43 -0600 commented answer How to create plain color walls from a greyscale image

I was trying to do it with Gazebo which "comes with ROS Indigo". I will test the Building Editor as soon as I can switch to Gazebo >= 5.0

2015-03-26 09:10:43 -0600 commented answer How to create plain color walls from a greyscale image

The link is unavailable

2015-03-26 06:03:34 -0600 asked a question Wrong ground truth pose published?

Hi,

I hust added a child link with a sphere on top of the hector quadcopter gazebo model and included the libgazeborosp3d plugin to publish the sphere pose. However the pose is not correct. When the drone is on the floor, the sphere is clearly above the floor, but the published z position coordinate is -0.06m!

In what reference frame is the plugin publishing the pose by default? The sphere has a 0.03m radius, the drone, when on the floor, has its pose at z=0.04m, and the sphere (center) was placed about 0.1m above the drone frame origin (along the z drone frame axis). image description Tested with ROS Indigo, with gazebo 2.2.3 in a 64bit Kubuntu 14.04.02 (all software up to date).

2014-10-10 09:27:02 -0600 commented answer I have installed Gazebo 1-9 and there is some errors when it starts in Ubuntu 13.04 (raring)

Just to let others now that the issue is reported here: https://bitbucket.org/osrf/sdformat/issue/60/error-when-starting-gazebo-if-lc_numeric

2014-04-16 17:23:54 -0600 received badge  Supporter (source)
2014-01-16 17:49:06 -0600 received badge  Famous Question (source)
2013-07-25 17:17:16 -0600 received badge  Notable Question (source)
2013-06-07 03:45:24 -0600 received badge  Popular Question (source)
2013-05-31 02:51:49 -0600 received badge  Famous Question
2013-05-29 10:36:49 -0600 received badge  Notable Question
2013-05-29 10:32:17 -0600 received badge  Student
2013-05-29 10:04:30 -0600 received badge  Popular Question
2013-05-24 10:12:45 -0600 received badge  Editor (source)
2013-05-24 10:11:56 -0600 asked a question How to create plain color walls from a greyscale image

I want to create a simple office-like environment from an image. One possibility would be to create it using heightmaps, but I was not able to do so with only a single texture or plain color (the examples I could find all use three textures...).

Another more obvious option, since I only have 1 height, is to use the "image" option. However I have not been successful with my various tries. I am using ros fuerte with the gazebo that comes with it.

You can find below the latest environment I tested:

<gazebo version='1.0'>
  <world name='default'>
    <scene>
      <ambient rgba='0.1 0.1 0.1 1.0'/>
      <background rgba='0.7 0.7 0.7 1.0'>
        <sky material='Gazebo/CloudySky'/>
      </background>
      <shadows enabled='1'/>
    </scene>
    <physics type='ode' update_rate='0.0'>
      <gravity xyz='0.0 0.0 -9.8'/>
      <ode>
        <solver type='quick' dt='0.001000' iters='50' precon_iters='0' sor='1.3'/>
        <constraints cfm='0.0' erp='0.1' contact_max_correcting_vel='100.0' contact_surface_layer='0.001000'/>
      </ode>
    </physics>

    <!-- Ground Plane -->
    <model name='plane1_model' static='1'>
      <link name='body'>
        <collision name='geom_1'>
          <geometry>
            <plane normal='0 0 1'/>
          </geometry>
          <surface>
            <friction>
              <ode mu='10.0' mu2='10.0' fdir1='0 0 0' slip1='0' slip2='0'/>
            </friction>
            <bounce restitution_coefficient='0' threshold='1000000.0'/>
            <contact>
              <ode soft_cfm='0' soft_erp='0.2' kp='1e10' kd='1' max_vel='100.0' min_depth='0.0001'/>
            </contact>
          </surface>
        </collision>

        <visual name='visual_1' cast_shadows='0'>
          <geometry>
            <plane normal='0 0 1'/>
          </geometry>
          <material script='Gazebo/White'>
            <emissive rgba='1.0 1.0 1.0 1.0'/>
          </material>
        </visual>
      </link>
    </model>

    <model name='map' static='1'>
      <link name='link' gravity='1' self_collide='0' kinematic='0'>
        <origin pose='0.0 0.0 0.0 0.0 -0.0 0.0'/>
        <collision name='collision' laser_retro='0.0'>
          <geometry>
             <image filename='willowMap.png' scale='100' threshold ='200' height='1.0' granularity='1'/>
          </geometry>
        </collision>
        <visual name='visual' cast_shadows='1' laser_retro='0.0' transparency='0.0'>
          <material />
          <geometry>
             <image filename='willowMap.png' scale='100' threshold ='200' height='1.0' granularity='1'/>
          </geometry>
        </visual>
        <damping/>
      </link>
    </model>
    <model name='table1' static='1'>
      <origin pose='2.0 3.0 -0.010 0.0 0.0 -1.570800'/>
      <link name='body' gravity='1' self_collide='0' kinematic='0'>
        <origin pose='0.0 0.0 0.0 0.0 -0.0 0.0'/>
        <collision name='top' laser_retro='0.0'>
          <origin pose='0.0 0.0 0.620 0.0 -0.0 0.0'/>
          <geometry>
            <box size='1.4 0.5 0.050000'/>
          </geometry>
          <surface>
            <friction>
              <ode mu='-1.0' mu2='-1.0' fdir1='0.0 0.0 0.0' slip1='0.0' slip2='0.0'/>
            </friction>
            <bounce restitution_coefficient='0.0' threshold='100000.0'/>
            <contact>
              <ode soft_cfm='0.0' soft_erp='0.2' kp='1000000000000.0' kd='1.0' max_vel='100.0' min_depth='0.001000'/>
            </contact>
          </surface>
        </collision>
        <visual name='top_visual' cast_shadows='1' laser_retro='0.0' transparency='0.0'>
          <origin pose='0.0 0.0 0.010 0.0 -0.0 0.0'/>
          <geometry>
            <mesh filename ...
(more)