Drone moves from side to side instead of facing the waypoint in a mission

When I use AUTO.MISSION mode and pass waypoints through mavros using mavros/mission/push, the drone never passes through the points looking at them, but always goes through them looking at north.
Here I have an example, and it happens for all the waypoints.

However, if I create a mission via QGround everything works well.
Any ideas?

1 Like