Skip to content

why? #19

Description

@jiafengshen

root@huawei:~/project/robot/MM3DGS-SLAM# python3 scripts/bag2data.py --path ./datasets/UTMM_Dataset --scene ego-centric-1
bag_file_path: ./datasets/UTMM_Dataset/ego-centric-1/2024-01-31-17-16-48_0.bag
Topics in the bag file:
/imu/data
/imu/data_raw
/imu/mag
/imu_filter/parameter_descriptions
/imu_filter/parameter_updates
/microstrain/imu/data
/microstrain/mag
/microstrain/nav/filtered_imu/data
/microstrain/nav/heading
/microstrain/nav/heading_state
/microstrain/nav/odom
/microstrain/nav/status
/ouster/imu
/ouster/points
/ouster/range_image
/realsense/color/camera_info
/realsense/color/image_raw/compressed
/realsense/depth/camera_info
/realsense/depth/image_rect_raw
/tf
/tf_static
/vrpn_client_node/Jackal_Latest/accel
/vrpn_client_node/Jackal_Latest/pose
/vrpn_client_node/Jackal_Latest/twist
Reading camera intrinsics
Reading transformations
Traceback (most recent call last):
File "scripts/bag2data.py", line 175, in
read_bag(bag_file_path, rgb_path, depth_path)
File "scripts/bag2data.py", line 52, in read_bag
tf_listener = tf.TransformListener()
File "/opt/ros/noetic/lib/python3/dist-packages/tf/listener.py", line 367, in init
self._listener = tf2_ros.TransformListener(self._buffer)
File "/opt/ros/noetic/lib/python3/dist-packages/tf2_ros/transform_listener.py", line 54, in init
self.last_update = rospy.Time.now()
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/rostime.py", line 155, in now
return get_rostime()
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/rostime.py", line 190, in get_rostime
raise rospy.exceptions.ROSInitException("time is not initialized. Have you called init_node()?")
rospy.exceptions.ROSInitException: time is not initialized. Have you called init_node()?
Exception ignored in: <function TransformListener.del at 0x783ad7dbce50>
Traceback (most recent call last):
File "/opt/ros/noetic/lib/python3/dist-packages/tf2_ros/transform_listener.py", line 60, in del
self.unregister()
File "/opt/ros/noetic/lib/python3/dist-packages/tf2_ros/transform_listener.py", line 66, in unregister
self.tf_sub.unregister()
AttributeError: 'TransformListener' object has no attribute 'tf_sub'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions