HebiRobotics/hebi-cpp-examples

Create better error message when failing to open logs

Closed this issue · 0 comments

Currently, the examples that load log files (e.g., basic/command_velocity) do not check that the file was successfully loaded. This causes a nullptr reference exception in the case that there is no log file. We should handle this more gracefully.

(Note -- fixing this will help with customers experiencing #55, as the cause of the problem is more directly seen)