I don't think press ("shoot") is valid ?
Ok, i tried executing the commands in qwe_init() and when executing them line by line then the camera does not switch off or crash. Hmm, strange. I'll try to remove some commands and try to track it down.
You mention that the SD1100 has prop(6) only as read-only, is there a list where i can get such informations?
Another issue, whenever i use "shoot()" then the camera uses the flash. I tried to switch off the flash in the camera menu (non-CHDK) and also by set_prop(16, 2). Whatever i do, the camera uses the flash. Is there a way to disable it?
Also, thanks for the hint that press("shoot") will not work. I'm not sure about the sequence but from reading the scripts of other people i thought:
press("shoot_half")repeat sleep(50) until get_shooting() == trueclick("shoot_full")release("shoot_half")
shoot() is a function, which usually does the correct sequence of these, waiting appropriately.
Can you try the following:Locate shooting_expo_param_override_thumb() in core/shooting.cComment out the following part of that function:Code: [Select] if (((camera_info.state.state_kbd_script_run) || (usb_remote_active)) && (photo_param_put_off.subj_dist)) { shooting_set_focus(photo_param_put_off.subj_dist, SET_NOW); photo_param_put_off.subj_dist=0; } else if (is_sd_override_enabled) shooting_set_focus(shooting_get_subject_distance_override_value(), SET_NOW);If the above isn't there, CHDK will not attempt to set the focus right before shooting. This obviously will cripple CHDK, but you'll still be able to use either set_focus() from a script, or the manual SD override options. You'll need to be in AF lock of course, or SD override will be ineffective.
if (((camera_info.state.state_kbd_script_run) || (usb_remote_active)) && (photo_param_put_off.subj_dist)) { shooting_set_focus(photo_param_put_off.subj_dist, SET_NOW); photo_param_put_off.subj_dist=0; } else if (is_sd_override_enabled) shooting_set_focus(shooting_get_subject_distance_override_value(), SET_NOW);
So, if the proposed code is removed from "shooting.c" then it seems [to me] that a shoot() command will not impact any pre-set focus setting.Are there any other pre-set settings that the "shoot()" command will [/might] impact before the shutter opens ? [tentatively posted]
You are mixing up several totally different topics. The stuff you quoted from srsa was related to diagnosing a particular problem in a particular port, and has nothing to do with the thread you are posting it or the normal operation of CHDK.
I would suggest your time would be better spent actually experimenting and then asking about whatever issues arise in your particular project, as opposed to trying to read every thread that might be related and figure out the answers in advance.
I don't really understand what the point of your question is, it sounds like you are thinking that removing this code would prevent the camera from changing focus when you shoot. This is not the case at all, because shoot() just sends button presses to the the original firmware, which does all of it's normal shooting stuff.
If you want to have fixed focus, you should use the cameras manual focus, AF lock, or CHDK SD override (if it works on your camera). See http://chdk.wikia.com/wiki/CHDK_Manual_Focus_and_Subject_Distance_Overrides for some useful information.
Started by obsidian General Chat
Started by sumoetx General Help and Assistance on using CHDK stable releases
Started by SpumCo Script Writing
Started by jamesgreaves General Chat
Started by UndeRoll Feature Requests