A sample gazebo dynamic plugin,. More...
Classes | |
class | gazebo::GazeboRosFactory |
A sample gazebo dynamic plugin,.
This is a gazebo controller that supports ROS service calls for spawning and deleting models. This plugin is not supported under the simulator_gazebo 1.0 release.
Example Usage:
<model:physical name="robot_model1"> <controller:gazebo_ros_factory name="gazebo_ros_factory_controller" plugin="libgazebo_ros_factory.so"> <alwaysOn>true</alwaysOn> <updateRate>1000.0</updateRate> </controller:gazebo_ros_factory> <xyz>0.0 0.0 0.02</xyz> <rpy>0.0 0.0 0.0 </rpy> <!-- a box --> <body:box name="test_block"> <massMatrix>true</massMatrix> <mass>1000</mass> <ixx>100</ixx> <ixy>0</ixy> <ixz>0</ixz> <iyy>100</iyy> <iyz>0</iyz> <izz>100</izz> <cx>0</cx> <cy>0</cy> <cz>0</cz> <xyz>0 0 0.002</xyz> <rpy>0 -0 0</rpy> <geom:box name="test_block_collision_geom"> <xyz>0 0 10</xyz> <rpy>0 0 0</rpy> <size>20 20 20</size> <visual> <xyz>0 0 0</xyz> <rpy>0 -0 0</rpy> <scale>20 20 20</scale> <mesh>unit_box</mesh> <material>Gazebo/GrassFloor</material> </visual> </geom:box> </body:box> </model:physical>