Closed ktkt2020 closed 3 years ago
I am facing the same issue here.
I have the same issue.
Adding the original _mergesort
function back to rosbag/bag.py
could temporarily help to show the Timeline (root permission required for the apt-installed ROS). Perhaps an adaptation of heapq.merge
might be required for ROS1's rqt_bag
.
I created a pull request with a fix: #93
It seems the
_mergesort
function in therosbag.bag
was replaced byheapq.merge
(https://github.com/ros/ros_comm/pull/2017). But in the current version https://github.com/ros-visualization/rqt_bag/blob/b36db71b0af957853a113b9336f5929a5c4d7fc3/rqt_bag/src/rqt_bag/bag_timeline.py#L273 and https://github.com/ros-visualization/rqt_bag/blob/b36db71b0af957853a113b9336f5929a5c4d7fc3/rqt_bag/src/rqt_bag/bag_timeline.py#L303 the old function was still called. This might cause the timeline to show incorrectly.