several of us have done our share on the "act" front so its not all bad.
End users are blissfully unaware of the lack of elegance in the code and could not care less, they just want to take photos.
I'm discovering fun things like hard coded timing loops (for the sync delay function) that will change in duration if the ARM processor has a different clock speed from one camera model to another.
Hi all, I come to help, I installed the CHDK for the 100f in my A490. so while I read the developer documentation I want to ask if it is normal to see ugly colors on the osd (because it is still in beta), for example in the logo i do not see red anywhere, only shades of gray and some oranges.
The colors displayed in CHDK are specified by the parameter CAM_BITMAP_PALETTE in the file platform_camera.h for each camera. That points to a color palette file in the file gui_draw.h. In the case of the A490, palette 8 is selected.
Quote from: tpont on 06 / October / 2011, 17:09:18I have the script running (thanks!) but I still get the long lag before the shot fires.Update : I've traced source of the long lag before the shot fires when using a USB remote script. Or at least I've figured it out on my two cameras. In the Remote parameters menu, you need to have Enable Remote at the top of the menu selected but syncable remote : Enable Syncable Remote down below that not selected. Once I setup things that way, the script referenced above works properly with no delay when the USB power is applied and removed.
I have the script running (thanks!) but I still get the long lag before the shot fires.
The camera is on in play mode and connected and I see the CHDK gui on the screen.But ptpCamGui only says "wait for camera" ... "disconnect" . And nothing happens.
However, the obvious question first ? You did disable USB Remote prior to trying to do PTP, right ?
--[[@title My intervalometer@param v Video length (secs)@default v 30@param p Pics between videos@default p 10--]]capmode=require("capmode")props=require("propcase")-- convert parameters into readable variable namesparam_video_length = vparam_num_pics = pfunction printf(...) print(string.format(...))endfunction mode_photo() printf("Switching to Photo Mode") capmode.set(capmode.name_to_mode["SCN_KIDS_PETS"]) sleep(1000) -- Flash off set_prop(props.FLASH_MODE, 2) -- Focus Mode (0,1,3,4,5 = Normal, Macro, Infinity, Manual, Super Macro) set_prop(6, 3)end function take_photo(n) for i = 1,n do printf("photo #%3d", i) shoot() sleep(30000) endendfunction mode_video() printf("Switching to Video Mode") capmode.set(capmode.name_to_mode["VIDEO_STD"]) sleep(500)endfunction take_video (secs) -- start recording press("shoot_half") press("shoot_full") printf("Recording for %d secs", secs) sleep(secs*1000) -- stop recording release("shoot_full") press("shoot_full") sleep(1000) release("shoot_full") -- wait for SD. If video size is big it takes more than 1sec to get ready. printf("Waiting for SD..") while get_movie_status() > 1 do sleep(1000) end printf("Ready")end--[[ main program ]]printf("Autonomous Camera Started")while true do -- Take photos mode_photo() take_photo(param_num_pics) -- Take video mode_video() take_video(param_video_length)end
One thing that doesn't work for sure is capmode.set(capmode.name_to_mode["SCN_KIDS_PETS"])
// Mode 16417 in firmware but not in current modemap// Mode 16399 in firmware but not in current modemap// Mode 16407 in firmware but not in current modemap// Mode 2609 in firmware but not in current modemap// Current modemap entry not found in firmware - MODE_SUPER_MACRO 16905// Current modemap entry not found in firmware - MODE_SCN_INDOOR 16401// Current modemap entry not found in firmware - MODE_SCN_KIDS_PETS 16400// Current modemap entry not found in firmware - MODE_SCN_NIGHT_SCENE 16395// Current modemap entry not found in firmware - MODE_VIDEO_STD 2598
163903277216417327681640516404163991639716406164071640316402164082609
Second thing is that video recording is started but it never stops !
press("shoot_half") sleep(500) -- give AF a chance press("shoot_full") release("shoot_full") release("shoot_half") sleep(secs*1000) click("shoot_full")
Started by mr_waiyawit General Help and Assistance on using CHDK stable releases
Started by dezza Feature Requests
Started by jannoon028 DryOS Development
Started by smirnov992 Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes)
Started by tqft DryOS Development