-- dummy library for PCfunction sleep(n) x=nendfunction print_screen(n) x=nendfunction get_tick_count(s) return 100endfunction press(s) x=nendfunction shoot(s) x=nendfunction shot_histo_enable(s) x=nendfunction get_histo_range(n1,n2) return 100endfunction set_tv96_direct(n) x=nendfunction set_bv96(n) x=nendfunction set_sv96(n) x=nendfunction get_bv96() return 0endfunction get_av96() return 0endfunction press(n) x=nendfunction release(n) x=nendfunction get_day_seconds() return 80000endfunction shutdown()end a=0 b=0 c=0 d=0 e=0 f=0 g=0 h=0 i=0 j=0 k=0 l=0 m=0 n=0 o=0 p=0 q=0 r=0 s=0 t=0 v=0 w=0 x=0 y=0 z=0
Actually, it's not luminosity, there are a few frames that are slightly out of focus, even if I said "manual focus to infinity" (and the script set focus too) . ... GR!!! You can see the difference in the strong light at the bottom left (more faded in frame 783) and in the strong star (actually, Jupiter) that being slightly out of focus appears larger...It seems this camera isn't able to keep an exact focus...
Oh and does lua look for libs from anywhere but chdk/scripts? I don't want libraries there causing clutter.
Hmmm now that you said this... only about three of the 300 images from last night two are in focus (inf), all others are badly out of focus.
Quote from: fudgey on 20 / August / 2008, 15:35:18Oh and does lua look for libs from anywhere but chdk/scripts? I don't want libraries there causing clutter.I think Lua looks for libs also from chdk/lualib...
LibrariesLibraries are standard LUA scripts placed either in CHDK\SCRIPTS or CHDK\LUALIB, called within a script withCode: [Select]require "libname"where libname is the filename of the library file without '.lua' suffix.This means one can create a library of functions and recycle this lib in scripts with a call to require "libname".Library files were first searched from CHDK/SCRIPTS, and then if not found, from CHDK/LUALIB; if a file with the required name is available in both folders, the one from the first folder (CHDK\SCRIPTS) is used.
Started by reyalp
« 1 2 »
Started by mattkime
« 1 2 3 4 5 »
Completed and Working Scripts
Started by tc531
Creative Uses of CHDK
Started by perspixe
« 1 2 »
Started by Multiades