Skip to content
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

Show error message when data logger fails to write #75

Open
wants to merge 1 commit into
base: ros2
Choose a base branch
from

Conversation

Ryanf55
Copy link
Contributor

@Ryanf55 Ryanf55 commented Nov 29, 2024

Details

  • I observed the benchmarks failing to write the output csv, but no error reported
  • Now, an error is reported if it fails to write the data

New Behavior

$ ros2 launch terrain_planner_benchmark goaltype_benchmark.launch runs:=0
.... 

[terrain_planner_benchmark_node-2] Loading color layer from GeoTIFF file for gridmap
[terrain_planner_benchmark_node-2] Width: 559 Height: 495 Resolution: 10
[terrain_planner_benchmark_node-2] [DataLogger] Writing data to file! /home/ryan/Dev/terrain_nav_ws/install/terrain_planner/share/terrain_planner/../output/davosdorf_goal_benchmark.csv
[terrain_planner_benchmark_node-2] [DataLogger]: Failed to write to file: /home/ryan/Dev/terrain_nav_ws/install/terrain_planner/share/terrain_planner/../output/davosdorf_goal_benchmark.csv with error No such file or directory
[INFO] [terrain_planner_benchmark_node-2]: process has finished cleanly [pid 85063

* I observed the benchmarks failing to write the output csv, but no
  error reported
* Now, an error is reported if it fails to write the data

Signed-off-by: Ryan Friedman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant