Python Forum
Traffic simulation - stopping a car
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Traffic simulation - stopping a car
#1
Hey, I am just wondering how I might simulate an automobile traffic situation. For example, driving down a road, encountering an obstacle (maybe a stopped vehicle) and the simulating the 'normal' reaction time to bring one's vehicle to a stop. This could even be very abstract with vector line drawing or, instead, realistic with planes that are painted with photographic images. I would like to start with this scenario: a curvy road that changes altitude (mountain driving) and encounter a 'deer' on the road. That kind of thing. What was the drivers view of the obstacle. When will the car stop given normal human reaction time? I am also wondering about the 'clock' aspect of this. Will my CPU steal clock cycles and make the timing unreliable? Is there a workaround for this? Just wondering how you all might think of this. Is this a good Python project?
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020