carzum / termviz

ROS visualisation on the terminal
MIT License
385 stars 22 forks source link

Improve behavior of main() in error cases. #67

Closed MichaelGrupp closed 1 year ago

MichaelGrupp commented 1 year ago

Propagate config error instead of panicking in unwrap():

The main function returns a result, so if we return Err it will be printed a bit more pretty than if we panic.

Relax busy wait for transform:

If the transform was not available, termviz used to hang with 100% CPU usage. Added a sleep to quick-fix this until we have a better solution.

MichaelGrupp commented 1 year ago

Done. Ticket: https://github.com/carzum/termviz/issues/68