Main > Lightguns
Updated IR light gun Arduino sketch
<< < (2/4) > >>
samco:
Nice work JayBee, just had a proper look through your code theres some really cool stuff in there. I don't think I'll be implementing any of it in my code  (apart from taking out the delays which in hindsight should have been a no brainer :) ) just because I want to keep my code as simple as possible for the your average DIYer so if they having any hic-cups I can easily help them out. But it's great to have a place for all these extra features for more advanced coders. Cheers Man.
JayBee:
Thanks Samco,
Yes it's nice to leave the option open for everyone ;)
By the way, I figured out how to get a 4 points setup, with the IR camera we have it looks like it's even more simple and reliable than with the wiimote.
Now I just need to learn some more math and 2D to 3D space coordinates calculation (which is my weakness) to code that  ::)
If you have any good docs on the subject, that would be awesome  :laugh:
JayBee:
After a lot of investigation, it seems that without tilt/gravity sensor, the 4 IR point system seems very hard to do, it would especially limit the tilt we can actually do with the gun.
I will see into it a bit more, see how bad it would be.
lightgungamer:
Oh no. What’s the challenge with it?  Is it losing sight of points?

I would say that having it be accurate when you moved a bit (where you stand) would be more important than being able to tilt the gun if that makes a difference.
lightgungamer:
Did you say you had another solution in mind as well?
Navigation
Message Index
Next page
Previous page

Go to full version