Home | Tutorials | Wiki | Issues
Ask Your Question

Markus Bader's profile - activity

2018-11-15 07:29:08 -0600 received badge  Famous Question (source)
2016-11-16 17:44:19 -0600 received badge  Taxonomist
2015-06-20 20:05:27 -0600 marked best answer How to set the visual and collision at ones using sdf to use the same geometry and pose

Hi

I like to define the visual and collision apparans of a link at ones.
Is there a way to define variables?
Or is there a way to say visual == collision?
The example shows a link which has the same collision and visual dimensions is it possible to write that shorter:

<link name='Wall_01'>
  <pose>0 0 0 0 0 0</pose>
  <collision name='collision_01'>
    <pose>0 0.05 1 0 -0 0</pose>
    <geometry>
      <box>
        <size>5 0.1 2</size>
      </box>
    </geometry>
  </collision>
  <visual name='visual_01'>
    <pose>0 0.05 1 0 -0 0</pose>
    <geometry>
      <box>
        <size>5 0.1 2</size>
      </box>
    </geometry>
    <material>
      <script>
        <uri>file://media/materials/scripts/gazebo.material</uri>
        <name>Gazebo/Grey</name>
      </script>
    </material>
  </visual>
</link>

Thanks

2015-04-30 03:33:01 -0600 received badge  Famous Question (source)
2015-03-11 05:12:44 -0600 received badge  Famous Question (source)
2014-11-13 02:26:11 -0600 received badge  Self-Learner (source)
2014-10-09 05:52:01 -0600 received badge  Famous Question (source)
2014-09-02 07:22:13 -0600 received badge  Notable Question (source)
2014-08-03 10:05:00 -0600 received badge  Notable Question (source)
2014-07-18 10:02:02 -0600 received badge  Famous Question
2014-06-17 14:09:06 -0600 commented answer dynamic path names using xacro

Any idea how to solve the problem?

2014-06-17 02:29:47 -0600 received badge  Popular Question (source)
2014-06-11 07:18:08 -0600 received badge  Popular Question (source)
2014-06-11 02:26:03 -0600 asked a question dynamic path names using xacro

Hello

I am using xacro to generate sdf and urd files for ros and gazebo. And I like to have my robot describtion as modular as possible but I have an issue with relative path names. The following example shows a working xacro example:

<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro" name="dsa" >
  <xacro:include filename="$(find dsa_gazebo)/xacro/tricycle/tricycle_body.xacro"/>
  <xacro:tricycle_body name="chassis" parent="base_link" meshes="package://dsa_gazebo/meshes/tricycle"/>      
</robot>

but I like to put the ros package name into a variable which does NOT work

<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro" name="dsa" >
  <property name="CURRENT_PKG" value="dsa_gazebo" />  <!-- variable for the current pkg --> 
  <xacro:include filename="$(find ${CURRENT_PKG})/xacro/tricycle/tricycle_body.xacro"/>  <!-- solving find with a xacro varaible does not work :-( --> 
  <xacro:tricycle_body name="chassis" parent="base_link" meshes="package://${CURRENT_PKG}/meshes/tricycle"/>      
</robot>

Any ideas Greetings Markus

2014-06-09 13:31:06 -0600 received badge  Notable Question (source)
2014-06-03 02:53:04 -0600 received badge  Notable Question
2014-05-21 10:00:07 -0600 received badge  Notable Question (source)
2014-05-06 18:50:28 -0600 received badge  Popular Question
2014-05-05 04:34:21 -0600 received badge  Popular Question (source)
2014-04-10 08:05:21 -0600 answered a question How to delete a model with an world plugin

Based on Andrei's comment I changed my code and now it works.

Thanks to Andrei :-)

void delete(const std::string& name){
    # Info world_ is of type physics::WorldPtr 
    physics::ModelPtr p = world_->GetModel(name);
    p->Fini();        
}
2014-04-10 08:03:42 -0600 commented question How to delete a model with an world plugin

Thanks Andrei, Fini worked

2014-04-10 05:19:46 -0600 asked a question How to delete a model with an world plugin

Hi

I wrote a WorldPlugin similar to the factory example and now I want to delete a added model but how? The following approach does not work :-(

void delete(const std::string& name){
    # Info world_ is of type physics::WorldPtr 
    physics::ModelPtr p = world_->GetModel(name);
    p->RemoveChildren();        
}

Greetings Markus

2014-04-10 04:42:47 -0600 commented answer How to add/delete a object mutliple times from a single model file using a plug-in

Thanks for the update, spawning works now

2014-04-03 03:47:05 -0600 asked a question Changing the szence view via command without mouse / gui

Hi

I have a gazebo set-up and I like to observe what happens. For that I have to change the view all the time, but it is very annoying to scroll around to find the perfect views which are always the same. Is there a way to change the view via command line? How to I get the parameter of the current view?

Thanks Markus

2014-03-31 04:11:18 -0600 commented answer The inertia matrix explained

Thanks for that xacos, nice work. But I have a question, because you have two versions with and without origin. The without version has the orgion at <0 0 0> does this mean the centre of mass is not at the centre? e.g. If I like to use your macros for a box with the centre in the centre of the object. So I have to use the boxinertialwith_origin with the origin at (x y z)/2?

2014-03-31 04:06:06 -0600 received badge  Supporter (source)
2014-03-28 05:06:28 -0600 commented answer Multiple robots with ROS plugins (Sensor plugin vs. model plug-in)

piyushk you are right, but the current (March 2014) gazeboros plugins especially the sensor plugins are not taking care of the robotNamespace. Thats way a created a pull request to get that problem fixed. https://github.com/ros-simulation/gazeboros_pkgs/pull/141

2014-03-20 10:47:16 -0600 commented answer No ROS_INFO messages using ROS laser plug-in

something changed with the new version, the ROS_INFO works now :-)

2014-03-20 10:45:44 -0600 commented answer Multiple robots with ROS plugins (Sensor plugin vs. model plug-in)

Hi Nate! Worked it now out how you suggested. I made a merge request forked gazeborospkgs where I appied this changes on the gazeboroslaser sensor. I am now able to spawn on a very simple way to robots with the same xacro as shown in merge request.

2014-03-07 09:34:22 -0600 received badge  Famous Question (source)
2014-02-12 12:02:15 -0600 received badge  Popular Question (source)
2014-02-06 16:24:36 -0600 received badge  Notable Question (source)
2014-01-29 17:38:16 -0600 received badge  Famous Question (source)
2014-01-27 22:22:16 -0600 received badge  Famous Question (source)
2014-01-23 20:41:37 -0600 received badge  Famous Question (source)
2014-01-16 08:29:31 -0600 received badge  Student (source)
2014-01-16 08:29:22 -0600 received badge  Teacher (source)
2014-01-16 08:29:22 -0600 received badge  Self-Learner (source)
2014-01-16 02:42:51 -0600 received badge  Popular Question (source)
2014-01-14 08:01:45 -0600 answered a question My robot is driving to slow with gazebo_ros_diff_drive

Hi

I figured it out there was a math problem: The wheel velocity was computed incorrect. The wheel speed has to be divided by the radius and not the diameter. changing the lines 309/310 to solved my problem

joints_[LEFT]->SetVelocity(0, wheel_speed_[LEFT] / (wheel_diameter_ / 2.0));
joints_[RIGHT]->SetVelocity(0, wheel_speed_[RIGHT] / (wheel_diameter_ / 2.0));

I will make a pull request for my solution

Greetings Max

2014-01-14 07:56:08 -0600 asked a question My robot is driving to slow with gazebo_ros_diff_drive

Hi

My simulated pioneer robot is going to slow with the gazeborosdiff_drive It think there is a math error :-)

Greetings

gazebo 2.2.1, ros hydro, ubuntu 12.04 64bit

2014-01-10 07:56:11 -0600 asked a question How to add/delete a object mutliple times from a single model file using a plug-in

Hi

I like to add multiple cylinders with an id and i like also to remove them after a ceartain time using a plug-in. I worked through the model factory example. http://gazebosim.org/wiki/Tutorials/1.9/plugins/factory I am able to add, let's say ten cylinders but all cylinders a named the same. So my first question is how to I add a model, from file with a different name? How to I remove a added model by name using a plug-in?

Thanks

2013-11-28 11:36:12 -0600 received badge  Famous Question (source)
2013-11-27 00:50:29 -0600 received badge  Famous Question (source)
2013-11-19 13:32:55 -0600 received badge  Notable Question (source)
2013-11-18 08:59:17 -0600 commented answer No ROS_INFO messages using ROS laser plug-in

Sorry for the late answer: I am using the libgazebo_ros_laser.so. and also also checked the rosout.log file