For example, an accelerometer can be used to determine your speed and a gyroscope to figure out your direction of travel.
Isibonelo, i-accelerometer ingasetshenziselwa ukucacisa isivinini sakho ne-gyroscope ukuthola indawo oya kuyo mawuhamba.