doc: how to compute yaw and pitch for ladder movement