Drive-based safety functions