so here is the video and the log of the flight
Pixhawk 2 cube orange
650mm frame size.
The copter is not holding altitude in alt hold mode and not holding position in loiter mode and also not holding position in position old on mode.
Have changed the parameters to set the GPS in CAN mode.