I just returned from a long night’s work at our buildsite, and I am a little bugged. We have a limelight mounted to the mobile part of our hood, opposed to a fixed position. We did this recently, and I already like it much more; however, my distance calculations seem to be incredibly less accurate now.
I understand that if I am using a mobile limelight, all I have to do is try to bring the tY and tX to zero. Although true, I also need to account for hood’s angle based off of how far I am. The code I am using to generate this distance is as follows:
return (98.25 - self.llHeight) / (math.tan(math.radians(llAngle + self.getY())))
llAngle is the variable that is the physical angle of the hood relative to the ground. I can assure you this is accurate.
I would appreciate it if anyone who had any ideas on how I could account for the difference in my hood angle and shooter speed based off of how far I am, other than an actual, calculated distance would share them; or, if someone could explain what might be causing this distance inaccuracy.
P.S., I am considering area of the target. Is this a good idea?