openuas
My bad, first I compiled against LUA5.1 which flag still set was in my custom config.mk. Using Lua 5.1, rsint crashed. Re-compiled with Lue 5.2 and it worked 😀. However checking out via svn it is easily overlooked one can still have the config.mk hanging around
I wasn't aware that it was broken with Lua 5.1, but I plan to remove 5.1 support completely soon. After that it will give you a compile error.
Now I'll have to figure out how to set exposure and other parameters...
Anyhow, more info or some console example on rsint usage welcomed.
If you want to set the initial exposure, it works just like rsint.
If you want to change the exposure between shots, you currently need to send lua code to the camera using the exec command from rsint. Something like
con 1> rsint
rsint> exec set_tv96_direct(76😎
rsint> s
rsint> s
...
You can send pretty much any camera side code with exec.
However it's important to know that most exposure overrides will
not affect the next s command, they will affect the following one. So in the example above, the first shot would use the cameras auto exposure, and the second would be at 1/1024th.
This happens because the point where the camera waits is right before the shot is taken, after the exposure is already set. However, this isn't universal, for example the ND filter will take immediate effect. It may also vary some between cameras. On my
D10, I was able to change focus and zoom in this hook, but this could be dangerous since the camera wouldn't normally expect them to be moving at this point.
In continuous mode, we don't really have a place to wait after the previous shot is finished but before the remote hook, the only other place to wait would be the raw hook, which happens before the jpeg is transferred.
The code is mostly in lua/rsint.lua