Is there any programmatic way to set focus to infinity with the EOS-M (and 22mm EF-M lens) and lock it there when the camera is powered on?
I am trying to get the EOS-M with 22mm EF-M lens working in a wing-mounted system on a plane running the intervalometer function (to monitor a dam removal). I did my first flight in AF mode and the intervalometer stopped shortly after takeoff when the camera was over water - I think because AF lock wasn't obtained before the next intervalometer shot. I did the second flight in MF mode, but I have to power the camera off to mount it in the wing mount, and I can't turn the focus ring after powering it back on, so I was focused past infinity on that flight and all of the images are slightly blurry.
Basically I have to make the whole thing pretty bullet proof so contracted pilots can put the camera in the plane, press a button to turn it on (and hit the screen with two fingers if need be) and come back with pictures for me.
I fly successfully right now with a Canon D10 running CHDK, and I have a Lua script that focuses to infinity then locks the focus and takes a shot every 3 seconds. Ideally I'd like to do the same thing with the EOS M, but I don't know a reliable way to either focus to infinity every time the camera starts up, or set focus to infinity and lock it there forever. If need be I can get a different lens + adapter. But unfortunately the one thing I can't do is power up the camera, focus to infinity, then put it in the wing mount and start the intervalometer.
I am a geologist, not a photographer, so any help/hint is appreciated. Thank you all for your time,
-EDIT- after reading more about the intervalometer function, I am wondering if there is another way to do this that I am not realizing - I see that rather than shooting stills with an intervalometer I could shoot with a low FPS rate. If I could maintain autofocus this way it might work, but I don't know if it would dramatically shorten battery life. As is I get >1.5 hours, and I need at least 1 hr for the flight.
Alternatively, if there is a simple way to focus to infinity in AF then switch to MF I could do that. I thought at first that maybe the trap focus option with Intervalometer might work, but I see that I still need MF mode to do that. If somehow I could take the first picture at the horizon in AF and lock focus to that, I would be golden. And finally I didn't see if scripting is enabled yet in ML for the EOS-M, but if it is, I could try to do something with a script.
Andy