Monday, June 8, 2009

We ran out of bullets!

It's a mad dash today to pick up more bullets as we ran out over the weekend. Apparently our gun is pretty particular about its bullets and if they're not shiny they'll jam.

We increased the resolution of the mounted camera 4 times this weekend as we attempted to get tighter and more calibrated control. Our best times (listed below) got down to 2.27 seconds per target! Consistency still needs some work.

In the first time below, note that there were 28 attempts on the 15 targets. This conceals another layer of failure in that each attempt includes the initial movement (and a fire), and sometimes a subsequent correction movement (and a fire). So there were 28 initial fires, then 13 corrections and fires, for 41 total. That leaves 36% accuracy.

The second attempt is much worse (but obviously shot with much higher frequency) as it attempted 111 times in order to knock down the 15 targets. That's 14% accuracy. If we bring that up, we'll benefit from drastically reduced times.

scott@dell-desktop:~/playeratat/log$ perl times.pl < playeratat-20090607135034.log
Description , Count, Time (ms), Avg (ms)
TOTAL , 1, 34046, 34046
auto_target:acquire_targets , 28, 0, 0
auto_target:acquire_targets_mounted , 71, 4, 0
auto_target:fire_mounted , 13, 2880, 221
auto_target:fire_mounted_update , 28, 1592, 56
auto_target:fired_acquire_targets_mounted , 28, 0, 0
auto_target:fired_acquire_targets_static , 28, 8, 0
auto_target:get_nearest_target , 28, 0, 0
auto_target:get_nearest_target_mounted , 71, 1, 0
auto_target:move_to_target_mounted , 71, 4769, 67
auto_target:move_to_target_mounted_update , 71, 17667, 248
auto_target:move_to_target_static , 28, 2875, 102
auto_target:move_to_target_static_update , 28, 1265, 45
auto_target:static_fire , 28, 6078, 217
auto_target:target_attempt , 28, 38183, 1363

scott@dell-desktop:~/playeratat/log$ perl times.pl < playeratat-20090607140427.log
Description , Count, Time (ms), Avg (ms)
TOTAL , 1, 37764, 37764
auto_target:acquire_targets , 75, 0, 0
auto_target:acquire_targets_mounted , 140, 9, 0
auto_target:fire_mounted , 36, 8317, 231
auto_target:fire_mounted_update , 75, 3806, 50
auto_target:fired_acquire_targets_mounted , 75, 0, 0
auto_target:fired_acquire_targets_static , 75, 4, 0
auto_target:get_nearest_target , 75, 0, 0
auto_target:get_nearest_target_mounted , 140, 2, 0
auto_target:move_to_target_mounted , 140, 10372, 74
auto_target:move_to_target_mounted_update , 140, 34807, 248
auto_target:move_to_target_static , 75, 6024, 80
auto_target:move_to_target_static_update , 75, 3157, 42
auto_target:static_fire , 75, 16406, 218
auto_target:target_attempt , 75, 86372, 1151

No comments: