Skip to content

Commit

Permalink
polished launch files
Browse files Browse the repository at this point in the history
  • Loading branch information
pritzvac committed Apr 22, 2024
1 parent d0ebdb0 commit e1a7c8f
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 21 deletions.
2 changes: 0 additions & 2 deletions launch/vins_republisher.launch
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
<group ns="$(arg UAV_NAME)">

<!-- ================= Static transformations ================= -->
<!-- TF between the VINS world frame and MRS VINS world frame -->
<!-- <node pkg="tf2_ros" type="static_transform_publisher" name="tf_vins_to_vins_origin" args="0.0 0.0 0.0 1.5708 0.0 0.0 $(arg vins_world_frame) $(arg mrs_vins_world_frame)" /> -->

<!-- TF between the FCU of the UAV and the VINS body (IMU) frame -->
<node pkg="tf2_ros" type="static_transform_publisher" name="tf_vins_fcu_to_mrs_fcu" args="0.085 0.0 0.13 -1.5708 0.0 -1.5708 $(arg fcu_frame) $(arg vins_fcu_front_frame)" />
Expand Down
4 changes: 1 addition & 3 deletions launch/vins_republisher_bluefox_down.launch
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
<group ns="$(arg UAV_NAME)">

<!-- ================= Static transformations ================= -->
<!-- TF between the VINS world frame and MRS VINS world frame -->
<node pkg="tf2_ros" type="static_transform_publisher" name="tf_vins_to_vins_origin" args="0.0 0.0 0.0 1.5708 0.0 0.0 $(arg vins_world_frame) $(arg mrs_vins_world_frame)" />

<!-- TF between the FCU of the UAV and the VINS body (IMU) frame -->
<node pkg="tf2_ros" type="static_transform_publisher" name="tf_vins_fcu_to_mrs_fcu" args="0.1 0.0 -0.15 -1.5708 0.0 -1.5708 $(arg fcu_frame) $(arg vins_fcu_front_frame)" />
Expand All @@ -43,7 +41,7 @@

<param name="uav_name" value="$(arg UAV_NAME)"/>
<!-- set to true if velocity is defined in the IMU frame -->
<param name="rotate_velocity" value="false"/>
<param name="velocity_in_body_frame" value="false"/>

<remap from="~vins_odom_in" to="vins_estimator/imu_propagate"/>
<remap from="~vins_odom_out" to="~odom"/>
Expand Down
4 changes: 0 additions & 4 deletions launch/vins_republisher_openvins_bluefox.launch
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,9 @@
<group ns="$(arg UAV_NAME)">

<!-- ================= Static transformations ================= -->
<!-- TF between the VINS world frame and MRS VINS world frame -->
<!-- <node pkg="tf2_ros" type="static_transform_publisher" name="tf_vins_to_vins_origin" args="0.0 0.0 0.0 1.5708 0.0 0.0 $(arg vins_world_frame) $(arg mrs_vins_world_frame)" /> -->
<!-- <node pkg="tf2_ros" type="static_transform_publisher" name="tf_vins_to_vins_origin" args="0.0 0.0 0.0 3.1415926535 0.0 0.0 $(arg vins_world_frame) $(arg mrs_vins_world_frame)" /> -->

<!-- TF between the FCU of the UAV and the VINS body (IMU) frame -->
<node pkg="tf2_ros" type="static_transform_publisher" name="tf_vins_fcu_to_mrs_fcu" args="0.085 0.0 0.13 -1.5708 0.0 -1.5708 $(arg fcu_frame) $(arg vins_fcu_front_frame)" />
<!-- <node pkg="tf2_ros" type="static_transform_publisher" name="tf_vins_fcu_to_mrs_fcu" args="0.1 0.0 -0.15 -1.5708 0.0 0.0 $(arg fcu_frame) $(arg vins_fcu_front_frame)" /> -->

<!-- TF for variable pitch of the camera -->
<node pkg="tf2_ros" type="static_transform_publisher" name="tf_vins_fcu_to_mrs_fcu2" args="0 0 0 0 0 $(arg camera_pitch) $(arg vins_fcu_front_frame) $(arg vins_fcu_frame)" />
Expand Down
4 changes: 0 additions & 4 deletions launch/vins_republisher_openvins_mavros.launch
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,9 @@
<group ns="$(arg UAV_NAME)">

