Classes | Functions | Variables
rwt_config_generator Namespace Reference

Classes

class  RWTConfig

Functions

def double
def quote

Variables

string BASIC_FRAME
string BSON_HEADER = 'js-bson/current/bson.min.js'
list COLLADA_HEADERS = ['threejs/current/ColladaLoader.min.js', 'ColladaAnimationCompress/current/ColladaLoader2.min.js']
string INCLUDE_TEMPLATE = '<script type="text/javascript" src="http://cdn.robotwebtools.org/%s"></script>'
string OBJECT_TEMPLATE = """%(comment)s var %(name)s = new %(type)s(%(dict)s);\n\n"""
list REQUIRED_HEADERS
string SCRIPT

Function Documentation

Definition at line 61 of file __init__.py.

Definition at line 53 of file __init__.py.


Variable Documentation

Initial value:
00001 """<!DOCTYPE html>
00002 <html>
00003 <head>
00004 <meta charset="utf-8" />
00005 
00006 %(headers)s
00007 
00008 <script type="text/javascript">
00009 %(main_script)s
00010 </script>
00011 </head>
00012 
00013 <body onload="init()">
00014   <div id="%(div_id)s"></div>
00015 </body>
00016 </html>
00017 """

Definition at line 3 of file __init__.py.

string rwt_config_generator::BSON_HEADER = 'js-bson/current/bson.min.js'

Definition at line 27 of file __init__.py.

list rwt_config_generator::COLLADA_HEADERS = ['threejs/current/ColladaLoader.min.js', 'ColladaAnimationCompress/current/ColladaLoader2.min.js']

Definition at line 26 of file __init__.py.

string rwt_config_generator::INCLUDE_TEMPLATE = '<script type="text/javascript" src="http://cdn.robotwebtools.org/%s"></script>'

Definition at line 21 of file __init__.py.

string rwt_config_generator::OBJECT_TEMPLATE = """%(comment)s var %(name)s = new %(type)s(%(dict)s);\n\n"""

Definition at line 51 of file __init__.py.

Initial value:
00001 ['threejs/current/three.min.js', 'EventEmitter2/current/eventemitter2.min.js', 
00002                     'roslibjs/current/roslib.min.js', 'ros3djs/current/ros3d.min.js']

Definition at line 23 of file __init__.py.

Initial value:
00001 """
00002   /**
00003    * Setup all visualization elements when the page is loaded.
00004    */
00005   function init() {
00006     // Connect to ROS.
00007     var ros = new ROSLIB.Ros({
00008       url : 'ws://%(host)s:9090'
00009     });
00010 
00011     // Create the main viewer.
00012     var viewer = new ROS3D.Viewer({
00013       divID : '%(div_id)s',
00014       width : %(width)d,
00015       height : %(height)d,
00016       antialias : true
00017     });
00018 
00019 %(objects)s
00020   }
00021 """

Definition at line 29 of file __init__.py.



rwt_config_generator
Author(s):
autogenerated on Thu Jun 6 2019 21:22:42