Difference between revisions of "Robotino Web Interface"

From RobotinoWiki
(Deploy)
(Deploy)
Line 26: Line 26:
 
* Set environment varible ROBOTINO_WAR_DIR as the full path of the "war" folder.
 
* Set environment varible 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/).
 
*      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 recommanded) Instead of the two steps above, you could also manually copy the "war" folder into the server host directory (/var/www/).

Revision as of 15:25, 25 February 2014

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, 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 camara 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 below.

Robotino Web Interface consists of the server part and the webpages. The server part, mainly Fcgid, is part of Robotino Daemons. The webpages are based on SmartGWT and are developed as a seperate project. The source can be found at 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

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 varible ROBOTINO_WAR_DIR as the full path of the "war" folder.
  • Then build and install Robotino Daemons as instructed in Build Robotino Daemons. It will copy the whole "war" folder into the server host directory (/var/www/).
  • (NOT recommanded) Instead of the two steps above, you could also manually copy the "war" folder into the server host directory (/var/www/).