Skip to content

Commit f4dd7d2

Browse files
knorth55jsk-fetchuser
authored andcommitted
re-enable object detection video with throttled rgb images
1 parent c546923 commit f4dd7d2

File tree

2 files changed

+23
-11
lines changed

2 files changed

+23
-11
lines changed

jsk_fetch_robot/jsk_fetch_startup/apps/go_to_kitchen/go_to_kitchen.app

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ plugins:
1212
video_topic_name: /head_camera/rgb/throttled/image_rect_color
1313
video_fps: 5.0
1414
video_codec: XVID
15-
# - name: object_detection_video_recorder_plugin
16-
# type: app_recorder/video_recorder_plugin
17-
# launch_args:
18-
# video_path: /tmp
19-
# video_title: go_to_kitchen_object_detection.avi
20-
# video_topic_name: /edgetpu_object_detector/output/image
21-
# video_fps: 15.0
15+
- name: object_detection_video_recorder_plugin
16+
type: app_recorder/video_recorder_plugin
17+
launch_args:
18+
video_path: /tmp
19+
video_title: go_to_kitchen_object_detection.avi
20+
video_topic_name: /edgetpu_object_detector_visualization/output
21+
video_fps: 5.0
2222
- name: rosbag_recorder_plugin
2323
type: app_recorder/rosbag_recorder_plugin
2424
launch_args:
@@ -55,11 +55,11 @@ plugins:
5555
plugin_args:
5656
upload_file_paths:
5757
- /tmp/go_to_kitchen_head_camera.avi
58-
# - /tmp/go_to_kitchen_object_detection.avi
58+
- /tmp/go_to_kitchen_object_detection.avi
5959
- /tmp/go_to_kitchen_rosbag.bag
6060
upload_file_titles:
6161
- go_to_kitchen_head_camera.avi
62-
# - go_to_kitchen_object_detection.avi
62+
- go_to_kitchen_object_detection.avi
6363
- go_to_kitchen_rosbag.bag
6464
upload_parents_path: fetch_go_to_kitchen
6565
upload_server_name: /gdrive_server
@@ -76,14 +76,14 @@ plugins:
7676
plugin_order:
7777
start_plugin_order:
7878
- head_camera_video_recorder_plugin
79-
# - object_detection_video_recorder_plugin
79+
- object_detection_video_recorder_plugin
8080
- rosbag_recorder_plugin
8181
- gdrive_uploader_plugin
8282
- speech_notifier_plugin
8383
- mail_notifier_plugin
8484
stop_plugin_order:
8585
- head_camera_video_recorder_plugin
86-
# - object_detection_video_recorder_plugin
86+
- object_detection_video_recorder_plugin
8787
- rosbag_recorder_plugin
8888
- gdrive_uploader_plugin
8989
- speech_notifier_plugin
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
11
<launch>
22
<node name="go_to_kitchen" pkg="roseus" type="roseus" required="true" output="screen"
33
args="$(find jsk_fetch_startup)/euslisp/go-to-kitchen.l" />
4+
5+
<node name="edgetpu_object_detector_visualization" pkg="jsk_perception"
6+
type="draw_rects" output="screen">
7+
<remap from="~input" to="/head_camera/rgb/throttled/image_rect_color" />
8+
<remap from="~input/rects" to="/edgetpu_object_detector/output/rects" />
9+
<remap from="~input/class" to="/edgetpu_object_detector/output/class" />
10+
<rosparam>
11+
approximate_sync: true
12+
queue_size: 100
13+
use_classification_result: true
14+
</rosparam>
15+
</node>
416
</launch>

0 commit comments

Comments
 (0)