Update sensorbase.cpp