Skip to content

Instantly share code, notes, and snippets.

@TheProjectsGuy
Created December 12, 2018 12:43
Show Gist options
  • Select an option

  • Save TheProjectsGuy/4a138c42a7fcbc199f95b91b3309401f to your computer and use it in GitHub Desktop.

Select an option

Save TheProjectsGuy/4a138c42a7fcbc199f95b91b3309401f to your computer and use it in GitHub Desktop.
Launch file by setting the environment for log config in C++ and Python in ROS
<launch>
<!-- Environment using config -->
<env name="ROSCONSOLE_CONFIG_FILE" value="$(find intro_pkg1)/config/rosconsole_cpp.conf" />
<env name="ROS_PYTHON_LOG_CONFIG_FILE" value="$(find intro_pkg1)/config/rosconsole_python.conf" />
<!-- Argument parser made using C++ -->
<node name="Debugger1" pkg="intro_pkg1" type="AllLevelDebugger" launch-prefix="gnome-terminal --tab -e "/>
<node name="Debugger2" pkg="intro_pkg1" type="DebuggerAll.py" launch-prefix="gnome-terminal --tab -e" />
</launch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment