DNN Object Detection
Isaac SIMの起動
Isaac SIMを起動。起動時にROS Bridgeを設定する。



Jetson側のROSの設定
| cd ${ISAAC_ROS_WS}/src/isaac_ros_common && \
./scripts/run_dev.sh
|
| sudo apt update
sudo apt-get install -y ros-humble-nova-developer-kit-bringup
source /opt/ros/humble/setup.bash
|
| sudo apt-get install -y ros-humble-isaac-ros-detectnet \
ros-humble-isaac-ros-dnn-image-encoder \
ros-humble-isaac-ros-triton
sudo apt-get install -y ros-humble-isaac-ros-examples ros-humble-isaac-ros-argus-camera
|
Jetson側のコマンド
PeopleNet Modelモデルをダウンロードし .onnx modelに変換(変換には3分程度:Jetson AGX Orin)
| ros2 run isaac_ros_detectnet setup_model.sh \
--config-file peoplenet_config.pbtxt
|
Object Detectionを起動
| ros2 launch isaac_ros_detectnet isaac_ros_detectnet_isaac_sim.launch.py
|

ROS topic list
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43 | /back_stereo_imu/imu
/chassis/imu
/chassis/odom
/clock
/cmd_vel
/detectnet/detections
/detectnet/detections/nitros
/detectnet_encoder/converted/image
/detectnet_encoder/converted/image/nitros
/detectnet_encoder/crop/camera_info
/detectnet_encoder/crop/camera_info/nitros
/detectnet_encoder/crop/image
/detectnet_encoder/crop/image/nitros
/detectnet_encoder/crop/image/nitros/nitros_image_rgb8
/detectnet_encoder/image_tensor
/detectnet_encoder/image_tensor/nitros
/detectnet_encoder/normalized_tensor
/detectnet_encoder/normalized_tensor/nitros
/detectnet_encoder/planar_tensor
/detectnet_encoder/planar_tensor/nitros
/detectnet_encoder/resize/camera_info
/detectnet_encoder/resize/camera_info/nitros
/detectnet_encoder/resize/image
/detectnet_encoder/resize/image/nitros
/detectnet_processed_image
/front_3d_lidar/lidar_points
/front_stereo_camera/left/camera_info
/front_stereo_camera/left/camera_info/nitros
/front_stereo_camera/left/camera_info_resize
/front_stereo_camera/left/camera_info_resize/nitros
/front_stereo_camera/left/image_rect_color
/front_stereo_camera/left/image_rect_color/nitros
/front_stereo_camera/left/image_resize
/front_stereo_camera/left/image_resize/nitros
/left_stereo_imu/imu
/parameter_events
/right_stereo_imu/imu
/rosout
/tensor_pub
/tensor_pub/nitros
/tensor_sub
/tensor_sub/nitros
/tf
|
Orin Nova Developer Kitのカメラの場合
| cd ${ISAAC_ROS_WS}/src/isaac_ros_common && \
./scripts/run_dev.sh
|
| sudo apt-get update
sudo apt-get install -y ros-humble-isaac-ros-examples \
ros-humble-isaac-ros-argus-camera
|
| ros2 run isaac_ros_detectnet setup_model.sh --config-file peoplenet_config.pbtxt
|
| ros2 launch isaac_ros_examples isaac_ros_examples.launch.py \
launch_fragments:=argus_mono,rectify_mono,detectnet
|
Reference