Skip to content

Commit

Permalink
Removed tf from fcu to rtk_antenna from sensors.launch. The tf should be
Browse files Browse the repository at this point in the history
defined per individual drone in tmux session.
  • Loading branch information
petrlmat committed Nov 7, 2024
1 parent c8c26aa commit 83ffe72
Showing 1 changed file with 0 additions and 47 deletions.
47 changes: 0 additions & 47 deletions launch/sensors.launch
Original file line number Diff line number Diff line change
Expand Up @@ -1029,53 +1029,6 @@
<include file="$(find mrs_serial)/launch/rtk.launch">
</include>

<arg name="rtk_frame" default="$(arg UAV_NAME)/rtk_antenna" />
<arg name="rtk_frame_slashless" default="rtk_antenna_antenna" />

<!-- TODO(HW guys) pls put correct TF values -->
<group if="$(eval arg('UAV_TYPE') == 'f330')">
<node pkg="tf2_ros" type="static_transform_publisher" name="$(arg fcu_frame_slashless)_to_$(arg rtk_frame_slashless)" args="0.0 0.0 0.20 0 0 0.0 $(arg fcu_frame) $(arg rtk_frame)" />
</group>

<!-- TODO(HW guys) pls put correct TF values -->
<group if="$(eval arg('UAV_TYPE') == 'f450')">
<node pkg="tf2_ros" type="static_transform_publisher" name="$(arg fcu_frame_slashless)_to_$(arg rtk_frame_slashless)" args="0.0 0.0 0.20 0 0 0.0 $(arg fcu_frame) $(arg rtk_frame)" />
</group>

<!-- TODO(HW guys) pls put correct TF values -->
<group if="$(eval arg('UAV_TYPE') == 'f550')">
<node pkg="tf2_ros" type="static_transform_publisher" name="$(arg fcu_frame_slashless)_to_$(arg rtk_frame_slashless)" args="0.0 0.0 0.20 0 0 0.0 $(arg fcu_frame) $(arg rtk_frame)" />
</group>

<!-- TODO(HW guys) pls put correct TF values -->
<group if="$(eval arg('UAV_TYPE') == 'x500')">
<node pkg="tf2_ros" type="static_transform_publisher" name="$(arg fcu_frame_slashless)_to_$(arg rtk_frame_slashless)" args="0.0 0.0 0.20 0 0 0.0 $(arg fcu_frame) $(arg rtk_frame)" />
</group>

<!-- TODO(HW guys) pls put correct TF values -->
<group if="$(eval arg('UAV_TYPE') == 't650')">
<node pkg="tf2_ros" type="static_transform_publisher" name="$(arg fcu_frame_slashless)_to_$(arg rtk_frame_slashless)" args="0.0 0.0 0.20 0 0 0.0 $(arg fcu_frame) $(arg rtk_frame)" />
</group>

<group if="$(eval arg('UAV_TYPE') == 'm690')">
<node pkg="tf2_ros" type="static_transform_publisher" name="$(arg fcu_frame_slashless)_to_$(arg rtk_frame_slashless)" args="0.0 0.0 0.137 0 0 0.0 $(arg fcu_frame) $(arg rtk_frame)" />
</group>

<!-- TODO(HW guys) pls put correct TF values -->
<group if="$(eval arg('UAV_TYPE') == 'naki')">
<node pkg="tf2_ros" type="static_transform_publisher" name="$(arg fcu_frame_slashless)_to_$(arg rtk_frame_slashless)" args="0.0 0.0 0.20 0 0 0.0 $(arg fcu_frame) $(arg rtk_frame)" />
</group>

<!-- TODO(HW guys) pls put correct TF values -->
<group if="$(eval arg('UAV_TYPE') == 'dofec')">
<node pkg="tf2_ros" type="static_transform_publisher" name="$(arg fcu_frame_slashless)_to_$(arg rtk_frame_slashless)" args="0.0 0.0 0.20 0 0 0.0 $(arg fcu_frame) $(arg rtk_frame)" />
</group>

<!-- TODO(HW guys) pls put correct TF values -->
<group if="$(eval arg('UAV_TYPE') == 'eaglemk2')">
<node pkg="tf2_ros" type="static_transform_publisher" name="$(arg fcu_frame_slashless)_to_$(arg rtk_frame_slashless)" args="0.0 0.0 0.20 0 0 0.0 $(arg fcu_frame) $(arg rtk_frame)" />
</group>

</group>
<!--//}-->

Expand Down

0 comments on commit 83ffe72

Please sign in to comment.