added trycatch to SensorObject::getDirection() to catch readResponse error, no handling of it tho