initialize altimeter outside of socket connect