(u_u)

ROS melodic:ROSでimage_viewが起動しない

Categories: [blog]
Tags: [ubuntu18.04], [ros], [melodic]

環境
エラー内容
$ roscore
$ rosrun usb_cam usb_node
takuya@takuya-CF-NX2JDHYS:~$ rosrun image_view image_view image:=/usb_cam/image_raw
[ INFO] [1556884074.352272211]: Using transport "raw"

(image_raw:15539): GLib-GObject-CRITICAL **: 20:47:54.388: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(image_raw:15539): GLib-GObject-CRITICAL **: 20:47:54.451: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Attempt to unlock mutex that was not locked
中止 (コアダンプ)
takuya@takuya-CF-NX2JDHYS:
修正方法

image_view: Attempt to unlock mutex that was not locked · Issue #201 · ros-perception/image_pipeline · GitHub

$ cd ~/catkin_ws
$ git -C src clone https://github.com/ros-perception/image_pipeline.git
$ git -C src/image_pipeline fetch origin pull/343/head:bugfix
$ git -C src/image_pipeline checkout bugfix
$ catkin_make
$ export ~/catkin_ws/devel/setup.bash