File: provide_feedback.urdf

package info (click to toggle)
sdformat 4.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,492 kB
  • ctags: 6,349
  • sloc: cpp: 26,300; python: 1,633; ruby: 217; ansic: 79; sh: 77; makefile: 18
file content (37 lines) | stat: -rw-r--r-- 1,060 bytes parent folder | download | duplicates (2)
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
<?xml version="1.0" ?>
<robot name="provide_feedback_test">

  <link name="world"/>
  <link name="link0"/>
  <link name="link1"/>
  <link name="link2"/>

  <joint name="jointw0" type="continuous">
    <origin rpy="0 0 1.57079632679" xyz="0 0 1.0"/>
    <axis xyz="1 0 0"/>  <!-- in child (link1) frame -->
    <parent link="world"/>
    <child link="link0"/>
  </joint>

  <joint name="joint01" type="continuous">
    <origin rpy="0 0 1.57079632679" xyz="0 0 -1"/>
    <axis xyz="1 0 0"/>  <!-- in child (link1) frame -->
    <parent link="link0"/>
    <child link="link1"/>
  </joint>
  <gazebo reference="joint01">
    <provideFeedback>0</provideFeedback>
  </gazebo>

  <joint name="joint12" type="revolute">
    <origin rpy="-1.57079632679 0 -1.57079632679" xyz="0 -3.0 0.0"/>
    <axis xyz="0 1 0"/>  <!-- in child (link1) frame -->
    <limit lower="0" upper="0" velocity="1000" effort="10000"/>
    <parent link="link1"/>
    <child link="link2"/>
  </joint>
  <gazebo reference="joint12">
    <provideFeedback>1</provideFeedback>
  </gazebo>

</robot>