I am integrating ROS2 with our tool using RTI DDS Python Connector. It is the best available API for use case and has brought extremely good results until now.
As we dig deeper into the performance side, we found some problems which I need to address :
Our application is time critical and this was the reason for opting to DDS.
endTime = icos.getEndTime()
print("endtime: ",endTime)
microsteps = int(endTime*100.0)
print("microsteps: ",microsteps)
sim_stepsize = icos.getModelDefsSpecial()['TimeStep']