Rats chew wires for a mix of biological needs, environmental factors, and opportunistic behavior. The behavior is common in urban, agricultural, and domestic settings and has predictable causes and consequences.
— Rando on Quora
If the rat won't go to the trap, the trap can go to the rat.
~$300/month. Done in a week. Zero emotional scarring.
04
This calibration is only valid at one distance. Change how far the rat is, the offset shifts. Later: a whole failure mode.
# stereo depth
# B is measured lens-center baseline
Z_mm = fx_px * 52.5 / disparity_px
# ratbot/robot/aiming.py
adjustment = focal_y_px * laser_vertical_offset_mm * (
(1.0 / depth_mm) -
(1.0 / reference_distance_mm)
)
adjustment = clamp(adjustment,
-max_adjust_px, +max_adjust_px)
crosshair_y = target_y + adjustment
First clean end-to-end run. Detector locks on, SO-101 slews to target, pitch drops, Daisy goes off.
It is genuinely unsettling to watch a weapon track something on its own — even on an iPad.
Every skill in this talk — CAD, YOLO, servos, stereo vision — was a first attempt, with AI riding shotgun.
The barrier between “I wonder” and “it fires pellets” has never been thinner.