-
Notifications
You must be signed in to change notification settings - Fork 98
/
sensor.sdf
71 lines (63 loc) · 3.02 KB
/
sensor.sdf
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!-- Sensor -->
<element name="sensor" required="0">
<description>The sensor tag describes the type and properties of a sensor.</description>
<attribute name="name" type="string" default="__default__" required="1">
<description>A unique name for the sensor. This name must not match another model in the model.</description>
</attribute>
<attribute name="type" type="string" default="__default__" required="1">
<description>The type name of the sensor. By default, SDFormat supports types
air_pressure,
altimeter,
camera,
contact,
depth_camera,
force_torque,
gps,
gpu_lidar,
gpu_ray,
imu,
lidar,
logical_camera,
magnetometer,
multicamera,
ray,
rfid,
rfidtag,
rgbd_camera,
sonar,
thermal_camera,
wireless_receiver, and
wireless_transmitter.
The "ray" and "gpu_ray" types are equivalent to "lidar" and "gpu_lidar", respectively. It is preferred to use "lidar" and "gpu_lidar" since "ray" and "gpu_ray" will be deprecated. The "ray" and "gpu_ray" types are maintained for legacy support.
</description>
</attribute>
<element name="always_on" type="bool" default="false" required="0">
<description>If true the sensor will always be updated according to the update rate.</description>
</element>
<element name="update_rate" type="double" default="0" required="0">
<description>The frequency at which the sensor data is generated. If left unspecified, the sensor will generate data every cycle.</description>
</element>
<element name="visualize" type="bool" default="false" required="0">
<description>If true, the sensor is visualized in the GUI</description>
</element>
<element name="topic" type="string" default="__default__" required="0">
<description>Name of the topic on which data is published. This is necessary for visualization</description>
</element>
<include filename="pose.sdf" required="0"/>
<include filename="plugin.sdf" required="*"/>
<include filename="air_pressure.sdf" required="0"/>
<include filename="altimeter.sdf" required="0"/>
<include filename="camera.sdf" required="0"/>
<include filename="contact.sdf" required="0"/>
<include filename="forcetorque.sdf" required="0"/>
<include filename="gps.sdf" required="0"/>
<include filename="imu.sdf" required="0"/>
<include filename="lidar.sdf" required="0"/>
<include filename="logical_camera.sdf" required="0"/>
<include filename="magnetometer.sdf" required="0"/>
<include filename="ray.sdf" required="0"/>
<include filename="rfid.sdf" required="0"/>
<include filename="rfidtag.sdf" required="0"/>
<include filename="sonar.sdf" required="0"/>
<include filename="transceiver.sdf" required="0"/>
</element> <!-- End Sensor -->