Override sitl IMU values with externally simulated IMu values

Hi,
I am working on my own simulator for the sitl and I am not sure how to send my simulated IMU values to the sitl. I am doing it so that when my drone in the sim collides with my environment in the sim the sitl will take that feedback and behave accordingly. I am using mavros to communicate with the sitl. So, it would be great if there is a mavros or ros based solution to this issue. (I am not using gazebo for my sim environment)

Hi,

Did you find the answer? I need to do a very similar task and still looking how to accomplish that?

Thanks!