Harcan65
What comes next will be hiding the camera and shooting in the evening and during night. I think it might be a good idea to delay the shooting. What I mean is that I start the script and the shooting will start an hour later or so.
I have recently been working on similar functionality for fixidint.lua. I still need to finish a few things, but I'll probably integrate it into rawopint as well when it's done.
I'm not very familiar with programming, but that problem might be easy solvable with a sleep-routine that I found that routine in another script (YASS 4), but rawopint is rather complex and I don't know where I should place the delay-code. Can anyone give me some hints where to place it best?
If you want to keep it really simple, putting it at the start (i.e. just above rawpoint_version) should be OK. Assuming you want to add a menu option, it needs to added to the section above with the # lines, like
#ui_wait_minutes=0 "Minutes to wait"
... license stuff etc...
]]
sleep(ui_minutes*60*1000)
rawopint_version="0.24"
This just gives you a number of minutes to delay from when you started the script. If you want to start at a particular clock time, you need more complicated code.
If battery life is a concern, you might want to stay in playback mode or allow the Canon firmware to shut off the screen and sensor while waiting, which could be a little more complicated.
The script will switch to rec mode if you start in playback, but you'd lose control of zoom and focus, and the LCD would still be on.
A better approach would probably be to use the Canon firmware power saving mode functionality. To do use this, in the Canon menu power saving section:
Set "Auto Power Down" to "OFF" and "Display Off" to some reasonable time.
In the CHDK menu, under CHDK settings, set "Disable LCD Off" to "never".
Now you should be able to set up the camera in rec mode, with your focus, zoom etc and set, start the script, and have the sensor and display stay off until the first half press. You should test this before hand. On some very old cameras, the display going turns of MF.