1
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
{
|
||||
"save_path": "collect_data",
|
||||
"left": {
|
||||
"color": "",
|
||||
"depth": "",
|
||||
"info": ""
|
||||
},
|
||||
"right": {
|
||||
"color": "/camera/camera/color/image_raw",
|
||||
"depth": "/camera/camera/aligned_depth_to_color/image_raw",
|
||||
"info": "/camera/camera/color/camera_info"
|
||||
},
|
||||
"right": {
|
||||
"head": {
|
||||
"color": "/camera/color/image_raw",
|
||||
"depth": "/camera/depth/image_raw",
|
||||
"info": "/camera/color/camera_info"
|
||||
},
|
||||
"head": {
|
||||
"color": "",
|
||||
"depth": "",
|
||||
"info": ""
|
||||
}
|
||||
}
|
||||
@@ -217,8 +217,8 @@ class CollectDataNode(Node):
|
||||
if self.head_sign:
|
||||
self.head_index = 0
|
||||
os.mkdir(os.path.join(self.save_path, f"{self.index:06d}_head_depth_raw"))
|
||||
self.head_depth_raw_file = open(
|
||||
os.path.join(self.save_path, f"{self.index:06d}_head_depth_raw.raw"), 'ab')
|
||||
# self.head_depth_raw_file = open(
|
||||
# os.path.join(self.save_path, f"{self.index:06d}_head_depth_raw.raw"), 'ab')
|
||||
self.head_timestamp_file = open(
|
||||
os.path.join(self.save_path, f"{self.index:06d}_head_timestamp.txt"), 'a')
|
||||
self.head_camera_info_file = open(
|
||||
|
||||
Reference in New Issue
Block a user