Application to 3d pairsI can understand the movement isn't enough to converge near, but what if you mounted the cameras with toe-in to the sweet spot, then adjust +- with tilt?
Can you help me get this working on any of my cameras?
How did you find the addresses corresponding to those functions?
ROM:FFB666E0 ; ---------------------------------------------------------------------------ROM:FFB666E0 STMFD SP!, {R4,LR}ROM:FFB666E4 MOV R0, #3ROM:FFB666E8 BL sub_FFB67000ROM:FFB666EC ; ---------------------------------------------------------------------------ROM:FFB666EC LDMFD SP!, {R4,LR}ROM:FFB666F0 B sub_FF87F398ROM:FFB666F4 ; ---------------------------------------------------------------------------ROM:FFB666F4 STMFD SP!, {R4,LR}ROM:FFB666F8 MOV R0, #2ROM:FFB666FC BL sub_FFB67000ROM:FFB66700 ; ---------------------------------------------------------------------------ROM:FFB66700 LDMFD SP!, {R4,LR}ROM:FFB66704 B sub_FF87F398ROM:FFB66708 ; ---------------------------------------------------------------------------ROM:FFB66708 STMFD SP!, {R4,LR}ROM:FFB6670C MOV R0, #1ROM:FFB66710 BL sub_FFB67000ROM:FFB66714 ; ---------------------------------------------------------------------------ROM:FFB66714 LDMFD SP!, {R4,LR}ROM:FFB66718 B sub_FF87F398ROM:FFB6671C ; ---------------------------------------------------------------------------ROM:FFB6671C STMFD SP!, {R4,LR}ROM:FFB66720 MOV R0, #0ROM:FFB66724 BL sub_FFB67000ROM:FFB66728 ; ---------------------------------------------------------------------------ROM:FFB66728 LDMFD SP!, {R4,LR}ROM:FFB6672C B sub_FF87F398
propcase=require("propcase") -- check for native call interface: if (type(call_event_proc) ~= "function" ) then error("your CHDK does not support native calls") end MoveISLensToRightLimitPositionproc="MoveISLensToRightLimitPosition"--Register procs if needed (this is a dummy example) if (call_event_proc("RegisterISFuncs") == -1) then error("RegisterISFuncs failed") end -- MoveISLensToRightLimitPosition function MoveISLensToRightLimitPosition() if (call_event_proc(MoveISLensToRightLimitPositionproc) == -1) then print("MoveISLensToRightLimitPosition failed") end end
MoveISLensToRightLimitPositionptr=0xFFB666E0call_func_ptr(MoveISLensToRightLimitPositionptr)
Can I just call a Canon function by address?
From what I can guess, you need to call a register function before you can call from that group of functions. Is this a property of CHDK itself or the Canon firmware?
Started by Stimpy Feature Requests
Started by szezo Feature Requests
Started by smilem General Help and Assistance on using CHDK stable releases
Started by Aket « 1 2 ... 21 22 » Feature Requests
Started by Pabloec20 Creative Uses of CHDK