-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from DoernerD/tank_test_config
Tank test config
- Loading branch information
Showing
26 changed files
with
422 additions
and
1,205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<launch> | ||
<arg name="namespace" default="floatsam"/> | ||
<arg name="debug" default="0"/> | ||
|
||
<arg name="namespace2" default="sam"/> | ||
<arg name="mode" default="default"/> | ||
|
||
<node name="map_2_floatsam" pkg="tf" type="static_transform_publisher" args="0 -1 0 0 0 0 map $(arg namespace)/base_link 100"/> | ||
<node name="map_2_sam" pkg="tf" type="static_transform_publisher" args="0 1 0 0 0 0 map $(arg namespace2)/base_link 100"/> | ||
|
||
|
||
<group ns="$(arg namespace)"> | ||
|
||
<param name="robot_description" | ||
command="$(find xacro)/xacro '$(find floatsam_description)/robots/floatsam_usv_default.urdf.xacro' debug:=$(arg debug) namespace:=$(arg namespace)"/> | ||
|
||
<!--<node pkg="sam_description" type="joint_state_converter.py" name="joint_state_converter"--> | ||
<!--output="screen"/>--> | ||
<node pkg="joint_state_publisher" type="joint_state_publisher" name="joint_state_publisher"> | ||
<!-- <param name="rate" value="100"/> --> | ||
<param name="use_gui" value="false"/> | ||
<rosparam param="source_list">["command_states"]</rosparam> | ||
</node> | ||
|
||
<node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher" respawn="true" output="screen"> | ||
<param name="robot_description" value="/$(arg namespace)/robot_description"/> | ||
|
||
</node> | ||
</group> | ||
|
||
|
||
<group ns="$(arg namespace2)"> | ||
|
||
<param name="robot_description" | ||
command="$(find xacro)/xacro '$(find sam_description)/robots/sam_auv_$(arg mode).urdf.xacro' debug:=$(arg debug) namespace:=$(arg namespace2)" /> | ||
|
||
<node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher" respawn="true" output="screen"> | ||
<param name="robot_description" value="/$(arg namespace2)/robot_description" /> | ||
</node> | ||
|
||
<node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher" respawn="true" output="screen"> | ||
<param name="use_gui" value="false"/> | ||
<rosparam param="source_list">["/sam/command_states"]</rosparam> | ||
</node> | ||
|
||
</group> | ||
|
||
</launch> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0"?> | ||
|
||
<robot name="floatsam" xmlns:xacro="http://www.ros.org/wiki/xacro" > | ||
<xacro:arg name="debug" default="0"/> | ||
<xacro:arg name="namespace" default="floatsam"/> | ||
<xacro:include filename="$(find floatsam_description)/urdf/floatsam_usv.urdf.xacro"/> | ||
<xacro:floatsam_usv namespace="$(arg namespace)" debug="$(arg debug)"/> | ||
</robot> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
<?xml version="2.0"?> | ||
<robot name="floatsam" xmlns:xacro="http://www.ros.org/wiki/xacro"> | ||
|
||
<xacro:property name="body" value="file://$(find floatsam_description)/mesh/floatsam_usv.dae"/> | ||
<xacro:property name="PI" value="3.141592" /> | ||
<xacro:macro name="floatsam_usv" params="namespace debug"> | ||
|
||
<!-- Links. --> | ||
<link name="$(arg namespace)/base_link"> | ||
<visual> | ||
<origin xyz="-0.3 0 -0.1" rpy="0 0 0"/> | ||
<geometry> | ||
<mesh filename="${body}" scale="1 1 1"/> | ||
</geometry> | ||
</visual> | ||
</link> | ||
|
||
<link name="$(arg namespace)/thruster_port_link"/> | ||
<link name="$(arg namespace)/thruster_starboard_link"/> | ||
<link name="$(arg namespace)/imu_link"/> | ||
<link name="$(arg namespace)/sbg_link"/> | ||
<link name="$(arg namespace)/gps_0_link"/> | ||
<link name="$(arg namespace)/gps_1_link"/> | ||
<link name="$(arg namespace)/rtk_stb_link"/> | ||
<link name="$(arg namespace)/rtk_prt_link"/> | ||
<link name="$(arg namespace)/uw_gps_link"/> | ||
<link name="$(arg namespace)/dvl_link"/> | ||
|
||
<joint name="$(arg namespace)/thruster_port_joint" type="fixed"> | ||
<parent link="$(arg namespace)/base_link"/> | ||
<child link="$(arg namespace)/thruster_port_link"/> | ||
<origin rpy="0.0 0.0 0.0" xyz="-0.09 0.25 -0.15"/> | ||
</joint> | ||
|
||
<joint name="$(arg namespace)/thruster_starboard_joint" type="fixed"> | ||
<parent link="$(arg namespace)/base_link"/> | ||
<child link="$(arg namespace)/thruster_starboard_link"/> | ||
<origin rpy="0.0 0.0 0.0" xyz="-0.09 -0.25 -0.15"/> | ||
</joint> | ||
|
||
<joint name="$(arg namespace)/imu_joint" type="fixed"> | ||
<parent link="$(arg namespace)/base_link"/> | ||
<child link="$(arg namespace)/imu_link"/> | ||
<origin rpy="0.0 0.0 0.0" xyz="0.1 0.0 0.0"/> | ||
</joint> | ||
|
||
<joint name="$(arg namespace)/sbg_joint" type="fixed"> | ||
<parent link="$(arg namespace)/base_link"/> | ||
<child link="$(arg namespace)/sbg_link"/> | ||
<origin rpy="0.0 0.0 0.0" xyz="0.1 0.1 0.0"/> | ||
</joint> | ||
|
||
<joint name="$(arg namespace)/gps_0_joint" type="fixed"> | ||
<parent link="$(arg namespace)/base_link"/> | ||
<child link="$(arg namespace)/gps_0_link"/> | ||
<origin rpy="0.0 0.0 0.0" xyz="0.5 0.25 0.11"/> | ||
</joint> | ||
|
||
<joint name="$(arg namespace)/gps_1_joint" type="fixed"> | ||
<parent link="$(arg namespace)/base_link"/> | ||
<child link="$(arg namespace)/gps_1_link"/> | ||
<origin rpy="0.0 0.0 0.0" xyz="0.5 -0.25 0.11"/> | ||
</joint> | ||
|
||
<joint name="$(arg namespace)/rtk_stb_joint" type="fixed"> | ||
<parent link="$(arg namespace)/base_link"/> | ||
<child link="$(arg namespace)/rtk_stb_link"/> | ||
<origin rpy="0.0 0.0 0.0" xyz="-0.05 -0.25 0.11"/> | ||
</joint> | ||
|
||
<joint name="$(arg namespace)/rtk_prt_joint" type="fixed"> | ||
<parent link="$(arg namespace)/base_link"/> | ||
<child link="$(arg namespace)/rtk_prt_link"/> | ||
<origin rpy="0.0 0.0 0.0" xyz="-0.05 0.25 0.11"/> | ||
</joint> | ||
|
||
<joint name="$(arg namespace)/uw_gps_joint" type="fixed"> | ||
<parent link="$(arg namespace)/base_link"/> | ||
<child link="$(arg namespace)/uw_gps_link"/> | ||
<origin rpy="${PI} 0.0 -${PI / 2}" xyz="0.4 0. -0.15"/> | ||
</joint> | ||
|
||
<joint name="$(arg namespace)/dvl_joint" type="fixed"> | ||
<parent link="$(arg namespace)/base_link"/> | ||
<child link="$(arg namespace)/dvl_link"/> | ||
<origin rpy="0. 0.0 0." xyz="0.05 -0.25 -0.15"/> | ||
</joint> | ||
|
||
</xacro:macro> | ||
|
||
</robot> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.