Hello! Big fan of judo, been considering making something similar myself. I've only had a brief look at the code but it seems that currently judo is built around mostly using it as an online and real time ROS-style node environment for deploying and testing sampling based MPC.
For both development/debugging sampling based MPC and for sampling based trajopt which doesn't require a real time sim, sometimes it's useful to have more raw access to the visualiser which is updated with whatever you feel like visualising in the algorithm loop, similar to mujoco's passive visualiser. However the mj passive visualiser is very low level, both graphically and visualisaiton data wise, and does not have the benefits of web based GUI (personally I can't get it to work over ssh due to Wayland issues with glfw).
While the Viser GUI class seems fairly well separated from the rest of the code to the point you could just import judo.visualizers.model and use it yourself with your own Viser loop, it might be a bit yucky to import internals and be prone to breakage in the future.
Is there plans to decouple the Viser GUI, make the API public facing and support a judo passive visualiser as an actual usecase?
Hello! Big fan of judo, been considering making something similar myself. I've only had a brief look at the code but it seems that currently judo is built around mostly using it as an online and real time ROS-style node environment for deploying and testing sampling based MPC.
For both development/debugging sampling based MPC and for sampling based trajopt which doesn't require a real time sim, sometimes it's useful to have more raw access to the visualiser which is updated with whatever you feel like visualising in the algorithm loop, similar to mujoco's passive visualiser. However the mj passive visualiser is very low level, both graphically and visualisaiton data wise, and does not have the benefits of web based GUI (personally I can't get it to work over ssh due to Wayland issues with glfw).
While the Viser GUI class seems fairly well separated from the rest of the code to the point you could just import judo.visualizers.model and use it yourself with your own Viser loop, it might be a bit yucky to import internals and be prone to breakage in the future.
Is there plans to decouple the Viser GUI, make the API public facing and support a judo passive visualiser as an actual usecase?