Smartcar Shield
Loading...
Searching...
No Matches
HeadingSensor.hpp
Go to the documentation of this file.
1
6#pragma once
7
9{
10public:
11 virtual ~HeadingSensor() = default;
12
22 virtual int getHeading() = 0;
23
36 virtual void update() = 0;
37};
A heading sensor is an interface that can represent all sensors which can provide the vehicle's headi...
virtual int getHeading()=0
Returns the current heading of the vehicle.
virtual void update()=0
Updates the sensor's readings.
virtual ~HeadingSensor()=default