Add interface SensorInterface with getSpeed method signature