Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0"?>
- <!--
- \author Raffaello Bonghi <raffaello@rnext.it
- \copyright Copyright (c) 2016, Raffaello Bonghi All rights reserved.
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of Officine Robotiche nor the
- names of its contributors may be used to endorse or promote products
- derived from this software without specific prior written permission.
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY
- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- -->
- <launch>
- <!-- Load robot description -->
- <!-- In this launch file are initialized the /robot_description and
- the robot_state_publisher to show all information about the joints. -->
- <include file="$(find plutarco_description)/launch/description.launch" />
- <!-- ORBus hardware driver -->
- <node pkg="orbus_interface" type="unav_node" name="unav" output="screen">
- <!-- You can write the definition about the serial port configuration
- and the controller and diagnostic frequency. -->
- <rosparam subst_value="true">
- serial_port: /dev/ttyTHS0
- serial_rate: 115200
- control_frequency: 10.0
- diagnostic_frequency: 1.0
- </rosparam>
- <!-- Add your personal definition when the unav_node start -->
- <rosparam command="load" file="$(find plutarco_control)/config/unav.yaml" />
- </node>
- <!-- Differential controller parameters -->
- <!-- In control.yaml you have the configuration for the two ROS controller
- available in the unav_node: unav_joint_pubblisher and unav_velocity_controller
- When all parameters all loaded you can spawn with the controller_manager.
- READ inside the control.yaml to know all parameters -->
- <rosparam command="load" file="$(find plutarco_control)/config/control.yaml" />
- <!-- Launch and running al controller -->
- <node name="base_controller_spawner" pkg="controller_manager" type="spawner"
- args="unav_joint_publisher unav_velocity_controller --shutdown-timeout 3"/>
- <!-- Diagnostic Aggregator -->
- <node pkg="diagnostic_aggregator" type="aggregator_node" name="diagnostic_aggregator">
- <rosparam command="load" file="$(find plutarco_control)/config/diagnostics.yaml"/>
- </node>
- </launch>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement