-
Notifications
You must be signed in to change notification settings - Fork 36
Camera
ce-sch edited this page Dec 4, 2018
·
9 revisions
Documentation: https://www.stereolabs.com/docs/getting-started/
Does NOT have an integrated IMU.
Samples are in /usr/local/zed/sample
.
To start an example, follow the instructions in <sample directory>/README.md
:
Build:
Open a terminal in the sample directory (e.g. /positional tracking
) and execute the following command:
mkdir build
cd build
cmake ..
make
Run the program:
Open a terminal in the build directory and run the sample:
- e.g.
./ZED_Positional_Tracking
cd ~/catkin_ws/
source ~/.bashrc
roslaunch zed_wrapper zed.launch
cd ~/catkin_ws/
source ~/.bashrc
roslaunch zed_display_rviz display.launch
For more information on ROS integration see https://www.stereolabs.com/docs/ros/.
To start a yolo example, execute the following commands:
cd ~/zed-yolo/zed_cpp_sample/build
-
./darknet_zed ../../libdarknet/data/coco.names ../../libdarknet/cfg/yolov3-tiny.cfg yolov3-tiny.weights
All .cfg are in/libdarknet/cfg
. The corresponding weight files have to be downloaded from https://pjreddie.com/darknet/yolo or via e.g.
wget https://pjreddie.com/media/files/yolov3-tiny.weights
Another example would be: wget https://pjreddie.com/media/files/yolov3-openimages.weights
-
./darknet_zed ../../libdarknet/data/openimages.names ../../libdarknet/cfg/yolov3-openimages.cfg yolov3-openimages.weights
For more information see https://github.com/stereolabs/zed-yolo/tree/master/zed_cpp_sample