How to know the vector of force when my model collides a wall
I want to make a simulation in Gazebo about what will happen when a satellite hit an irregular objection like a comet in space. I used the "spacedyn" in MATLAB to calculate the dynamics of satellite. But "spacedyn" needs to know the force when satellite hit the objection. I don't know how to get the force from Gazebo. However, it seems like that Gazebo won't return the collision force.
There is a function in Gazebo API that gives you a vector of the force applied to the link.