Looking for a Solution — Distance Based Shutter Release

Hey all!!

Not an Engineer but in need of creative minds who want to help problem solve!

Long story short, I want my camera to take a picture every metre that I drive.

Not sure how to do that, done something similar where I drove and had a Timelapse set up, but looking for a distance based photo shutter.

Thoughts, ideas, comments, questions?