3 of 4
3
[Solved] TUIO: "too many arguments"
Posted: 23 February 2009 04:09 AM   [ Ignore ]   [ # 31 ]
Avatar
RankRankRankRankRankRank
Joined  2007-04-08
Total Posts:  2539
Dedicated

Martin, agreed. My reference to bbtouch and touchlib is not to lessen the effect of tbeta, it’s to bring awareness that there’s a global need for changes and that tbeta isn’t the misfit of the family of trackers lol as it sounded from the statements presented above. Touchlib has had these parameters for a little over a year or so. For a time, we (touchlib) were also sending pressure information, but had taken it out do to other issues.

 Signature 

MTmini, MTbiggie, & Audiotouch creator & Community Core Vision Co-founder

Follow on:
My Blog | Facebook | Twitter | Youtube

Profile
 
 
Posted: 23 February 2009 04:55 AM   [ Ignore ]   [ # 32 ]
Avatar
RankRankRank
Joined  2008-06-16
Total Posts:  330
Sr. Member
Seth (cerupcat) - 23 February 2009 04:09 AM

Martin, agreed. My reference to bbtouch and touchlib is not to lessen the effect of tbeta, it’s to bring awareness that there’s a global need for changes and that tbeta isn’t the misfit of the family of trackers lol as it sounded from the statements presented above. Touchlib has had these parameters for a little over a year or so. For a time, we (touchlib) were also sending pressure information, but had taken it out do to other issues.

Hello Seth,
I totally understand the need for an extension of the protocol, therefore I also started the initiative for TUIO2 which will hopefully solve all open problems and add some more flexibility for the future. Actually while working on TUIO2 we actually could imagine an intermediate TUIO 1.1 which defines an additional “Blob” profile.

In order to maintain backwards compatibility it is very important though to keep the currently defined profiles intact without any changes in the message formats.
An eventual additional blob profile for TUIO 1.1 would not break this rule, since TUIO 1.0 implementations would just ignore the extra OSC namespace. So maybe we could discuss this single intermediate extension, while TUIO 2.0 is still intended to address all mayor updates.

This for example would define the center point and an oriented enclosing ellipse of a blob
/tuio/2Dblb set s_id x_pos y_pos angle rad_a rad_b x_speed y_speed r_speed m_accel r_accel

This simpler example would define the center point and simple bounding box of a blob.
/tuio/2Dblb set s_id x_pos y_pos width height x_speed y_speed m_accel

maybe this approach would solve the issue, while keeping TUIO 1.0 implementation completely intact ...
cheers,
Martin.K

 Signature 

TUIO community site: http://www.tuio.org
reacTIVision framework: http://reactivision.sf.net
TUIO & reacTIVision CVS: http://sf.net/projects/reactivision
reacTIVision forum: http://sf.net/apps/phpbb/reactivision

Profile
 
 
Posted: 23 February 2009 05:04 AM   [ Ignore ]   [ # 33 ]
Rank
Joined  2009-02-22
Total Posts:  5
New Member
Martin Kaltenbrunner - 23 February 2009 04:55 AM

This for example would define the center point and an oriented enclosing ellipse of a blob
/tuio/2Dblb set s_id x_pos y_pos angle rad_a rad_b x_speed y_speed r_speed m_accel r_accel

This simpler example would define the center point and simple bounding box of a blob.
/tuio/2Dblb set s_id x_pos y_pos width height x_speed y_speed m_accel

Just an observation - thanks to the flexibility of OSC you don’t need that much data, right? The cursor tracking has a ‘session id’, so you could simply send another message with the extra info in the same bundle, easy peasy!

/tuio/2Dext set s_id width height

-Keith

Profile
 
 
Posted: 23 February 2009 05:11 AM   [ Ignore ]   [ # 34 ]
Avatar
RankRankRank
Joined  2008-06-16
Total Posts:  330
Sr. Member
kzantow - 23 February 2009 05:04 AM

Just an observation - thanks to the flexibility of OSC you don’t need that much data, right? The cursor tracking has a ‘session id’, so you could simply send another message with the extra info in the same bundle, easy peasy!

/tuio/2Dext set s_id width height

Hello, I have to catch a flight, so I will answer later in more detail.
What you are proposing is already possible right now using the custom profile mechanism.
If done so, a blob profile would “backport” the idea of symbols, cursors and blobs from TUIO2, while keeping the original TUIO 1.0 structure intact.
And yes, if necessary one could use the same session_id in order to indicate that a blob is associated with another object or cursor.
hasta luego, Martin.K

 Signature 

TUIO community site: http://www.tuio.org
reacTIVision framework: http://reactivision.sf.net
TUIO & reacTIVision CVS: http://sf.net/projects/reactivision
reacTIVision forum: http://sf.net/apps/phpbb/reactivision

Profile
 
 
Posted: 27 February 2009 07:52 AM   [ Ignore ]   [ # 35 ]
Avatar
Rank
Joined  2008-08-20
Total Posts:  36
New Member

when i checkout the latest CVS, i have the problem that the files are in a “Mac File Format”, hence giving me loads of C4335 compiler errors. the “old” version from the 1.4pre2 file do not have that problem, but with them i’m getting the “list iterator cannot be dereferenced” assertion error when using touchlib or tbeta. i’m pretty sure i’m missing something obvious here.. any ideas?!

Profile
 
 
Posted: 27 February 2009 08:05 AM   [ Ignore ]   [ # 36 ]
Rank
Joined  2008-09-22
Total Posts:  19
New Member

spliff, if you just double-click on the “Mac File Formeat” error, the file will be opened and will ask you to convert it to windows format. Try to compile then wink

 Signature 

http://spherik.blogspot.com/

Profile
 
 
Posted: 27 February 2009 08:21 AM   [ Ignore ]   [ # 37 ]
Avatar
RankRankRank
Joined  2008-06-16
Total Posts:  330
Sr. Member
spliff - 27 February 2009 07:52 AM

when i checkout the latest CVS, i have the problem that the files are in a “Mac File Format”, hence giving me loads of C4335 compiler errors. the “old” version from the 1.4pre2 file do not have that problem, but with them i’m getting the “list iterator cannot be dereferenced” assertion error when using touchlib or tbeta. i’m pretty sure i’m missing something obvious here.. any ideas?!

Oops, which files do you mean exactly? everything in the reacTIVision CVS? parts of reacTIVision? or the TUIO client implementations?
I reckon you mean the TUIO clients, since you use it together with tBeta ... I could fix it with some more specific hints.
basically I am developing on the Mac , but I do not see these problems when checking out on Ubuntu or XP ...
I hope we can solve that, Martin.K

 Signature 

TUIO community site: http://www.tuio.org
reacTIVision framework: http://reactivision.sf.net
TUIO & reacTIVision CVS: http://sf.net/projects/reactivision
reacTIVision forum: http://sf.net/apps/phpbb/reactivision

Profile
 
 
Posted: 27 February 2009 08:25 AM   [ Ignore ]   [ # 38 ]
Avatar
Rank
Joined  2008-08-20
Total Posts:  36
New Member

thank you both for your fast reply. i’m using some of the TUIO_CPP files for my own TUIO C++ parser application. my visual studio 2008 express does not seem to be able to “convert” the files even when i’m opening them.

Profile
 
 
Posted: 27 February 2009 08:31 AM   [ Ignore ]   [ # 39 ]
Avatar
RankRankRank
Joined  2008-06-16
Total Posts:  330
Sr. Member
spliff - 27 February 2009 08:25 AM

thank you both for your fast reply. i’m using some of the TUIO_CPP files for my own TUIO C++ parser application. my visual studio 2008 express does not seem to be able to “convert” the files even when i’m opening them.

OK, I will check and fix that on the weekend.
In general your CVS client should take care of these conversions,
but it is also quite probably that I missed something here wink
thanks, Martin.K

 Signature 

TUIO community site: http://www.tuio.org
reacTIVision framework: http://reactivision.sf.net
TUIO & reacTIVision CVS: http://sf.net/projects/reactivision
reacTIVision forum: http://sf.net/apps/phpbb/reactivision

Profile
 
 
Posted: 05 March 2009 09:50 PM   [ Ignore ]   [ # 40 ]
Avatar
RankRank
Joined  2008-04-27
Total Posts:  150
Member

Thanks Spherik, Double-Clicking the errors and saving as Windows format solves the problem.  Right now, I’m trying to compile SimpleSimulator, but i’m getting linking errors with glut32.lib, SDL.lib and SDLmain.lib.  I’m using VS2008 to compile.  I’m getting errors like this:  “fatal error LNK1107: invalid or corrupt file: cannot read at 0xA80F” I’ve already made sure the libraries are added in the link directory.  Any ideas?

 Signature 

Pissed Right Off Genetically Engineered Nerd
ProgenLabs.com

Profile
 
 
Posted: 05 March 2009 10:06 PM   [ Ignore ]   [ # 41 ]
Avatar
RankRank
Joined  2008-04-27
Total Posts:  150
Member

ok i found a workaround, apparently, i had to replace the sdl library folder files with an older version from your old TUIO_CPP project.

 Signature 

Pissed Right Off Genetically Engineered Nerd
ProgenLabs.com

Profile
 
 
Posted: 06 March 2009 12:21 AM   [ Ignore ]   [ # 42 ]
Avatar
RankRank
Joined  2008-04-27
Total Posts:  150
Member

Hi Martin,

I was wondering if you have any plans on including RFID data into TUIO?

 Signature 

Pissed Right Off Genetically Engineered Nerd
ProgenLabs.com

Profile
 
 
Posted: 06 March 2009 03:37 AM   [ Ignore ]   [ # 43 ]
Avatar
RankRankRank
Joined  2008-06-16
Total Posts:  330
Sr. Member
Progen - 05 March 2009 09:50 PM

Thanks Spherik, Double-Clicking the errors and saving as Windows format solves the problem.  Right now, I’m trying to compile SimpleSimulator, but i’m getting linking errors with glut32.lib, SDL.lib and SDLmain.lib.  I’m using VS2008 to compile.  I’m getting errors like this:  “fatal error LNK1107: invalid or corrupt file: cannot read at 0xA80F” I’ve already made sure the libraries are added in the link directory.  Any ideas?

OK, I have to check that. Maybe I messed all the files with mac line breaks and some of the binary files are not marked as such.
If, so I’ll fix it asap. Sorry for the inconvenience.

 Signature 

TUIO community site: http://www.tuio.org
reacTIVision framework: http://reactivision.sf.net
TUIO & reacTIVision CVS: http://sf.net/projects/reactivision
reacTIVision forum: http://sf.net/apps/phpbb/reactivision

Profile
 
 
Posted: 06 March 2009 03:41 AM   [ Ignore ]   [ # 44 ]
Avatar
RankRankRank
Joined  2008-06-16
Total Posts:  330
Sr. Member
Progen - 06 March 2009 12:21 AM

I was wondering if you have any plans on including RFID data into TUIO?

If you consider that an RFID tag is just an electronic tag with an ID number, you already can use TUIO for RFID as well.
TUIO2 will include additional type and data attributes, which will allow you to identify RFID tags as such (or any other marker type) and also to transmit the content of an RFID tag with memory.

 Signature 

TUIO community site: http://www.tuio.org
reacTIVision framework: http://reactivision.sf.net
TUIO & reacTIVision CVS: http://sf.net/projects/reactivision
reacTIVision forum: http://sf.net/apps/phpbb/reactivision

Profile
 
 
Posted: 06 March 2009 10:54 AM   [ Ignore ]   [ # 45 ]
Avatar
Rank
Joined  2008-08-20
Total Posts:  36
New Member

short update on my problem(s):
the “list iterator cannot be dereferenced” thing was a (debug) assertion error that i was not able to fix by myself for now. so i compiled the stuff as “release version” (no debug assertions), and it seems to run stable. i dont like certain assertions, hehe - my fault. but my tuioClient is running now, thanks again to everyone involved in the tuio protocol and this thread.

Profile
 
 
   
3 of 4
3