Simulation take off motion not vertical

I tried to remove the build folder
PX4-Autopilot/build
and then make px4_sitl gazebo
ref: Custom Gazebo PX4 Model in SITL - Compass Calibration Lost?
ref:Custom Gazebo PX4 Model in SITL - Compass Calibration Lost? - #3 by Christopher_Baker
However, it does not work.