Hello.
Sending Tuio data with double value instead of float value seems to crash the Ventuz's UdpReader (64bits version 3.07).
Hello Ventuzians!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
Ventuz Osc/Tuio
Moderator: Support
-
- Posts: 93
- Joined: 18 Jan 2012, 20:02
Re: Ventuz Osc/Tuio
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!
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!
http://www.radar-touch.com
http://www.prime-touch.com
Want to filter or transform TUIO data? http://code.google.com/p/tuiotoolbox/
Looking for a tool generating Testpattern for Softedge projections??? I can help: http://code.google.com/p/projection-calc/
http://www.prime-touch.com
Want to filter or transform TUIO data? http://code.google.com/p/tuiotoolbox/
Looking for a tool generating Testpattern for Softedge projections??? I can help: http://code.google.com/p/projection-calc/
Re: Ventuz Osc/Tuio
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.
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.
-
- Posts: 93
- Joined: 18 Jan 2012, 20:02
Re: Ventuz Osc/Tuio
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!
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!
http://www.radar-touch.com
http://www.prime-touch.com
Want to filter or transform TUIO data? http://code.google.com/p/tuiotoolbox/
Looking for a tool generating Testpattern for Softedge projections??? I can help: http://code.google.com/p/projection-calc/
http://www.prime-touch.com
Want to filter or transform TUIO data? http://code.google.com/p/tuiotoolbox/
Looking for a tool generating Testpattern for Softedge projections??? I can help: http://code.google.com/p/projection-calc/
Re: Ventuz Osc/Tuio
Hello.
Here is a sample to reproduce the bug. 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.
Here is a sample to reproduce the bug. 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.