Difference between revisions of "Building a Webcam Display"
From wikidb
(→Package Setup) |
(→Tutorials) |
||
Line 3: | Line 3: | ||
* [http://wiki.ros.org/ROS/Tutorial InstallingandConfiguringROSEnvironment] | * [http://wiki.ros.org/ROS/Tutorial InstallingandConfiguringROSEnvironment] | ||
* [http://wiki.ros.org/ROS/Tutorials/CreatingPackage Creating a Package] | * [http://wiki.ros.org/ROS/Tutorials/CreatingPackage Creating a Package] | ||
+ | * [http://wiki.ros.org/image_transport/Tutorials Image Transport Tutorials] | ||
== Build the Workspace == | == Build the Workspace == |
Revision as of 12:58, 9 August 2015
Tutorials
Build the Workspace
mkdir -p ~/catkin_ws/src cd ~/catkin_ws/src/ catkin_init_workspace cd .. catkin_make . devel/setup.bash echo $ROS_PACKAGE_PATH cd src/ catkin_create_pkg follow std_msgs rospy roscpp cd .. catkin_make . ~/catkin_ws/devel/setup.bash
Package Setup
TBD: First pass - all these files need to be cleaned up
In ~/catkin_ws/src/follow
In ~/catkin_ws/src/follow/src
- Subscribing To Images Tutorial
- camera_display.cpp my modified source
Build
cd ~/catkin_ws catkin_make
Test
TBD: clean up the next line
rosrun usb_cam usb_cam_node ~video_device "/dev/video0" rosrun follow camera_display