Hello after i running this command `geo@geo:rosrun allan_variance_ros allan_variance /home/geo/allan_ws/cooked.bag /home/geo/allan_ws/src/allan_variance_ros/config/xsens.yaml
i have this
[ INFO] [1693522390.065245857]: Computed 23 bins for sampling period 999.8 out of 4728000 measurements.
[ INFO] [1693522390.065276365]: Computed 23 bins for sampling period 999.9 out of 4728000 measurements.
[ INFO] [1693522390.124736774]: Total computation time: 727.674321 s
[ INFO] [1693522390.124794165]: Data written to allan_variance.csv
Hello after i running this command `geo@geo:rosrun allan_variance_ros allan_variance /home/geo/allan_ws/cooked.bag /home/geo/allan_ws/src/allan_variance_ros/config/xsens.yaml
i have this
[ INFO] [1693522390.065245857]: Computed 23 bins for sampling period 999.8 out of 4728000 measurements. [ INFO] [1693522390.065276365]: Computed 23 bins for sampling period 999.9 out of 4728000 measurements. [ INFO] [1693522390.124736774]: Total computation time: 727.674321 s [ INFO] [1693522390.124794165]: Data written to allan_variance.csv
but there is no csv or other file created.
allan_variance.txt AllanVarianceComputor.txt
Is there something wrong? Thanks in advance
EDIT
Running original.bag using
rostopic echo /imu/data
i had the following`
doing the same thing for the cooked bag i have data showing but after a time.Cooked rosbag info.
The new error
geo@geo-X570-GAMING-X:~/allan_ws$ rosrun allan_variance_ros allan_variance /home/geo/allan_ws/cooked.bag /home/geo/allan_ws/src/allan_variance_ros/config/xsens.yaml [ INFO] [1693563181.691655459]: Bag Folder = /home/geo/allan_ws/cooked.bag [ INFO] [1693563181.692535029]: Config File = /home/geo/allan_ws/src/allan_variance_ros/config/xsens.yaml [ INFO] [1693563181.692582439]: Bag filenames count: 1 [ INFO] [1693563181.692805242]: Successfully read config file: /home/geo/allan_ws/src/allan_variance_ros/config/xsens.yaml [ INFO] [1693563181.692833686]: imu_topic: /imu/data [ INFO] [1693563181.692877239]: imu_rate: 400 [ INFO] [1693563181.692898018]: measure_rate: 400 [ INFO] [1693563181.692914810]: sequence_time: 14400 [ INFO] [1693563181.692940599]: Batch computor constructed [ INFO] [1693563181.692955136]: Processing rosbag /home/geo/allan_ws/cooked.bag [ INFO] [1693563181.692971107]: Processing /home/geo/allan_ws/cooked.bag ... [ INFO] [1693563181.692988800]: Writing output to: /home/geo/allan_ws/cooked.bag/allan_variance.csv
[ERROR] [1693563181.693018898]: Could not open the file for writing: /home/geo/allan_ws/cooked.bag/allan_variance.csv
[ INFO] [1693563181.693045909]: Total computation time: 0.000599 s [ INFO] [1693563181.693060216]: Data written to allan_variance.csvwhy it tries to create csv inside the bag ? :confused: