print_blobs.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 """
00003 print_blobs.py
00004 Mac Mason <mmason@willowgarage.com>
00005 
00006 I'm getting tired of typing the same thing into ipython...
00007 """
00008 import roslib; roslib.load_manifest('semanticmodel')
00009 import mongo_ros
00010 import sensor_msgs.msg as sm
00011 import semanticmodel.msg as bm
00012 
00013 c = mongo_ros.MessageCollection('world_model', 'blobs', bm.BlobMessage)
00014 d = mongo_ros.MessageCollection('world_model', 'images', sm.Image)
00015 
00016 print("BlobMessages:")
00017 for m in c.query({}, True):
00018   print(m)
00019 
00020 print("Images:")
00021 for m in d.query({}, True):
00022   print(m)
00023 


semanticmodel
Author(s): Julian ("Mac") Mason
autogenerated on Thu Dec 12 2013 12:39:10