engcang / exploration-algorithms

[Docker provided] How to build, install and run open-source exploration algorithms
MIT License
42 stars 8 forks source link

powerplant model #2

Closed KerouacDlg closed 11 months ago

KerouacDlg commented 11 months ago

Hi! Hello, it’s me again. When I used your OIPP algorithm, in the Gazebo world I started, the powerplant model was missing and I couldn't find it in the relevant folder. Can you provide a specific way to obtain it?

image

KerouacDlg commented 11 months ago

In the gazebo world file (powerplant.world), the code is as follows

`

1
  <link name='link'>
    <pose>0 0 0.01 0 -0 0</pose>
    <collision name='wall1'>
      <geometry>
        <mesh>
          <uri>model://powerplant/meshes/powerplant.dae</uri>
        </mesh>
      </geometry>
      <max_contacts>10</max_contacts>
      <surface>
        <bounce/>
        <friction>
          <ode/>
        </friction>
        <contact>
          <ode/>
        </contact>
      </surface>
    </collision>
    <visual name='visual1'>
      <geometry>
        <mesh>
          <uri>model://powerplant/meshes/powerplant.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>1 -1 0 0 -0 0</pose>
</model>`
KerouacDlg commented 11 months ago

The powerplant model is gazebo’s own model and can be downloaded through https://github.com/osrf/gazebo_models