How to handle requesting home_position

why does gazebo simulator not automatically set home_position. how can i set home_position with mavros or directly with pxh>?