[Rock-dev] Create new instances of typelib classes in ruby
Christian Rauch
Christian.Rauch at dfki.de
Thu Feb 6 16:43:28 CET 2014
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.Rauch at dfki.de
Weitere Informationen: http://www.informatik.uni-bremen.de/robotik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4988 bytes
Desc: S/MIME Cryptographic Signature
Url : http://www.dfki.de/pipermail/rock-dev/attachments/20140206/ded6c9be/attachment.bin
More information about the Rock-dev
mailing list