View Full Version : Controlling RS application via Python : Starting point
powerslave
April 27th, 2010, 15:44
I am planning to control a RS application from Python (mainly camera controls).
Looking at the RS documentation, I am a bit lost where to start to dig in.
- Is the WebService or the JavaScript documentation part the right spot to start?
- Are there any existing examples of how to go from Python to RS?
- Is it possible to send commands directly as HTTP requests to the webserver? Where would I find more documentation on this?
Any help is highly appreciated
Best
Andi
ak
April 28th, 2010, 14:16
Hi Andi,
- Is the WebService or the JavaScript documentation part the right spot to start?
It is up to you what API you prefer. The WebService API already comes with pre-defined user commands, that might make it easier for RealitySerer newbies to setup their own application. It also has Flex examples inherited, while the JavaScript tutorial applications from RealityServer 3.0 distribution are written in JavaScript only. In general both categories are based on features, that are collected in RealityServer JavaScript API Reference.
- Are there any existing examples of how to go from Python to RS?
With RealityServer 3.0 distribution provides application examples written in JavaScript, Flex and C++ only.
- Is it possible to send commands directly as HTTP requests to the webserver? Where would I find more documentation on this?
The HTTP and RTMP connection concepts and needs are documented in the JavaScript API. For example the following section may be of interest in particular: RealityServer Configuration.
Best regards.
wolever
July 22nd, 2010, 21:17
Hey,
I'm going to be doing some interfacing with RealityServer from Python… Give me a shout — @wolever on Twitter or david@wolever[.]net — and maybe we can help each other out.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.