File: mass_on_rails.world

package info (click to toggle)
gazebo 9.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 115,400 kB
  • sloc: cpp: 356,787; xml: 20,974; ansic: 9,594; python: 2,417; sh: 395; ruby: 375; makefile: 62
file content (53 lines) | stat: -rw-r--r-- 1,362 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0"?> 
<sdf version="1.5">
  <world name="default">

    <include>
      <uri>model://ground_plane</uri>
    </include>

    <include>
      <uri>model://sun</uri>
    </include>

    <include>
      <name>p_control</name>
      <pose>-2 -2 0 0 0 0</pose>
      <uri>model://mass_on_rails</uri>
      <plugin name="init_joint_control" filename="libJointControlPlugin.so">
        <controller type="position">
          <joint>joint</joint>
          <target>1</target>
          <pid_gains>10 0 0</pid_gains>
        </controller>
      </plugin>
    </include>

    <include>
      <name>pd_control</name>
      <pose>0 0 0 0 0 0</pose>
      <uri>model://mass_on_rails</uri>
      <plugin name="init_joint_control" filename="libJointControlPlugin.so">
        <controller type="position">
          <joint>joint</joint>
          <target>1</target>
          <pid_gains>10 0 2</pid_gains>
        </controller>
      </plugin>
    </include>

    <include>
      <name>pid_control</name>
      <pose>2 2 0 0 0 0</pose>
      <uri>model://mass_on_rails</uri>
      <plugin name="init_joint_control" filename="libJointControlPlugin.so">
        <controller type="position">
          <joint>joint</joint>
          <target>1</target>
          <pid_gains>10 1 2</pid_gains>
        </controller>
      </plugin>
    </include>

  </world>
</sdf>