-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mongodb_play KeyError question #123
Comments
@vonovak is this still an issue? I have another user reporting the same problem (he'll probably comment on this soon). Did you record this with |
I think I have the same problem. It also seems to be recorded on the mongodb_log issue side (timn/ros-mongodb_log#3). It was suggested to me that the general problem is an incompatibility between mongodb_store and mongodb_log packages. My best guess is that mongodb_log should be updated to support the playback better. I hope we can make this happen as I see this as the go to replacement for rosbag. It's much more powerful to have the ability to play the data back and to run queries on the same data. |
@hawesie can you comment on this. It seems we cannot use |
They definitely should be compatible. Either way the playback should be more robust, so I'll look into this. |
My guess is this is just sloppy engineering on my part. I assume the 'latch' key is always present, but this was only introduced at d2cb06e and so recordings made before that will cause this error. |
…t need to be defined as in strands-project#123.
I’ll try that out. Thanks for letting me know. [cid:image001.png@01D04620.57208070] Jeremy Adams +1.866.881.2171 asirobots.comhttp://www.asirobots.com/ On Nov 5, 2015, at 2:02 PM, Nick Hawes <notifications@github.commailto:notifications@github.com> wrote: @jeremy-a-asihttps://github.com/jeremy-a-asi @vonovakhttps://github.com/vonovak it would be great if you could test the code at #156#156 to see if this fixes your problem. — This message contains confidential information and is intended only for the recipient. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately if you have received this e-mail by mistake and delete this e-mail from your system. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. |
One thing I noticed is that this fix is on a hydro branch. I don’t see an indigo branch but there is a jade. Should I able to build and run this branch with ROS indigo release? [cid:image001.png@01D04620.57208070] Jeremy Adams +1.866.881.2171 asirobots.comhttp://www.asirobots.com/ On Nov 5, 2015, at 2:02 PM, Nick Hawes <notifications@github.commailto:notifications@github.com> wrote: @jeremy-a-asihttps://github.com/jeremy-a-asi @vonovakhttps://github.com/vonovak it would be great if you could test the code at #156#156 to see if this fixes your problem. — This message contains confidential information and is intended only for the recipient. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately if you have received this e-mail by mistake and delete this e-mail from your system. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. |
The hydro branch works for indigo too.
|
That's what I thought. I tried it with my setup and am still having the same problems with images. I'm using sensor_msgs/CompressedImage message in a topic.
After step 5 I don't see topics published containing the sensor_msgs/CompressedImage. I also see the exceptions from #123. |
Hello,
I've got a question on the
monngodb_play
script. I recorded some camera data from thehead_xtion_compressed_rgb_compressed
topic. Now when I want to replay it, I run the play script and get the following output.Playing back topics set([u'head_xtion_compressed_rgb_compressed']) Exception in thread Thread-4: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 763, in run self.__target(*self.__args, **self.__kwargs) File "./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'
Can you tell whether there is something wrong with the script or there is something broken on our side?
Thanks a lot!
The text was updated successfully, but these errors were encountered: