ROS 2 Demos Foxy 20210407
From wikidb
Summary
Found a ROS 2 Demo package. Experimented with showimage program. There is much more here which will have to wait until later.
Reference
- ROS Demos
- [github.com/ros2/demos Demos Repository]: tabs for Galactic, Foxy and Dashing.
Install
mkdir -p ros2demo_ws/src cd ros2demo_ws/src/ git clone https://github.com/ros2/demos cd .. colcon build --symlink-install --parallel-workers 1
Many compile warnings and errors
Test showimage
TERMINAL 1
$ source ~/image_ws/install/setup.bash $ ros2 run image_publisher image_publisher_node /dev/video0
TERMINAL 2
$ source ~/image_ws/install/setup.bash $ ros2 run image_view image_view image:=image_raw
TERMINAL 3
$ source ros2demo_ws/install/setup.bash $ ros2 run image_tools showimage image:=image_raw