Hi,

for comparing values coming from a Syskit::OutputReader with other static values given by a ruby object, I need to get the type returned by the reader.
If I call #.port.type I get e.g:
#<Typelib::CompoundType: /base/samples/RigidBodyState_m>

Where do I find these CompoundTypes if I want to create my own objects in ruby (something like Typelib::CompoundType::Base::Samples::RigidBodyState.new())? This also applies if I want to give a sample to a writer without getting the object from #new_sample.

Kind regards,
Christian


--
 Christian Rauch
 Space Robotics

 Universität Bremen
 FB 3 - Mathematik und Informatik
 AG Robotik
 Robert-Hooke-Straße 1
 28359 Bremen, Germany

 Zentrale: +49 421 178 45-6611

 Besuchsadresse der Nebengeschäftstelle:
 Robert-Hooke-Straße 5
 28359 Bremen, Germany

 Tel:     +49 421 178 45-6619
 Empfang: +49 421 178 45-6600
 Fax:     +49 421 178 45-4150
 E-Mail:  christian.ra...@dfki.de

 Weitere Informationen: http://www.informatik.uni-bremen.de/robotik


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Rock-dev mailing list
Rock-dev@dfki.de
http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev

Reply via email to