<!-- ================= Static transformations ================= -->
<!-- TF between the VINS world frame and MRS VINS world frame -->
<!-- <node pkg="tf2_ros" type="static_transform_publisher" name="tf_vins_to_vins_origin" args="0.0 0.0 0.0 1.5708 0.0 0.0 $(arg vins_world_frame) $(arg mrs_vins_world_frame)" /> -->
<!-- <node pkg="tf2_ros" type="static_transform_publisher" name="tf_vins_to_vins_origin" args="0.0 0.0 0.0 3.1415926535 0.0 0.0 $(arg vins_world_frame) $(arg mrs_vins_world_frame)" /> -->

<!-- TF between the FCU of the UAV and the VINS body (IMU) frame -->
<node pkg="tf2_ros" type="static_transform_publisher" name="tf_vins_fcu_to_mrs_fcu" args="0.085 0.0 0.13 0 0.0 0 $(arg fcu_frame) $(arg vins_fcu_front_frame)" />
<!-- <node pkg="tf2_ros" type="static_transform_publisher" name="tf_vins_fcu_to_mrs_fcu" args="0.1 0.0 -0.15 -1.5708 0.0 0.0 $(arg fcu_frame) $(arg vins_fcu_front_frame)" /> -->

<!-- TF for variable pitch of the camera -->
<node pkg="tf2_ros" type="static_transform_publisher" name="tf_vins_fcu_to_mrs_fcu2" args="0 0 0 0 0 $(arg camera_pitch) $(arg vins_fcu_front_frame) $(arg vins_fcu_frame)" />
Expand Down
5 changes: 1 addition & 4 deletions launch/vins_republisher_openvins_oak.launch
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
<group ns="$(arg UAV_NAME)">

<!-- ================= Static transformations ================= -->
<!-- TF between the VINS world frame and MRS VINS world frame -->
<!-- <node pkg="tf2_ros" type="static_transform_publisher" name="tf_vins_to_vins_origin" args="0.0 0.0 0.0 -1.5708 0.0 0.0 $(arg vins_world_frame) $(arg mrs_vins_world_frame)" /> -->
<node pkg="tf2_ros" type="static_transform_publisher" name="tf_vins_to_vins_origin" args="0.0 0.0 0.0 0.0 0.0 0.0 $(arg vins_world_frame) $(arg mrs_vins_world_frame)" />

<!-- TF between the FCU of the UAV and the VINS body (IMU) frame -->
<node pkg="tf2_ros" type="static_transform_publisher" name="tf_vins_fcu_to_mrs_fcu" args="0.067 0.0 -0.33 3.1415 1.5708 0.0 $(arg fcu_frame) $(arg vins_fcu_front_frame)" />
Expand All @@ -46,7 +43,7 @@
<param name="uav_name" value="$(arg UAV_NAME)"/>

<!-- set to true if velocity is defined in the IMU frame -->
<param name="rotate_velocity" value="true"/>
<param name="velocity_in_body_frame" value="true"/>

<remap from="~vins_odom_in" to="ov_msckf/odomimu"/>
<remap from="~vins_odom_out" to="~odom"/>
Expand Down
5 changes: 1 addition & 4 deletions launch/vins_republisher_openvins_t265.launch
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
<group ns="$(arg UAV_NAME)">

<!-- ================= Static transformations ================= -->
<!-- TF between the VINS world frame and MRS VINS world frame -->
<node pkg="tf2_ros" type="static_transform_publisher" name="tf_vins_to_vins_origin" args="0.0 0.0 0.0 -1.5708 0.0 0.0 $(arg vins_world_frame) $(arg mrs_vins_world_frame)" />
<!-- <node pkg="tf2_ros" type="static_transform_publisher" name="tf_vins_to_vins_origin" args="0.0 0.0 0.0 0.0 0.0 0.0 $(arg vins_world_frame) $(arg mrs_vins_world_frame)" /> -->

<!-- TF between the FCU of the UAV and the VINS body (IMU) frame -->
<node pkg="tf2_ros" type="static_transform_publisher" name="tf_vins_fcu_to_mrs_fcu" args="0.085 0.0 0.13 1.5708 0.0 1.5708 $(arg fcu_frame) $(arg vins_fcu_front_frame)" />
Expand All @@ -45,7 +42,7 @@
<param name="uav_name" value="$(arg UAV_NAME)"/>

<!-- set to true if velocity is defined in the IMU frame -->
<param name="rotate_velocity" value="true"/>
<param name="velocity_in_body_frame" value="true"/>

<remap from="~vins_odom_in" to="ov_msckf/odomimu"/>
<remap from="~vins_odom_out" to="~odom"/>
Expand Down

0 comments on commit e1a7c8f

Please sign in to comment.