New issue
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
How to record the ros bag file to use EVO ? #660
Comments
The only topic that would make sense here is /tf, if it contains what you want. Maybe you could try to load the trajectory of the frames that you are interested in? evo can load trajectories from the /tf topic, as explained in the Wiki: https://github.com/MichaelGrupp/evo/wiki/Formats#bag--bag2---ros1ros2-bagfile For example: |
Thank you for your reply! I changed my file to another one. also can you please tell me do I need to change the format of the file to TUM? when we need to use a TUM format file. here is my ros bag file and the error is: [ERROR] evo module evo.main_traj crashed - no logfile written (disabled) ` |
You wrote that you're using Ubuntu with ROS noetic, but the traceback shows Windows paths... You'll need a ROS1 installation with ROS noetic to be able to import rospy / tf2, as these modules are needed to load TF messages from bags. Normal topics should also work on Windows without a ROS installation. |
This Still does not work in Ubuntu environment, always showing this error [ERROR] evo module evo.main_traj crashed - no logfile written (disabled) |
Can you try to update evo to the latest version in your Ubuntu environment? (either There was a patch needed recently because of a change in the rosbags interface, this should fix your installation: ee3b7b8 |
I tried to Upgrade the Pkg and now its version is But I have another question I don't have a Ground truth topic nor have I generated it. |
A ground truth trajectory is a reference trajectory against which you compare your other trajectories. For example, a motion capture system can be used for ground truth. Or some precise GPS for outdoors. But all of this is highly dependent on your setup and your goals, plus you anyway have to do this yourself. |
i am using Ubuntu 20.04 LTS
RplidarA1 , IMU (mpu6050), in raspi -4
ROS Noetic
i have recorded my ros bag file last time and when i tried to
./record_tf_as_posestamped_bag.py --lookup_frequency 15 --output_topic run_1_pose --bagfile run_1.bag map base_link
it is just recording with irregular data inside not providing right data,
i think the problem could be with my ros bag file
my ros bag file includes topics like
/scan
,/tf
,imu
, i don't know which topics are required for converting intogeometry_msgs/PoseStamped, geometry_msgs/TransformStamped, geometry_msgs/PoseWithCovarianceStamped and nav_msgs/Odometry topics
i am trying to achieve the absolute error, and visualize the trajectory and RMSE values
The text was updated successfully, but these errors were encountered: