how to subscribe with rosbridge
hello guys, i'm new at ros. i want to subscribe a topic to a webpage. i tried to do the following tutorial but subscribe part doesnt work. Should i add a label or something to view the subscription to the html file? here is the tutorial: http://wiki.ros.org/roslibjs/Tutorial...
what do you see in the browser console?
what do you mean by browser console? i just open html file.
You need to save the html code to a file, like "ros_test.html". Then open that file in your browser. You should see "Simple roslib Example. Check your Web Console for output". To see the console (in the Chrome browser): menu/more tools/javascript console. Other browsers will be similar.
oh "Received message on /listener: Hello wold" is written there thank you :) so the code is ok but how can i write it to a label?