Skip to content

Commit

Permalink
added loading of custom config to launch file
Browse files Browse the repository at this point in the history
  • Loading branch information
petrlmat committed Oct 1, 2024
1 parent 660d1e6 commit a2e4253
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions launch/vins_republisher_openvins_bluefox.launch
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
<arg unless="$(arg standalone)" name="nodelet_manager" value="$(arg manager)"/>
<arg if="$(arg standalone)" name="nodelet_manager" value=""/>

<arg name="custom_config" default="" />

<group ns="$(arg UAV_NAME)">

<!-- ================= Static transformations ================= -->
Expand All @@ -38,6 +40,7 @@
<node pkg="nodelet" type="nodelet" name="vins_republisher" args="$(arg nodelet) vins_republisher/VinsRepublisher $(arg nodelet_manager)" launch-prefix="$(arg launch_prefix_debug)" output="screen">

<rosparam file="$(find mrs_vins_republisher)/config/default.yaml" command="load" />
<rosparam if="$(eval not arg('custom_config') == '')" file="$(arg custom_config)" command="load" />

<param name="uav_name" value="$(arg UAV_NAME)"/>

Expand Down

0 comments on commit a2e4253

Please sign in to comment.