Parse and write attitude information properly.