Changed flow charts and added get angle sensor