Gazebo | Ignition | Community
Ask Your Question

jony's profile - activity

2017-12-11 05:23:17 -0500 received badge  Famous Question (source)
2017-12-11 05:23:17 -0500 received badge  Notable Question (source)
2017-12-11 05:23:17 -0500 received badge  Popular Question (source)
2017-11-14 04:50:05 -0500 received badge  Famous Question (source)
2017-05-03 02:11:47 -0500 asked a question Texture on a Custom model

Texture on a Custom model Hi I have already read discussion titled "Custom Collada Model with Texture", but I still hav

2017-05-02 12:30:40 -0500 commented question Custom Collada Model with Texture

@turning_wheels I have your same problem. I want to import a simple plane (or a tiny cube) with a painting on one of its

2017-03-29 18:45:35 -0500 received badge  Notable Question (source)
2017-03-29 16:15:16 -0500 commented answer Set orientation in a .world file

@chapulina ok, so I return to my original unresolved question: there is a way to modify spot light orientation using tum_simulator and Gazebo 2.2.6?

2017-03-29 12:45:35 -0500 commented answer Set orientation in a .world file

@chapulina I edited the answer with the spawning launch file that creates problems.

2017-03-29 12:45:19 -0500 received badge  Editor (source)
2017-03-29 12:35:27 -0500 received badge  Supporter (source)
2017-03-29 12:35:24 -0500 commented answer Light through the wall in a custom model

thank you so much

2017-03-29 12:35:09 -0500 received badge  Scholar (source)
2017-03-29 12:31:13 -0500 received badge  Popular Question (source)
2017-03-29 12:12:27 -0500 asked a question Light through the wall in a custom model

I create a model of a room on blender. Then I position some spot lights in my scene, but they pass over the wall. The wall is modelled with a normal plane. What can be the cause of this?

2017-03-29 11:44:13 -0500 commented answer Set orientation in a .world file

@chapulina effectively with Gazebo7 spot light are well oriented. But using tum_simulator, ardrone model are not spawning.

2017-03-29 10:34:08 -0500 commented answer Set orientation in a .world file

@chapulina thanks for the answer. Yes, I use Gazebo 2.2.6. And I use the package tum_simulator, too. Installing a different version of Gazebo can produce compatibility problems?

2017-03-28 11:46:42 -0500 asked a question Set orientation in a .world file

Hi! Using tum_simulator for indigo I'm trying to create my own world. I can import my meshes and lights using the sdf syntax, but when I try to change orientation of a spot light (pitch in particular), nothing happens in Gazebo (orientation is setted on [0 0 0]). This is my .world file:

<?xml version="1.0" ?>
<sdf version='1.4'>
  <world name='default'>
    <light name='sun' type='directional'>
      <cast_shadows>1</cast_shadows>
      <pose>0 0 10 0 -0 0</pose>
      <diffuse>0.8 0.8 0.8 1</diffuse>
      <specular>0.2 0.2 0.2 1</specular>
      <attenuation>
        <range>1000</range>
        <constant>0.9</constant>
        <linear>0.01</linear>
        <quadratic>0.001</quadratic>
      </attenuation>
      <direction>-0.5 0.1 -0.9</direction>
    </light>
    <light name='spot1' type='spot'>
      <cast_shadows>1</cast_shadows>
      <pose>2.5 7.9 4.0 0 -0.5 0</pose>
      <diffuse>0.8 0.8 0.8 1</diffuse>
      <specular>0.2 0.2 0.2 1</specular>
      <attenuation>
        <range>20</range>
        <constant>0.5</constant>
        <linear>0.01</linear>
        <quadratic>0.001</quadratic>
      </attenuation>
    </light>
    <model name='ground_plane'>
      <static>1</static>
      <link name='link'>
        <collision name='collision'>
          <geometry>
            <plane>
              <normal>0 0 1</normal>
              <size>100 100</size>
            </plane>
          </geometry>
          <surface>
            <friction>
              <ode>
                <mu>100</mu>
                <mu2>50</mu2>
              </ode>
            </friction>
            <bounce/>
            <contact>
              <ode/>
            </contact>
          </surface>
          <max_contacts>10</max_contacts>
        </collision>
        <visual name='visual'>
          <cast_shadows>0</cast_shadows>
          <geometry>
            <plane>
              <normal>0 0 1</normal>
              <size>100 100</size>
            </plane>
          </geometry>
          <material>
            <script>
              <uri>file://media/materials/scripts/gazebo.material</uri>
              <name>Gazebo/Grey</name>
            </script>
          </material>
        </visual>
        <velocity_decay>
          <linear>0</linear>
          <angular>0</angular>
        </velocity_decay>
        <self_collide>0</self_collide>
        <kinematic>0</kinematic>
        <gravity>1</gravity>
      </link>
    </model>
    <physics type='ode'>
      <max_step_size>0.001</max_step_size>
      <real_time_factor>1</real_time_factor>
      <real_time_update_rate>1000</real_time_update_rate>
      <gravity>0 0 -9.8</gravity>
    </physics>
    <scene>
      <ambient>0.4 0.4 0.4 1</ambient>
      <background>0.7 0.7 0.7 1</background>
      <shadows>1</shadows>
    </scene>
    <model name='Museum'>
      <static>1</static>
      <link name='link'>
        <collision name='collision'>
          <geometry>
            <mesh>
              <uri>model://museum/meshes/museum.dae</uri>
            </mesh>
          </geometry>
          <max_contacts>10</max_contacts>
          <surface>
            <bounce/>
            <friction>
              <ode/>
            </friction>
            <contact>
              <ode/>
            </contact>
          </surface>
        </collision>
        <visual name='visual'>
          <geometry>
            <mesh>
              <uri>model://museum/meshes/museum.dae</uri>
            </mesh>
          </geometry>
        </visual>
        <velocity_decay>
          <linear>0</linear>
          <angular>0</angular>
        </velocity_decay>
        <self_collide>0</self_collide>
        <kinematic>0</kinematic>
        <gravity>1</gravity>
      </link>
      <pose>0 0 0 0 -0 0</pose>
    </model>    
    <gui fullscreen='0'>
      <camera name='user_camera'>
        <pose>1.49016 -3.72367 3.62379 -2.88294e-17 0.273797 1.4042</pose>
        <view_controller>orbit</view_controller>
      </camera>
    </gui>
  </world>
</sdf>

and the light named "spot1" is created into Gazebo with orientation 0 0 0. Can someone help me? Thank you ;)

EDIT:

Once updated Gazebo (on version 7), I have issue on spawning a model of a robot. This is the launch file that creates problem:

 <launch>
   <arg name="model" default="$(find cvg_sim_gazebo)/urdf/quadrotor.urdf.xacro"/>
   <arg name="x" default="0"/>
   <arg name="y" default="0"/>
   <arg name="z" default="0 ...
(more)