Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # source ROS
- source /opt/ros/humble/setup.bash
- # source Gazebo
- source /usr/share/gazebo/setup.bash
- # source workspace
- source $HOME/workspace/install/setup.bash
- # reduce colcon spam
- export COLCON_LOG_LEVEL=30
- # make logs colorful
- export RCUTILS_COLORIZED_OUTPUT=1
- # force logging output to be buffered
- export RCUTILS_LOGGING_BUFFERED_STREAM=1
- # format logs in terminal
- export RCUTILS_CONSOLE_OUTPUT_FORMAT="[{severity}] [{time}] [{name}]: {message} ({function_name}() at {file_name}:{line_number})"
- # reduce depraction warning spam in colcon
- export PYTHONWARNINGS='ignore:::setuptools.command.install,ignore:::setuptools.command.easy_install,ignore:::pkg_resources'
- # make ROS 2 system not visible to other computers on the local network
- export ROS_LOCALHOST_ONLY=1
- # colcon tab completion
- source /usr/share/colcon_argcomplete/hook/colcon-argcomplete.bash
Advertisement
Add Comment
Please, Sign In to add comment