Page 1 of 1

Ventuz Osc/Tuio

Posted: 14 Nov 2012, 13:47
by mofo7777
Hello.

Sending Tuio data with double value instead of float value seems to crash the Ventuz's UdpReader (64bits version 3.07).

Re: Ventuz Osc/Tuio

Posted: 15 Nov 2012, 00:59
by TobiTobsen
Hi mofo,
the tuio specs defines float values or int, but no double values.
The OSC receiver needs to parse the incoming data and expects, depending on the first string sent in the message (e.g. set, fseq etc), one ore more values of a certain data type.
If a value is sent in a different data type than defined in the specs, an error will happen. The best would be a perfectly catched and handled exeption :-).

Cheers!

Re: Ventuz Osc/Tuio

Posted: 16 Nov 2012, 11:21
by mofo7777
Hello.

In fact i don't speak about my program that doesn't handle the error. I speak about Ventuz that stops responding after receiving tuio double value.

Re: Ventuz Osc/Tuio

Posted: 16 Nov 2012, 15:44
by TobiTobsen
Hi,
sure, I know.
What I tried to say is, if it sends double values, its no TUIO standard. With this its fair enough if a tuio client can not handle that.
Sure it would be better if the exception would be handled and not result in a crashing application.

Cheers!

Re: Ventuz Osc/Tuio

Posted: 10 Dec 2012, 12:57
by mofo7777
Hello.

Here is a sample to reproduce the bug.
TuioBugSample.vza
Sample Bug Vza
(5.96 KiB) Downloaded 543 times
Load the archive. Turn on input diagnostics.

Try these sequences on input methods :

- LaunchTuioFloat.
- StopTuioFloat.
- SendAlive.
- LaunchTuioFloat.
- StopTuioFloat.
- SendAlive.
... (you can do it as you want).

Then :

- LaunchTuioDouble.
- StopTuioDouble.
... (nothing happens)
- LaunchTuioFloat.
- StopTuioFloat.
... (doesn't work anymore).


Best regards.