修复不同摄像头的物品识别问题
This commit is contained in:
@@ -13,7 +13,8 @@
|
||||
|
||||
<node pkg= "tensorflow_object_detector" name="detect_ros" type="detect_ros.py" output="screen">
|
||||
<remap from="image" to="/camera/color/image_raw" if="$(eval arg('camera_type_tel')=='d435')"/>
|
||||
<remap from="image" to="/camera/rgb/image_raw" unless="$(eval arg('camera_type_tel')=='d435')"/>
|
||||
<remap from="image" to="/camera/rgb/image_raw" if="$(eval arg('camera_type_tel')=='astrapro')"/>
|
||||
<remap from="image" to="/camera/rgb/image_raw" if="$(eval arg('camera_type_tel')=='astra')"/>
|
||||
</node>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user