Implementing auxiliary tools using Dynamic Data

2 posts / 0 new
Last post
Offline
Last seen: 6 years 1 month ago
Joined: 04/28/2013
Posts: 38
Implementing auxiliary tools using Dynamic Data

Hi,

Recently we've been writing applications based on dynamic topic discovery and creation of DataReaders/DataWriters working with Dynamic Data interface to implement tools similar to RTI Router and RTI Recorder.

I've been wondering if there are existing solutions such as those written in Java?

Have anyone had any experience with developing applications that listen on built-in "DCPSPublisher" and create DataReaders/DataWriters that use DynamicData with the TypeCode received from those topics?

I'm particularly interested in performance optimizations and good solutions for serializing/deserializing dynamic data objects

Thanks,

Michael

rip
rip's picture
Offline
Last seen: 10 hours 34 min ago
Joined: 04/06/2012
Posts: 324

Hi Michael,

See this blog post.  The described system is based on Java.  

The Serialization/Deserialization of the data (conversion from DynamicData into a POJO derived from IDL was something I'd done several years ago, but then lost the implementation in a system crash.  It used rtiddsgen to generate to/from DynamicData methods based on the IDL (the code was added to the templates and was generated as part of the TypeSupport.java file).

The point here is that this is absolutely do-able. 

If you'd like RTI to productise the work I've done, you can consider contacting your RTI account manager and start the discussion :)

rip