It is assumed that the workspace is ~/ros2_ws/
.
cd ~/ros2_ws/src
git clone https://github.com/gfigneczi1/ign_b7e_temp_sens
cd ~/ros2_ws
colcon build --packages-select temp_sens --symlink-install
Don't forget to source before ROS commands.
source ~/ros2_ws/install/setup.bash
ros2 launch temp_sens temp_sens.launch.py
Echo the relevant topics:
ros2 topic echo /warning
While the emulator and warning nodes are running, warnings are thrown occasionally.