This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Car: | |
def detect_lanes(self): | |
# Use computer vision to detect the lanes around the car. | |
def get_pending_collisions(self): | |
# Use computer vision to detect all objects moving toward the car (relative to the car's speed), and their relative speeds | |
return collisions | |
def get_current_direction(self): | |
# Returns the direction that the car is currently going in, as well as the forces being applied wherever relevant |