Difference between revisions of "Robotino Web Interface"

From RobotinoWiki
Line 2: Line 2:
 
Robotino Web Interface provides a convenient way to remote control Robotino, execute Roboview programs, and even do mapping and navigation tasks. The Web Interface can be used with any modern browser without any plugin, and therefore also on smartphones and tablets.<br/>
 
Robotino Web Interface provides a convenient way to remote control Robotino, execute Roboview programs, and even do mapping and navigation tasks. The Web Interface can be used with any modern browser without any plugin, and therefore also on smartphones and tablets.<br/>
 
The main functionalities include:
 
The main functionalities include:
# Remote Control.<br/>Command the movement of Robotino in either Velocity Mode or Distance Mode. Pictures from the camara and distances measured by the IR sensors are also displayed.<div align=center>[[Image:Robotino_Web_Interface.png|Thumb|800px|Robotino Web Interface]]</div>
+
# Remote Control.<br/>Command the movement of Robotino in either Velocity Mode or Distance Mode. Pictures from the camera and distances measured by the IR sensors are also displayed.<div align=center>[[Image:Robotino_Web_Interface.png|Thumb|800px|Robotino Web Interface]]</div>
 
# Mapping and Navigation.<br/> Based on SmartSoft and SmartMDS, Robotino (with a laser rangefinder) can perform mapping and navigation tasks out of the box, using purely the Web Interface. <div align=center>[[Image:factory4.png|Thumb|800px|Robotino Web Interface]]</div>
 
# Mapping and Navigation.<br/> Based on SmartSoft and SmartMDS, Robotino (with a laser rangefinder) can perform mapping and navigation tasks out of the box, using purely the Web Interface. <div align=center>[[Image:factory4.png|Thumb|800px|Robotino Web Interface]]</div>
 
# Run RoboView Programs.<br/> RoboView programs can be easily uploaded and executed. <div align=center>[[Image:Programview.png|Thumb|800px|Robotino Web Interface]]</div>
 
# Run RoboView Programs.<br/> RoboView programs can be easily uploaded and executed. <div align=center>[[Image:Programview.png|Thumb|800px|Robotino Web Interface]]</div>
Line 9: Line 9:
 
==Build Webpages from Source==
 
==Build Webpages from Source==
 
Robotino Web Interface is pre-installed on Robotino® 3. Nevertheless, it can be built and installed from source as instructed [http://wiki.openrobotino.org/index.php?title=Robotino_Web_Interface_build here].
 
Robotino Web Interface is pre-installed on Robotino® 3. Nevertheless, it can be built and installed from source as instructed [http://wiki.openrobotino.org/index.php?title=Robotino_Web_Interface_build here].
 
Robotino Web Interface consists of the server part and the webpages. The server part, mainly Fcgid, is part of [http://wiki.openrobotino.org/index.php?title=API2_source_build#Step_3:_Build_Robotino_Daemons Robotino Daemons]. The webpages are based on [http://www.smartclient.com/product/smartgwt.jsp SmartGWT] and are developed as a seperate project. The source can be found at [http://svn.openrobotino.org/smartgwt/tags/ SVN]. It is recommonded to check out the latest tag.
 
 
Note: The compiled webpages are already included in the SVN repository. Therefore if you are not going to make any change, then there is no need to build the project by yourself (can go to Deploy section directly).
 
 
===Setup Eclipse===
 
* Install Eclipse (http://www.eclipse.org/downloads/).
 
* Install Google Plugin for Eclipse (https://developers.google.com/eclipse/docs/download).
 
 
===Build===
 
* Import project to your workspace
 
* Set classpath for smartgwt.jar and smartgwt-skin.jar (Project->Properties->Java Build Path->Libaries). These jar files can be found at the root directory of the project.
 
* GWT compile project
 
 
===Deploy===
 
* Set environment variable ROBOTINO_WAR_DIR as the full path of the "war" folder.
 
*      Then build and install Robotino Daemons as instructed in [http://wiki.openrobotino.org/index.php?title=API2_source_build#Step_3:_Build_Robotino_Daemons Build Robotino Daemons]. It will copy the whole "war" folder into the server host directory (/var/www/).
 
*      (NOT recommended) Instead of the two steps above, you could also manually copy the "war" folder into the server host directory (/var/www/).
 

Revision as of 11:15, 19 October 2015

Introduction

Robotino Web Interface provides a convenient way to remote control Robotino, execute Roboview programs, and even do mapping and navigation tasks. The Web Interface can be used with any modern browser without any plugin, and therefore also on smartphones and tablets.
The main functionalities include:

  1. Remote Control.
    Command the movement of Robotino in either Velocity Mode or Distance Mode. Pictures from the camera and distances measured by the IR sensors are also displayed.
    Robotino Web Interface
  2. Mapping and Navigation.
    Based on SmartSoft and SmartMDS, Robotino (with a laser rangefinder) can perform mapping and navigation tasks out of the box, using purely the Web Interface.
    Robotino Web Interface
  3. Run RoboView Programs.
    RoboView programs can be easily uploaded and executed.
    Robotino Web Interface
  4. Inspection and Configuration.
    Using the Web Interface, battery info and other status of Robotino can be inspected. network and other settings can be modified.

Build Webpages from Source

Robotino Web Interface is pre-installed on Robotino® 3. Nevertheless, it can be built and installed from source as instructed here.