forked from xtdrone/XTDrone
83 lines
2.7 KiB
XML
83 lines
2.7 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
|
|
Author: Jonathan Sprinkle, Sam Taylor, Alex Warren
|
|
Copyright (c) 2015 Arizona Board of Regents
|
|
All rights reserved.
|
|
|
|
Permission is hereby granted, without written agreement and without
|
|
license or royalty fees, to use, copy, modify, and distribute this
|
|
software and its documentation for any purpose, provided that the
|
|
above copyright notice and the following two paragraphs appear in
|
|
all copies of this software.
|
|
|
|
IN NO EVENT SHALL THE ARIZONA BOARD OF REGENTS BE LIABLE TO ANY PARTY
|
|
FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
|
|
ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
|
|
IF THE ARIZONA BOARD OF REGENTS HAS BEEN ADVISED OF THE POSSIBILITY OF
|
|
SUCH DAMAGE.
|
|
|
|
THE ARIZONA BOARD OF REGENTS SPECIFICALLY DISCLAIMS ANY WARRANTIES,
|
|
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER
|
|
IS ON AN "AS IS" BASIS, AND THE ARIZONA BOARD OF REGENTS HAS NO OBLIGATION
|
|
TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
|
|
|
Summary:
|
|
This file includes the control interfaces for ROS-based control
|
|
through Gazebo. For more information and for the tutorials used to create
|
|
this file, see
|
|
http://gazebosim.org/tutorials/?tut=ros_control#Prerequisites
|
|
|
|
Sensors are included separately, based on the arguments passed to the xacro include
|
|
|
|
-->
|
|
<robot>
|
|
|
|
<!--left camera-->
|
|
<gazebo reference="camera_left_link">
|
|
<mu1>0.6</mu1>
|
|
<mu2>0.5</mu2>
|
|
</gazebo>
|
|
|
|
<gazebo reference="camera_left_link">
|
|
<sensor type="camera" name="camera_left">
|
|
<update_rate>30.0</update_rate>
|
|
<camera name="left">
|
|
<horizontal_fov>1.3962634</horizontal_fov>
|
|
<image>
|
|
<width>800</width>
|
|
<height>800</height>
|
|
<format>R8G8B8</format>
|
|
</image>
|
|
<clip>
|
|
<near>0.02</near>
|
|
<far>300</far>
|
|
</clip>
|
|
<noise>
|
|
<type>gaussian</type>
|
|
<mean>0.0</mean>
|
|
<stddev>0.007</stddev>
|
|
</noise>
|
|
</camera>
|
|
<plugin name="camera_left_controller" filename="libgazebo_ros_camera.so">
|
|
<alwaysOn>true</alwaysOn>
|
|
<updateRate>0.0</updateRate>
|
|
<robotNamespace>/$(arg roboname)</robotNamespace>
|
|
<cameraName>camera_left</cameraName>
|
|
<imageTopicName>image_raw_left</imageTopicName>
|
|
<cameraInfoTopicName>camera_left_info</cameraInfoTopicName>
|
|
<frameName>camera_left_link</frameName>
|
|
<hackBaseline>0.07</hackBaseline>
|
|
<distortionK1>0.0</distortionK1>
|
|
<distortionK2>0.0</distortionK2>
|
|
<distortionK3>0.0</distortionK3>
|
|
<distortionT1>0.0</distortionT1>
|
|
<distortionT2>0.0</distortionT2>
|
|
</plugin>
|
|
</sensor>
|
|
</gazebo>
|
|
|
|
</robot>
|
|
|