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

How to run Robot web tools at Non Internet environment?

asked 2019-03-19 17:29:55 -0500

yoshiros gravatar image


I am trying to create some widgets for RobotWebTools to monitor/control my robot on the Web browser remotely. According to the nav2djs(one of the widgets of the RobotWebTools) tutorial, the HTML code was shown. So, I decided to use this code as a Base and modify for my original. The code includes the line as below.
My robot and other equipment such as laptop and tablet are all connected in the same Network. However, it is not connected to the Internet. It means all ".js" files cannot import from http://cdn~~~ .
I sought for each JS file in order to download and place at the same directory as the HTML file. However, I couldn't find most of those. Does anyone have some solution of this?

Thank you in advance.

<script type="text/javascript" src=""></script>
<script type="text/javascript" src=""></script>
<script type="text/javascript" src=""></script>
<script type="text/javascript" src=""></script>
<script type="text/javascript" src=""></script>
edit retag flag offensive close merge delete



Oh! I have just forgotten the wonderful command in Ubuntu "wget" till your comment. Thanks!

yoshiros gravatar image yoshiros  ( 2019-03-19 21:10:48 -0500 )edit

Mind closing the issue then if you fixed the issue?

stevemacenski gravatar image stevemacenski  ( 2019-03-19 21:23:40 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2019-03-19 21:30:52 -0500

yoshiros gravatar image

updated 2019-03-20 10:50:41 -0500

Simple solution. Download JS's by 'wget' command and change the pass in the code.
CDN server is stopping now for some reason. The solution is to change "cdn" to "static".
Download example(download to the same directory as HTML file)

$ wget -p /home/common/htmls ""

and change the line from

<script type="text/javascript" src=""></script>


<script src="easeljs.min.js"></script>


Reference. How to download in Ubuntu terminal: "How to download a file from a website via terminal?"

edit flag offensive delete link more

answered 2019-03-19 19:46:55 -0500

Did you try downloading those files into your repo and changing the source address?

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2019-03-19 17:29:55 -0500

Seen: 682 times

Last updated: Mar 20 '19