トップ 差分 一覧 Farm ソース 検索 ヘルプ PDF RSS ログイン

Diary/2019-8-12

続・Jetson NanoでROS2でZED-Mini

とりあえず,

$ cd ~/ros2_ws/src
$ git clone https://github.com/ros-perception/image_common.git
$ cd image_common
$ git checkout crystal
$ cd ~/ros2_ws/
$ colcon build --base-paths src/image_common/image_transport

として,続き

source ./install/local_setup.bash
colcon build --symlink-install --packages-select stereolabs_zed --cmake-args=-DCMAKE_BUILD_TYPE=Release
source ./install/local_setup.bash
colcon build --symlink-install --cmake-args=-DCMAKE_BUILD_TYPE=Release
echo source $(pwd)/install/local_setup.bash >> ~/.bashrc
source ~/.bashrc

zed-oepncv

まず https://github.com/stereolabs/zed-python-api をインストール

git clone https://github.com/stereolabs/zed-python-api.git
sudo pip3 install cython numpy
sudo pip3 install -r requirements.txt
python3 setup.py build
sudo python3 setup.py install

で,zed-opencv https://github.com/stereolabs/zed-opencv/tree/master/python
python サンプルが動かせる