[Rock-dev] Inheritance in base/types - the natural way to go?
Sascha Arnold
sascha.arnold at dfki.de
Tue Apr 14 15:22:12 CEST 2015
Hi,
this normally means that the type has been altered. You can convert log
files containing types with an outdated definition using rock-convert to
the current one.
Best regards
Sascha
Am 14.04.2015 um 14:01 schrieb Javier Hidalgo Carrió:
> On 10.04.2015 21:02, Sylvain Joyeux wrote:
>>> This would help different data-type port connections by subtype
>>> polymorphism.
>> No it would not, because connections cannot currently be made between
>> ports of two different types.
>>
>> Let me say that again:
>> if you have OutputPort<A> and InputPort<B> with A != B (with !=
>> being defined strictly, not "can be converted to" but "is really
>> really the same") then RTT will not accept the connection
>>
>> Or, another way:
>> RTT port connections don't support data conversions
> Thanks for the explanation. It would explain this:
>
> typelib.rb:273:in `from_ruby': the types have the same name but
> different definitions: /base/samples/Joints <-> /base/samples/Joints
> (Typelib::ConversionToMismatchedType)
>
> Javier.
> _______________________________________________
> Rock-dev mailing list
> Rock-dev at dfki.de
> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
--
Sascha Arnold
Space & Underwater Robotics
Hauptgeschäftsstelle Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 1
28359 Bremen, Germany
Tel.: +49 421 178 45-4197
Zentrale: +49 421 178 45-0
Fax: +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen)
E-Mail: Sascha.Arnold at dfki.de
Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973
Steuernummer: 19/673/0060/3
-----------------------------------------------------------------------
More information about the Rock-dev
mailing list