diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-01-31 14:37:58 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-01-31 14:37:58 (GMT) |
commit | ad75ed68b80a32c1d9554eccc58e3db00dd657ac (patch) | |
tree | d111b24626b78688598dc9baee29215ec6b5c682 /apps/samples/vrml/viewer.html | |
parent | ae9000b37409a7e329e6f60ea0f2c57a88f481c9 (diff) | |
download | uscxml-ad75ed68b80a32c1d9554eccc58e3db00dd657ac.zip uscxml-ad75ed68b80a32c1d9554eccc58e3db00dd657ac.tar.gz uscxml-ad75ed68b80a32c1d9554eccc58e3db00dd657ac.tar.bz2 |
Enable pose publishing via websockets
Diffstat (limited to 'apps/samples/vrml/viewer.html')
-rw-r--r-- | apps/samples/vrml/viewer.html | 52 |
1 files changed, 27 insertions, 25 deletions
diff --git a/apps/samples/vrml/viewer.html b/apps/samples/vrml/viewer.html index 50a2fef..7a1bdb5 100644 --- a/apps/samples/vrml/viewer.html +++ b/apps/samples/vrml/viewer.html @@ -78,38 +78,40 @@ enableWebGL: true, enableSceneshots: false, enableDraggables: false, + enablePosePublishing: true, listNavigationStyle: true, treeNavigationStyle: true, listDirectory: "/hard_mp", imagePath: "/hard_mp/HARD_MP_VAL_000", imageFormat: "png", serverURL: "http://localhost:8082/vrml", + webSocketURL: "ws://localhost:8083/vrml", }); - var viewer2 = new VRMLViewer("scene2", { - pose: { - pitch : 0, - roll : 0, - yaw : 0, - zoom : 1, - x : 0, - y : 0, - z : 0, - autorotate : true - }, - height: 300, - width: 400, - enableMovies: true, - enableDND: false, - enableWebGL: false, - enableSceneshots: true, - enableDraggables: true, - listNavigationStyle: true, - treeNavigationStyle: true, - listDirectory: "/hard_mp", - imagePath: "/hard_mp/HARD_MP_VAL_000", - imageFormat: "png", - serverURL: "http://localhost:8082/vrml" - }); + // var viewer2 = new VRMLViewer("scene2", { + // pose: { + // pitch : 0, + // roll : 0, + // yaw : 0, + // zoom : 1, + // x : 0, + // y : 0, + // z : 0, + // autorotate : true + // }, + // height: 300, + // width: 400, + // enableMovies: true, + // enableDND: false, + // enableWebGL: false, + // enableSceneshots: true, + // enableDraggables: true, + // listNavigationStyle: true, + // treeNavigationStyle: true, + // listDirectory: "/hard_mp", + // imagePath: "/hard_mp/HARD_MP_VAL_000", + // imageFormat: "png", + // serverURL: "http://localhost:8082/vrml" + // }); }); </script> </head> |