[Twisted-Python] www.lua.org with twisted.python

Sven-Erik Tiberg Sven-Erik.Tiberg at ltu.se
Tue Dec 2 15:27:44 EST 2008


Hi.
 
I know it now, put a completly wrong question on this forum.
 
The reason are that I'm looking for a protocol to exchange states of objects in 3D worlds ( web3d.org ) and simulation applications so it can form f.ex. driver simulators, flight simulators a.s.o.
In searching for a protocol that connect X3D sceens together, I found some X3D browsers that used custom defined protocols that are not open to make it possible to add other applications than the X3D browsers from the same company.
That's why I installed 2 of this browsers and protocol brokers in my systems to try them out and "sniff" the protocol using wireshark.
Found a chapter in wireshark describing a viewer for lua and assumed it was a networkprotocol, but so wrong I was.
Back to square one, in finding a protocol. Though there are the outdated protocol DIS ( Distributed Interactive Protocol ) defined in the X3D spec. the development for a new spec of protocol needs a boost.
Why bring twisted in to this, well there are a need for two lewel of distributed simulation, one in the same computer ( innerloop ) for fast resonse on stimuli on the model like a emidietly responce to turning of steeringwheel and one slower responce but more complex model ( outer loop ) like the responce of the car on the turning wheel with respect of suspension dynamic, wheel dynamic a.s.o. That need to transfere states over the network.
The innerloop could use python libs to read USB-streams from Human Interface Devices and make some calculations to send states to teh X3D model using twisted and a protocol. The other use of f.ex. twisted could be to interface a simulation engine like pyODE and more python libs or modelica.org or...
 
Have to search on for a usefull protocol, maybee xml based.
 
Thanks for the responces on my Q.
Have also asked at lua dev. group and their responce are the same, a bit negative compared to what I had hoped.
 
/bg
Sven-Erik

________________________________

From: twisted-python-bounces at twistedmatrix.com on behalf of Jarrod Roberson
Sent: Tue 12/2/2008 8:19 PM
To: Twisted general discussion
Subject: Re: [Twisted-Python] www.lua.org with twisted.python




On Tue, Dec 2, 2008 at 8:45 AM, Sven-Erik Tiberg <Sven-Erik.Tiberg at ltu.se> wrote:


	Hi
	
	Looking at lua as a possbile network protocol for distributed
	simulations.
	Anyone used www.lua.org <http://www.lua.org/>  in twisted.
	Pro and Con?


lua is another scripting language, more aimed at embedding than python.
so what you are asking doesn't make much sense. 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 6081 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20081202/efd97a52/attachment.bin 


More information about the Twisted-Python mailing list