Implemented sensor-based parking function