This Depth Map Generator is based on ROS package.
Producing Depth Map with ROS nodelet which reduce the data transfer time.
Test environment is Raspberry Pi 3.
- Install ROS
Install ROS framework from http://www.ros.org/install/.
DISTRO Indigo and kinetic is tested and recommanded on this project.
Bare version is enough to proceed.
- Setup Workspace
Setting up the ROS environment on the computer following http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment
ps.Inside the tutorial use catkin_make ultility.But we used to use catkin tools,which provides much more feature and easy to use. To install catkin tools
sudo apt-get install python-catkin-tools
- Setup camera node
$ cd $CATKIN_WS/src
$ git clone https://github.com/ktossell/camera_umd
# jpeg_streamer package is useless to us.Put it into blacklist
$ catkin config --blacklist jpeg_streamer
# build workspace
$ catkin build
# Test
- Install required image_pipeline packages
$ sudo apt-get install ros-DITRO-image_view
$ sudo apt-get install ros-DITRO-camera_calibration
$ sudo apt-get install ros-DITRO-stereo_image_proc
- Camera test
The final performance is 0.5 fps.