You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ rosrun mongodb_log mongodb_log.py /left/image_raw/compressed
Adding topic /left/image_raw/compressed
DETECTED compressed image topic /left/image_raw/compressed, using fast C++ logger
^Ctajima@nextage1:~/Codes/ros/hydro/src/mongodb_store/mongodb_log/src$ rrun mongodb_log mongodb_log.py /left/image_raw/compressed
Adding topic /left/image_raw/compressed
WARNING: topic [/left/image_raw/compressed] does not appear to be published yet
DETECTED compressed image topic /left/image_raw/compressed, using fast C++ logger
And playing it back as:
$ rosrun mongodb_store mongodb_play.py /left/image_raw/compressed
Playing back topics set([u'left_image_raw_compressed'])
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 504, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/tajima/Codes/ros/hydro/src/mongodb_store/mongodb_store/scripts/mongodb_play.py", line 116, in queue_from_db
self.publisher = rospy.Publisher(documents[0]["_meta"]["topic"], msg_cls, latch = documents[0]["_meta"]["latch"], queue_size = 10)
KeyError: 'topic'
The database has no _meta: {topic, latch} field, I guess that's why.
Logging compressed image as:
And playing it back as:
The database has no _meta: {topic, latch} field, I guess that's why.
Environment: Ubuntu12.04 + Hydro, mongodb_store ver. 0.1.12
Thank you.
The text was updated successfully, but these errors were encountered: