[Rock-dev] 3d point uncertainty

Alexander Duda Alexander.Duda at dfki.de
Fri Nov 8 11:02:14 CET 2013


On 11/08/2013 10:01 AM, Steffen Planthaber wrote:
> Hi,
>
> I don't know whether this works for the log player, but: Is it possible
> to create a new type including the uncertaincy by inheritance and the
> logs stay compatible when an implicit cast is possible?
This is not supported by log replay and as far as I rember also 
currently not by typlib.

>
> Writing an output with an implicit cast works, but i don't know
> currently whether RTT allows implicit casts for input ports (i.e.
> connecting a output port of the derived class to an input port of the
> base class. (I guess the log replaying is using ports, I never used int,
> yet)
This is currently not supported but there is a ticket for adding support 
for this,.
>
> If that works we could:
>
> a) Provide implicit casts
> and
> b) Reconsider the way we change base/types:
>
> 1: Use inheritance to introduce changes (same name for the class but
> different namespace like "changes", "adaptations", "upcoming", whatever)
>
> 2: After a reasonable time (TBD) both classes are merged and placed in
> the base::samples namespace. In this stage, the "old" inheritance
> structure (unmerged types) is moved to the backward compatibility and
> implicit casts are provided from and to the new type.
>
> Or am I missing something?
This is not covering cases where the meaning of fields were changed.
For example the coordinates are now stored in mm instead of meter.

Greets Alex
>
> Best, Steffen
>
>
> Am 07.11.2013 19:59, schrieb Sylvain Joyeux:
>> On 11/07/2013 07:57 PM, Alexander Duda wrote:
>>>    From my point of view it makes to add this kind of informations to the
>>> point cloud. The only problem we might get is that the log files are no
>>> longer compatible and must be updated.
>> This last point is something we need sorted out. We are talking for a
>> really long time now about updating some core types, so we REALLY need
>> to make sure that the infrastructure to update log files is foolproof.
>>
>> Sylvain
>> _______________________________________________
>> Rock-dev mailing list
>> Rock-dev at dfki.de
>> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
>>
>


-- 
Dipl.-Ing. Alexander Duda
Unterwasserrobotik

DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0)421 178-456620
Fax:   +49 (0)421 178-454150
E-Mail: alexander.duda 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