How to display a stream of terminal messages on a web GUI using roslibjs?
I'm putting together a web GUI using roslibjs
and would like to display the stream of terminal messages. I understand I can subscribe to these messages on the /rosout
topic but can someone provide a minimal working example of how to display these in the webpage?
Currently in my HTML I have:
<p>Terminal Message: {{ terminalMessage }}</p>
However, this is not picking up the terminal message from the Vue app
in my main.js
file. This is confusing because I have other data that can be binded in this way.
Do you mean the console (using the debug option within the browser?) or the actual terminal running on the server side (where the roscore is?)
I meant the server side where
roscore
is.