Gazebo | Ignition | Community
Ask Your Question

Peaches491's profile - activity

2015-06-27 00:08:40 -0600 received badge  Famous Question (source)
2015-06-27 00:08:40 -0600 received badge  Notable Question (source)
2015-06-27 00:08:40 -0600 received badge  Popular Question (source)
2015-06-11 09:56:02 -0600 received badge  Taxonomist
2014-11-13 04:37:25 -0600 received badge  Famous Question (source)
2014-11-13 04:37:25 -0600 received badge  Notable Question (source)
2014-08-29 13:55:48 -0600 received badge  Famous Question (source)
2014-07-01 09:43:11 -0600 received badge  Popular Question (source)
2014-07-01 09:43:11 -0600 received badge  Notable Question (source)
2014-02-07 18:22:47 -0600 commented question Set is_static through service call

Yes. Version 2.0

2014-02-07 15:20:11 -0600 received badge  Popular Question (source)
2014-02-07 15:19:44 -0600 asked a question Set is_static through service call

Hey gang,

I'm currently wrestling with an annoying problem. I am trying to simulate putting new tires on a car in Gazebo. I have models of the Wheels, and the hubs which they sit on. Currently, there are three "studs" which line up with three matching holes on the Wheel.

When I spawn the wheel on the hub, it looks fine at first. However, the tire will slowly wiggle itself off of the hub, in about 30 seconds.

I am looking for a method to stop physical simulation on the Wheel through a python script, which I would run once the tire is lifted into place.

However, I can't find an appropriate service call to set the is_static property of a model. How can I achieve this?

2014-01-28 13:44:29 -0600 asked a question Fixing location of a sub-model

I currently have a model of a tire, and a seperate sub-model for the holes used for mounting. As shown in the following images, these two meshes are not rigidly connected in any way. I have also included the SDF for the wheel.

(Unfortunately, I cannot upload images. Here's a Link)

How can I join these two objects so that they never separate?

Wheel SDF

<?xml version='1.0'?>
<sdf version="1.4">

<model name="Wheel">
  <pose>0 0 0  0.0 0.0 0.0 </pose>
  <static>false</static>

<include>
  <uri> model://Wheel_Hub </uri>
  <name> Hub </name>
  <pose> 0.1 0.0 0.0   0.0 0.0 0.0 </pose>
</include>

<link name="body">
  <inertial>
    <mass>5.0</mass>
    <inertia>
      <ixx>0.555</ixx>
      <ixy>0.000</ixy>
      <ixz>0.000</ixz>
      <iyy>0.976</iyy>
      <iyz>0.000</iyz>
      <izz>0.555</izz>
    </inertia>
  </inertial>

  <visual name="visual">
    <geometry>
      <mesh><uri>model://Wheel/meshes/wheel.dae</uri></mesh>
    </geometry>
    <material>
      <emissive> 1 1 1 1 </emissive>
    </material>
  </visual>

  <collision name="collision">
    <geometry>
      <mesh><uri>model://Wheel/meshes/wheel.dae</uri></mesh>
    </geometry>
    <surface>
      <bounce>
        <restitution_coefficient> 0.4 </restitution_coefficient>
        <threshold> 0 </threshold>
      </bounce>
      <contact>
        <ode>
          <max_vel>10</max_vel>
        </ode>
      </contact>
    </surface>
  </collision>

</link>
</model>
</sdf>

Hub SDF

<?xml version='1.0'?>
<sdf version="1.4">

<model name="Wheel_Hub">
<pose>0 0 0  0.0 0.0 0.0 </pose>
<static>false</static>

<link name="body">
  <inertial>
    <mass>0.1</mass>
    <inertia>
      <ixx>1</ixx>
      <ixy>0.000</ixy>
      <ixz>0.000</ixz>
      <iyy>1</iyy>
      <iyz>0.000</iyz>
      <izz>1</izz>
    </inertia>
  </inertial>

  <visual name="visual">
    <geometry>
      <mesh><uri>model://Wheel_Hub/meshes/wheel_hub.dae</uri></mesh>
    </geometry>
    <material>
      <emissive> 1 1 1 1 </emissive>
    </material>
  </visual>

  <collision name="collision">
    <geometry>
      <mesh><uri>model://Wheel_Hub/meshes/wheel_hub.dae</uri></mesh>
    </geometry>
  </collision>

</link>
</model>

</sdf>
2014-01-28 13:37:31 -0600 received badge  Scholar (source)
2014-01-26 17:50:05 -0600 asked a question Attach reference frames to models

I am currently setting up a simulation in Gazebo 2.0. In this scene, there will be a number of objects that the robot will need to interact with.

Is there a way to define coordinate frames relative to the models in the scene, and make them available through TF? If so, how would I go about implementing them?