carzum / termviz

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

Set default mode #89

Open ViktorWalter opened 1 year ago

ViktorWalter commented 1 year ago

I'd like to be able to run termviz such that the default mode is e.g. image - that is, without having to press the associated key (i). This is in order to be able to use termviz unattended. Is this possible to do from the config file?

carzum commented 1 year ago

Its currently not possible. But doable through an optional new parameter in the config.

Is it just about the image mode? I was thinking of factoring that out into a different crate. Similar to rosshow /topicname (https://github.com/dheera/rosshow) but using viuer (https://github.com/atanunq/viu) to render it.

I expermented with it in the carzum/viuier branch. People being interested in it might motivate me to write it :)

ViktorWalter commented 1 year ago

Thanks for the reply. From our perspective, it would be best if the initial setup wasn't exclusive to choosing the image mode. I wasn't aware of the existence of rosshow. Edit: I just tried rosshow and it doesn't work that well, at least in my use-case. I'll stick with termviz.