XTDrone/sitl_config/ugv/catvehicle/launch/sinvel.launch

53 lines
1.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Author: Rahul Kumar Bhadani
Copyright (c) 2018 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 UNIVERSITY OF CALIFORNIA 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 UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION
TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
Summary:
========
This launch file applies a velocity profile to the leader car already loaded into the simulator.
-->
<launch>
<param name="enable_statistics" value="true" />
<arg name="robot" default="catvehicle"/>
<arg name="Bias" default="12.0"/> <!-- 35.5 m/s is upper limit in the velocity-->
<arg name="Amp" default="10.0"/>
<param name="bias" value="$(arg Bias)"/>
<param name="amplitude" value="$(arg Amp)"/>
<group ns="$(arg robot)">
<node pkg="sinvel" type="sinvel_node" name="sinvel_$(arg robot)" output="screen" required="true"/>
</group>
</launch>