颜色识别测试报错

rrrrrr 2021-10-24 14:47:00 显示全部楼层 阅读模式
本帖最后由 rrrrrr 于 2021-10-24 14:50 编辑

运行ar_track.launch文件,无法显示色块


首先在命令行中输入roslaunch robot_demo ar_track.launch

然后打开/usb_cam_head/image_raw网页

原本应该这样


2.PNG

但是我测试的是这样,无法显示识别的颜色

44.PNG



4.PNG
报错内容:
[ERROR] [1635055858.907846293]: Error in ar_track_alvar callback
[ERROR] [1635055867.516161958]: Error in ar_track_alvar callback
[ERROR] [1635055889.648424084]: Error in ar_track_alvar callback
[ INFO] [1635055897.074038218]: Handling Request: /
[ INFO] [1635055897.139319861]: Handling Request: /favicon.ico
[ERROR] [1635055912.894919395]: Error in ar_track_alvar callback
[ERROR] [1635055914.899352935]: Error in ar_track_alvar callback
[ERROR] [1635055928.774022113]: Error in ar_track_alvar callback
[ERROR] [1635055985.017875195]: Error in ar_track_alvar callback
[ERROR] [1635055987.394431127]: Error in ar_track_alvar callback
[ERROR] [1635055995.146420225]: Error in ar_track_alvar callback
[ERROR] [1635055995.894682149]: Error in ar_track_alvar callback
[ERROR] [1635055996.017251502]: Error in ar_track_alvar callback
[ERROR] [1635056002.021364866]: Error in ar_track_alvar callback
[ERROR] [1635056003.393037337]: Error in ar_track_alvar callback
[ERROR] [1635056008.019534108]: Error in ar_track_alvar callback
[ INFO] [1635056022.436580135]: Handling Request: /stream_viewer?topic=/usb_cam_head/imag                        e_raw
[ INFO] [1635056022.460012895]: Handling Request: /stream?topic=/usb_cam_head/image_raw
[ERROR] [1635056025.144664046]: Error in ar_track_alvar callback
[ INFO] [1635056035.569110995]: Handling Request: /stream_viewer?topic=/usb_cam_chest/ima                        ge_raw
[ INFO] [1635056035.608280011]: Handling Request: /stream?topic=/usb_cam_chest/image_raw
[ERROR] [1635056042.891130778]: Error in ar_track_alvar callback



回复

使用道具 评分 举报

大神点评1

ccxin 2021-10-25 09:49:21 显示全部楼层
https://www.lejuhub.com/leju_ope ... tice/-/tree/master/,使用RGB2HSV程序进行颜色采集
回复

使用道具 评分 举报

您需要登录后才可以回帖 登录 | 立即注册

  • 0 关注
  • 0 粉丝
  • 1 帖子