Quantcast
Channel: All LabVIEW posts
Viewing all articles
Browse latest Browse all 202521

Re: Race Car Project

$
0
0

OllyT wrote:

What version of LabVIEW are you using?

 

I've done a quick demo program for you (in LV 2013) that would show a few of the techniques I might use to do such a task.

The program will allow you to simulate both cars passing the line. Then it will keep count of the number of laps and the start/finish time. From this you could calculate who won the race.

 

The issue I see you'll probably have is how do you determine which car passed the sensor? By colour? Also, what happens if two pass the sensor at the same time? 

Either way, hopefully my demo might put you on the right path.

 

Olly


 

Hi Olly, as for what version I am using, I am not really sure. I use our school's computer which has the software already installed. I do not have the software on my personal computer yet.

 

I'd check your demo program tomorrow, and thank you so much. I will test it out and see what I could possibly do.

 

As for the sensor part, I believe you misunderstood my point. I will have 2 photo gate sensors (one for each car), therefore, there will be 2 main parts in my program. However, worst case scenario is that I'm unable to do that and will be forced to use 2 computers, and simply determine the winner manually by comparing the results ourselves. 

 

My teacher had a better and simpler suggestion, is to simply let the photo gate sensor count how many times a car has passed and the first car to finish the 5 laps will be the winner. But I feel like sticking to my original plan.


Viewing all articles
Browse latest Browse all 202521

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>