Difference between revisions of "TB3 Demos and Regression Tests"
From wikidb
(→RealSense) |
|||
Line 12: | Line 12: | ||
== RealSense == | == RealSense == | ||
− | + | Precondition - D415 plugged in | |
− | + | ||
+ | === Core Drivers === | ||
+ | |||
+ | $ realsense-viewer | ||
+ | or | ||
+ | $ rs-pointcloud | ||
+ | |||
+ | |||
+ | === ROS Realsense Wrapper === | ||
Terminal 1 | Terminal 1 | ||
− | + | $ roscore | |
Terminal 2 | Terminal 2 | ||
+ | |||
+ | roslaunch realsense2_camera rs_camera.launch | ||
+ | |||
+ | Terminal 3 | ||
rqt_image_view | rqt_image_view | ||
+ | $ rosrun image_view image_view image:=/camera/color/image_raw | ||
+ | or | ||
+ | $ rosrun image_view image_view image:=/camera/depth/image_rect_ra | ||
== ROS OpenCL Caffe with USB Cam == | == ROS OpenCL Caffe with USB Cam == |
Revision as of 13:03, 9 March 2019
Contents
USB Cam
- Pop up window of view out of /dev/video0
roslaunch usb_cam usb_cam-test.launch
Core Functionality
- TurtleBot3_Run_Scripts Mapping and navigation
- Passes
RealSense
Precondition - D415 plugged in
Core Drivers
$ realsense-viewer
or
$ rs-pointcloud
ROS Realsense Wrapper
Terminal 1
$ roscore
Terminal 2
roslaunch realsense2_camera rs_camera.launch
Terminal 3
rqt_image_view $ rosrun image_view image_view image:=/camera/color/image_raw
or
$ rosrun image_view image_view image:=/camera/depth/image_rect_ra
ROS OpenCL Caffe with USB Cam
- TB3_ROS_OpenCL_Caffe#Demo_1
- Passed
- uses camera at /dev/vidio0
$ roslaunch opencl_caffe_launch usb_cam_viewer.launch
Movidius Neural Compute Stick SDK 1.12 - Tensorflow example
- TB3_Movidius_Newual_Compute_Stick_1.12
- Movidius NCS plugged in
Validation Run
- Passed
$ cd ~/workspace/ncsdk/examples/tensorflow/inception_v3 $ make all
NCS 1.12 Tensorflow Examples Make Log
Movidius Applications
- TB3_Movidius_Applications
- Passed
- Movidius NCS plugged in
- /opt/ros/kinetic/lib/python2.7/dist-packages/cv2.so
- Shows image of an elephant
$ cd ~/workspace/ncappzoo/tensorflow/mobilenets $ python3 ../../apps/image-classifier/image-classifier.py --graph ./model/graph --dim 224 224 --mean 127.5 --scale 0.00789 --colormode "RGB" --labels ./model/labels.txt --image ../../data/images/pic_053.jpg
Or in Live Image View
- TB3_Movidius_Applications
- Passed
- Movidius NCS plugged in
- remove /opt/ros/kinetic/lib/python2.7/dist-packages/cv2.so
- Shows image of an elephant
$ cd ~/workspace/ncappzoo/apps/live-image-classifier/ $ python3 live-image-classifier.py --graph ../../tensorflow/mobilenets/model/graph --labels ../../tensorflow/mobilenets/model/labels.txt --mean 127.5 --scale 0.00789 --dim 224 224 --colormode="RGB"
Live Image View App Zoo Age Example
- Passed
$ cd ~/workspace/ncappzoo/apps/live-image-classifier/ $ make all