filled in missing code for center sensor in sensors.c