ppovb5fc7/gazebo/test/worlds/16bit_camera.world

115 lines
2.8 KiB
XML

<?xml version="1.0" ?>
<sdf version="1.6">
<world name="default">
<include>
<uri>model://sun</uri>
</include>
<model name="l16bit_camera">
<static>true</static>
<pose>0.0 0.0 0.5 0 0 0</pose>
<link name="link">
<pose>0.0 0.0 0.0 0 0 0</pose>
<inertial>
<mass>0.1</mass>
</inertial>
<collision name="collision">
<geometry>
<box>
<size>0.1 0.1 0.1</size>
</box>
</geometry>
</collision>
<visual name="visual">
<geometry>
<box>
<size>0.1 0.1 0.1</size>
</box>
</geometry>
</visual>
<sensor name="l16bit_camera_sensor" type="camera">
<camera>
<horizontal_fov>0.7854</horizontal_fov>
<image>
<width>320</width>
<height>240</height>
<format>L16</format>
</image>
<clip>
<near>0.1</near>
<far>100</far>
</clip>
</camera>
<always_on>1</always_on>
<update_rate>10</update_rate>
<visualize>false</visualize>
</sensor>
</link>
</model>
<model name="rgb16_camera">
<static>true</static>
<pose>0.0 0.0 0.5 0 0 0</pose>
<link name="link">
<pose>0.0 0.0 0.0 0 0 0</pose>
<inertial>
<mass>0.1</mass>
</inertial>
<collision name="collision">
<geometry>
<box>
<size>0.1 0.1 0.1</size>
</box>
</geometry>
</collision>
<visual name="visual">
<geometry>
<box>
<size>0.1 0.1 0.1</size>
</box>
</geometry>
</visual>
<sensor name="rgb16bit_camera_sensor" type="camera">
<camera>
<horizontal_fov>0.7854</horizontal_fov>
<image>
<width>320</width>
<height>240</height>
<format>RGB_UINT16</format>
</image>
<clip>
<near>0.1</near>
<far>100</far>
</clip>
</camera>
<always_on>1</always_on>
<update_rate>10</update_rate>
<visualize>false</visualize>
</sensor>
</link>
</model>
<model name="box">
<static>true</static>
<pose>1.0 -0.5 1.0 0 0 0</pose>
<link name="link">
<collision name="collision">
<geometry>
<box>
<size>1 1 1</size>
</box>
</geometry>
</collision>
<visual name="visual">
<geometry>
<box>
<size>1 1 1</size>
</box>
</geometry>
</visual>
</link>
</model>
</world>
</sdf>