URDF's floating joint not working in Gazebo

Hi,

There are many ways of doing this. I reccomend you to have a look at this simulation of Haro. Itrs a floating robot that can move in any direction and orientation, which seems what you want to accomplish here:

HARO GIT