Skip to content

Commit 49b6595

Browse files
committed
cras_bag_tools: filter_bag: ExportCmdVelToCSV: Fixed stamp.
1 parent b296380 commit 49b6595

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cras_bag_tools/src/cras_bag_tools/message_filters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2628,7 +2628,7 @@ def _get_fields(self):
26282628
def _msg_to_csv_row(self, topic, msg, stamp, header, tags):
26292629
msg_stamp = msg.header.stamp if msg._type == TwistStamped._type else stamp
26302630
twist = msg if msg._type == Twist._type else msg.twist
2631-
return msg_stamp, twist.linear.x, twist.angular.z
2631+
return msg_stamp.to_sec(), twist.linear.x, twist.angular.z
26322632

26332633

26342634
class ExportCameraInfoToYAML(MessageToYAMLExporterBase):

0 commit comments

Comments
 (0)