81 lines
3.0 KiB
XML
81 lines
3.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
|
|
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 launch file loads the worlds and models for the catvehicle
|
|
|
|
-->
|
|
|
|
<launch>
|
|
|
|
<arg name="paused" default="false"/>
|
|
<arg name="use_sim_time" default="true"/>
|
|
<arg name="gui" default="false"/>
|
|
<arg name="headless" default="false"/>
|
|
<arg name="debug" default="false"/>
|
|
<arg name="obstaclestopper" default="true"/>
|
|
|
|
<include file="$(find gazebo_ros)/launch/empty_world.launch">
|
|
<arg name="debug" value="$(arg debug)" />
|
|
<arg name="gui" value="$(arg gui)" />
|
|
<arg name="paused" value="$(arg paused)"/>
|
|
<arg name="use_sim_time" value="$(arg use_sim_time)"/>
|
|
<arg name="headless" value="$(arg headless)"/>
|
|
</include>
|
|
|
|
<group ns="catvehicle">
|
|
<param name="robot_description"
|
|
command="$(find xacro)/xacro.py '$(find catvehicle)/urdf/catvehicle.xacro' roboname:='catvehicle'" />
|
|
<include file="$(find catvehicle)/launch/catvehicle.launch">
|
|
<arg name="robot_name" value="catvehicle"/>
|
|
<arg name="init_pose" value="-x 1 -y 1 -z 0"/>
|
|
<arg name="config_file" value="catvehicle_control.yaml"/>
|
|
<arg name="obstaclestopper" value="$(arg obstaclestopper)"/>
|
|
</include>
|
|
|
|
<!-- include information for the joystick, etc. -->
|
|
<node pkg="joy" type="joy_node" name="joy_node" output="screen"
|
|
required="true">
|
|
</node>
|
|
|
|
<node pkg="catvehicle" type="joy2cmdvel.py" name="joy2cmdvel" output="screen"
|
|
required="true">
|
|
<param name="namespace" value="/catvehicle"/>
|
|
</node>
|
|
|
|
|
|
</group>
|
|
<group ns="follower_sim">
|
|
<param name="robot_description"
|
|
command="$(find xacro)/xacro.py '$(find catvehicle)/urdf/catvehicle.xacro' roboname:='follower_sim'" />
|
|
<include file="$(find catvehicle)/launch/catvehicle.launch">
|
|
<arg name="robot_name" value="follower_sim"/>
|
|
<arg name="init_pose" value="-x -10 -y 1 -z 0"/>
|
|
<arg name="config_file" value="catvehicle_control.yaml"/>
|
|
<arg name="obstaclestopper" value="$(arg obstaclestopper)"/>
|
|
</include>
|
|
</group>
|
|
</launch>
|