Public Member Functions | |
def | __del__ (self) |
def | __init__ (self) |
def | end_service_cb (self, req) |
def | reconfig_cb (self, config, level) |
def | save_param (self, param, savetype, filename) |
def | save_topic (self, topic, msg, savetype, filename) |
def | service_cb (self, req) |
def | start_service_cb (self, req) |
def | sub_cb (self, msg, topic_name) |
def | sync_service_cb (self, req) |
def | sync_sub_and_save_cb (self, msgs) |
def | sync_sub_cb (self, msgs) |
def | sync_timer_cb (self, event) |
def | timer_cb (self, event) |
Public Attributes | |
end_server | |
msg | |
params | |
save_dir | |
server | |
slop | |
start | |
start_server | |
subs | |
sync | |
timer | |
timestamp_save_dir | |
topics | |
Private Member Functions | |
def | _save (self) |
def | _sync_save (self) |
Server to collect data. <rosparam> save_dir: ~/.ros topics: - name: /camera/rgb/image_raw msg_class: sensor_msgs/Image fname: image.png savetype: ColorImage - name: /camera/depth/image_raw msg_class: sensor_msgs/Image fname: depth.pkl savetype: DepthImage params: - key: /in_hand_data_collection_main/object fname: label.txt savetype: Text </rosparam>
Definition at line 41 of file data_collection_server.py.
def data_collection_server.DataCollectionServer.__init__ | ( | self | ) |
Definition at line 63 of file data_collection_server.py.
def data_collection_server.DataCollectionServer.__del__ | ( | self | ) |
Definition at line 164 of file data_collection_server.py.
|
private |
Definition at line 236 of file data_collection_server.py.
|
private |
Definition at line 220 of file data_collection_server.py.
def data_collection_server.DataCollectionServer.end_service_cb | ( | self, | |
req | |||
) |
Definition at line 277 of file data_collection_server.py.
def data_collection_server.DataCollectionServer.reconfig_cb | ( | self, | |
config, | |||
level | |||
) |
Definition at line 158 of file data_collection_server.py.
def data_collection_server.DataCollectionServer.save_param | ( | self, | |
param, | |||
savetype, | |||
filename | |||
) |
Definition at line 206 of file data_collection_server.py.
def data_collection_server.DataCollectionServer.save_topic | ( | self, | |
topic, | |||
msg, | |||
savetype, | |||
filename | |||
) |
Definition at line 185 of file data_collection_server.py.
def data_collection_server.DataCollectionServer.service_cb | ( | self, | |
req | |||
) |
Definition at line 281 of file data_collection_server.py.
def data_collection_server.DataCollectionServer.start_service_cb | ( | self, | |
req | |||
) |
Definition at line 273 of file data_collection_server.py.
def data_collection_server.DataCollectionServer.sub_cb | ( | self, | |
msg, | |||
topic_name | |||
) |
Definition at line 179 of file data_collection_server.py.
def data_collection_server.DataCollectionServer.sync_service_cb | ( | self, | |
req | |||
) |
Definition at line 288 of file data_collection_server.py.
def data_collection_server.DataCollectionServer.sync_sub_and_save_cb | ( | self, | |
msgs | |||
) |
Definition at line 175 of file data_collection_server.py.
def data_collection_server.DataCollectionServer.sync_sub_cb | ( | self, | |
msgs | |||
) |
Definition at line 168 of file data_collection_server.py.
def data_collection_server.DataCollectionServer.sync_timer_cb | ( | self, | |
event | |||
) |
Definition at line 299 of file data_collection_server.py.
def data_collection_server.DataCollectionServer.timer_cb | ( | self, | |
event | |||
) |
Definition at line 295 of file data_collection_server.py.
data_collection_server.DataCollectionServer.end_server |
Definition at line 143 of file data_collection_server.py.
data_collection_server.DataCollectionServer.msg |
Definition at line 66 of file data_collection_server.py.
data_collection_server.DataCollectionServer.params |
Definition at line 76 of file data_collection_server.py.
data_collection_server.DataCollectionServer.save_dir |
Definition at line 159 of file data_collection_server.py.
data_collection_server.DataCollectionServer.server |
Definition at line 133 of file data_collection_server.py.
data_collection_server.DataCollectionServer.slop |
Definition at line 77 of file data_collection_server.py.
data_collection_server.DataCollectionServer.start |
Definition at line 140 of file data_collection_server.py.
data_collection_server.DataCollectionServer.start_server |
Definition at line 141 of file data_collection_server.py.
data_collection_server.DataCollectionServer.subs |
Definition at line 104 of file data_collection_server.py.
data_collection_server.DataCollectionServer.sync |
Definition at line 123 of file data_collection_server.py.
data_collection_server.DataCollectionServer.timer |
Definition at line 147 of file data_collection_server.py.
data_collection_server.DataCollectionServer.timestamp_save_dir |
Definition at line 89 of file data_collection_server.py.
data_collection_server.DataCollectionServer.topics |
Definition at line 67 of file data_collection_server.py.