Skip to content

Commit

Permalink
fix(collect): fixed data blobs in IMU data in collections #1000
Browse files Browse the repository at this point in the history
A bug was causing the IMU data recorded in the collections (and not in the continuous_sensor_data field) to be recorded as blob. Added message processing to turn it into a dictionary.
  • Loading branch information
Kazadhum committed Jan 22, 2025
1 parent 4090257 commit d534fcc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,9 @@ def saveCollection(self):
msg = self.label_msgs[sensor_key].point_cloud
elif sensor['modality'] in ['depth']:
msg = self.label_msgs[sensor_key].image

elif sensor['modality'] in ['imu']:
msg = self.label_msgs[sensor_key] # No need to separate the data in the message for IMU

all_sensor_data_dict[sensor['_name']
] = message_converter.convert_ros_message_to_dictionary(msg)

Expand Down

0 comments on commit d534fcc

Please sign in to comment.