Skip to content

Commit

Permalink
Add OM_NO_COMMS env var for disabling comms node (#153)
Browse files Browse the repository at this point in the history
This is used by mowgli since it does not use the comms node.

---------

Co-authored-by: Clemens Elflein <[email protected]>
  • Loading branch information
jeremysalwen and ClemensElflein authored Oct 1, 2024
1 parent 81270b2 commit c463bce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/open_mower/launch/include/_comms.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<launch>
<!-- TODO: Add parameter for simulation -->

<node pkg="mower_comms" type="mower_comms" name="mower_comms" output="screen">
<node pkg="mower_comms" type="mower_comms" name="mower_comms" unless="$(optenv OM_NO_COMMS False)" output="screen">
<rosparam unless="$(eval env('OM_MOWER')=='CUSTOM')" file="$(find open_mower)/params/hardware_specific/$(env OM_MOWER)/comms_general_params.yaml"/>
<rosparam unless="$(eval env('OM_MOWER')=='CUSTOM')" file="$(find open_mower)/params/hardware_specific/$(env OM_MOWER)/comms_$(env OM_MOWER_ESC_TYPE)_params.yaml"/>
<rosparam if="$(eval env('OM_MOWER')=='CUSTOM')" file="$(env HOME)/mower_params/comms_params.yaml"/>
Expand Down

0 comments on commit c463bce

Please sign in to comment.