Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create ros package #2

Open
wants to merge 16 commits into
base: noetic-devel
Choose a base branch
from
Open

Create ros package #2

wants to merge 16 commits into from

Conversation

nyxrobotics
Copy link

@nyxrobotics nyxrobotics commented Aug 14, 2024

Summary

ROSで動く状態になったためPR作成
このアルゴリズムをインターンが試せて、PANDAのrosbagで動作を見られるようになることが目的です

下記仕様

  • image_raw(本当はimage_rectが望ましい)とcamera_infoをサブスクライブ
  • segmentationはクラスごとに二値画像をパブリッシュ
    • yoloのようにポリゴンにはしていない
    • laneletにする際にどうせ床に投影する作業発生するような気がしたのでポリゴン化などの処理は実装しませんでした
  • 上記二値画像は低解像度→低解像度用のcamera_infoをパブリッシュ
    • 普通のUSBカメラのimage_rawで認識できそうなので後回しにしましたがinsta360のrosbagで使用する場合はimage_rectに対応するcamera_infoが必要

Setup

  • Install cuda 11.8
  • Install cuDNN 8.9.7 for cuda 11.8
  • add below in ~/.bashrc
## CUDA and cuDNN paths
export PATH=/usr/local/cuda-11.8/bin:${PATH}
export LD_LIBRARY_PATH=/usr/local/cuda-11.8/lib64:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH=/usr/local/cuda-11.8/targets/x86_64-linux/lib:${LD_LIBRARY_PATH}

Detail

Impact

Test

Attention

Copy link

@gakutasu gakutasu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

依存関係にusb_camが必要そうです

Copy link

@kawai-yuuki kawai-yuuki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gitignoreに.vscode/以下を追加してください

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create ROS1 package
3 participants