phrack / ShootOFF-legacy

An open source framework to enhance laser dry fire training.
BSD 4-Clause "Original" or "Old" License
30 stars 17 forks source link

Hits on targets not registering #129

Closed cbdmaul closed 9 years ago

cbdmaul commented 9 years ago

no-hits

With calibrated projector arena, hits clearly on targets are not registering. None of the shots shown registered a hit on the tree or the reset button.

I had trouble seemingly off and on and it didn't seem to be a projection alignment issue. I could hit all around and on targets sometimes without getting a registered hit.

phrack commented 9 years ago

This was reported to me via email as well. Out of curiosity, can you try click-to-shoot without the projector calibrated and see if it happens? Maybe it looks like there is a lock calibration wise but it resizes to 0 right before you hit "Stop Calibrating"?

cbdmaul commented 9 years ago

That is very much a possibility. I will try click-to-shoot.

phrack commented 9 years ago

I am calling this fixed, but please go ahead and comment if something is still obviously out of whack and potentially fixable. I did three things:

  1. If a lock is lost during calibration, ShootOFF will remember the last lock even when you hit "Stop Calibrate". The last lock is replaced with a new lock if a new lock is in fact achieved. This should solve the problem if our conjecture was right.
  2. When you stop calibrating, if you never had a lock, ShootOFF will now warn you that you aren't going to have any shots on the projector arena detected.
  3. When you stop calibrating, if you had a lock, ShootOFF will tell you what bounding box was detected for the arena on the command line. This would make debugging easier if this bug is still actually not fixed (I can re-open it easy if so).