We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I am able to run and test kitti2bag by following instructions from here ( thanks to Magic-wei )and am able to get the bag file as expected.
But I am looking to test kitti2bag from the source code. Since i would like to modify the some part of code in kitti2bag.py
def save_gps_vel_data(bag, kitti, gps_frame_id, topic): for timestamp, oxts in zip(kitti.timestamps, kitti.oxts): twist_msg = TwistStamped() twist_msg.header.frame_id = gps_frame_id twist_msg.header.stamp = rospy.Time.from_sec(float(timestamp.strftime("%s.%f"))) Velocity to be published in Vehicle body coordinate, InsteaHello, def save_gps_vel_data(bag, kitti, gps_frame_id, topic): for timestamp, oxts in zip(kitti.timestamps, kitti.oxts): twist_msg = TwistStamped() twist_msg.header.frame_id = gps_frame_id twist_msg.header.stamp = rospy.Time.from_sec(float(timestamp.strftime("%s.%f"))) //Here Velocity to be published in Vehicle body coordinate, Instead of FLU coordinate (vn ve vu instead of vf vl vu) twist_msg.twist.linear.x = oxts.packet.vf twist_msg.twist.linear.y = oxts.packet.vl twist_msg.twist.linear.z = oxts.packet.vu twist_msg.twist.angular.x = oxts.packet.wf twist_msg.twist.angular.y = oxts.packet.wl twist_msg.twist.angular.z = oxts.packet.wu bag.write(topic, twist_msg, t=twist_msg.header.stamp)
Any help much appreciated.
Regards, Ajay
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I am able to run and test kitti2bag by following instructions from here ( thanks to Magic-wei )and am able to get the bag file as expected.
But I am looking to test kitti2bag from the source code. Since i would like to modify the some part of code in kitti2bag.py
Any help much appreciated.
Regards,
Ajay
The text was updated successfully, but these errors were encountered: