ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

problem with roslib

asked 2015-04-05 14:13:38 -0500

ahmedx724 gravatar image

i try to excute the script simple.html from robridge tutorial page. i have this error :

ReferenceError: ROSLIB is not defined

simple.html: in line 11

edit retag flag offensive close merge delete

Comments

Please edit your question to provide more details. You should include things such as links to the tutorial, versions of tools you're running and instructions how to reproduce your problem. Seehttp://wiki.ros.org/Support

tfoote gravatar image tfoote  ( 2015-04-05 15:11:29 -0500 )edit

I am having the same problem.

Indigo, Ubuntu 14.04, Firefox 44.0.2 Tutorial simple.html can be found at https://github.com/RobotWebTools/rosl...

The Firefox webconsole reports; ReferenceError: ROSLIB is not defined (simple.html line)

salsalam gravatar image salsalam  ( 2016-03-08 11:08:30 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-03-08 12:36:37 -0500

rtoris288 gravatar image

Did you download the roslibjs repository from source? The example file attempts to load the JS file locally from the source build. If you are trying to copy-and-paste the example and run it without the source code, you can change line 6 of the example to include the following:

<script src="http://cdn.robotwebtools.org/roslibjs/current/roslib.min.js"></script>

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-04-05 14:13:38 -0500

Seen: 2,999 times

Last updated: Mar 08 '16