Skip to content

How to implement the plugin into Ros and Gazebo #2

Description

@Giaco94

I'm sorry but i have some trouble implementing your plugin on my gazebo simulation.
The plugin has to be write into an .sdf file as

 <sdf version="1.5">
      <plugin name='libgtec_uwb_plugin' filename='libgtec_uwb_plugin.so'>
          <update_rate>25</update_rate>
          <nlosSoftWallWidth>0.25</nlosSoftWallWidth>
          <tag_z_offset>1.5</tag_z_offset>
          <tag_link>tag_0</tag_link>
          <anchor_prefix>uwb_anchor</anchor_prefix>
          <all_los>false</all_los>
          <tag_id>0</tag_id>
       </plugin>
   </sdf>

or i need to write something more inside my sdf file?

Moreover the following code

 <sdf version="1.5">
 <model name="uwb_anchor0">
     <pose>0 0 1.5 0 0 0</pose>
     <static>1</static>
     <link name="link">
         <visual name="visual">
             <geometry>
               <box>
                   <size>0.2 0.2 0.2</size>
               </box>
             </geometry>
         </visual>
      </link>
</model>

i have to write inside the same .sdf file where i have write the plugin or inside the .world file?

Can you provide a simple example of it?

Thank you for your help!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions