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/Tutorials/BasicRosFunctionality
Originally posted by minerva on ROS Answers with karma: 18 on 2015-05-03
Post score: 0
Original comments
Comment by corb on 2015-05-03:
what do you see in the browser console?
Comment by minerva on 2015-05-04:
what do you mean by browser console? i just open html file.
Comment by corb on 2015-05-04:
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.
Comment by minerva on 2015-05-05:
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?