Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Simulation and real life - add external disturbances

I'm trying to simulate my quadcopter in Gazebo using ROS Kinetic, but the problem is that the simulation is ideal and everything works perfectly, but when I go to the real life it doesn't work as expected.

That's why I'm trying to add noise to my quadcopter movements. For example, I would like to publish a sine movement in x and y axis and, over that, my control. So, I think that the solution would be 2 topics publishing in the same node (/cmd_vel) but with movements being added, I mean, not one topic publishing or the other. For example, if my noise is 1.5 in an instant and the control is -0.4, then what I want to publish in that instant is 1.1

How can I do that?