zoom problem sx260hs - CHDK Releases - CHDK Forum

zoom problem sx260hs

  • 11 Replies
  • 8154 Views
zoom problem sx260hs
« on: 11 / April / 2016, 19:29:46 »
Advertisements
I have a sx260hs canon and I'm running the uav kap.
I'm having trouble setting the zoom pocetaje, when it is not 0 the camera turns off after reaching the indicated zoom.

I appreciate if someone can give me a solution to my problem

Re: zoom problem sx260hs
« Reply #1 on: 11 / April / 2016, 20:43:08 »
Some camera models have problems setting the zoom position.   Please try the attached simple script and see if it works?
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline srsa_4c

  • ******
  • 4451
Re: zoom problem sx260hs
« Reply #2 on: 12 / April / 2016, 11:07:24 »
The sx260/sx240 port is missing CAM_NEED_SET_ZOOM_DELAY, that's the most likely reason of the zoom rated crash.
Someone could make a test build once bralfredo tells us the camera's firmware version.

Re: zoom problem sx260hs
« Reply #3 on: 12 / April / 2016, 14:03:56 »
The sx260/sx240 port is missing CAM_NEED_SET_ZOOM_DELAY, that's the most likely reason of the zoom rated crash.
Someone could make a test build once bralfredo tells us the camera's firmware version.



my camera firmware is 101a and am using CHDK 1.4.1
Thank you

*

Offline srsa_4c

  • ******
  • 4451
Re: zoom problem sx260hs
« Reply #4 on: 12 / April / 2016, 14:14:19 »
Here's a test build. You can use the script attached above for testing (I assume it's crashing your camera as well).

edit:
attachment removed, official builds have the fix now
« Last Edit: 20 / April / 2016, 19:38:44 by srsa_4c »

Re: zoom problem sx260hs
« Reply #5 on: 12 / April / 2016, 20:21:55 »
Here's a test build. You can use the script attached above for testing (I assume it's crashing your camera as well).



I want to comment that this version of CHDK the camera adjusts the zoom smoothly. Run the kap uav smoothly at any zoom level.
I want to thank you for your time
regards
Alfred

Re: zoom problem sx260hs
« Reply #6 on: 12 / April / 2016, 20:28:34 »
The sx260/sx240 port is missing CAM_NEED_SET_ZOOM_DELAY, that's the most likely reason of the zoom rated crash.
So does the use of the word "missing" imply that this should simply be enabled for all cameras? 

Not complaining here, but I posted a test script to try and narrow down the problem - fully expecting the result to be one of the camera.h ZOOM #defines ( e.g. CAM_NEED_SET_ZOOM_DELAY CAM_USE_ALT_SET_ZOOM_POINT CAM_USE_ALT_PT_MoveOpticalZoomAt CAM_USE_OPTICAL_MAX_ZOOM_STATUS ).  You jumped straight to CAM_NEED_SET_ZOOM_DELAY - which would have been my first choice too once the test script confirmed it's not a problem with kap_uav.lua.

From what I can see looking at the code is core/shooting.c the addition of the
Code: [Select]
msleep(CAM_NEED_SET_ZOOM_DELAY);is not going to break anything.   
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 14126
Re: zoom problem sx260hs
« Reply #7 on: 12 / April / 2016, 20:52:31 »
So does the use of the word "missing" imply that this should simply be enabled for all cameras? 
No, it's not required on all cameras.
Don't forget what the H stands for.

Re: zoom problem sx260hs
« Reply #8 on: 12 / April / 2016, 22:18:21 »
So does the use of the word "missing" imply that this should simply be enabled for all cameras? 
No, it's not required on all cameras.
I understand that.  What I was suggesting is that given we don't seem to know exactly which cameras need it and which don't, and that enabling it does not seem to have any negative consequences, why not just enable it for all?
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 14126
Re: zoom problem sx260hs
« Reply #9 on: 12 / April / 2016, 22:34:02 »
What I was suggesting is that given we don't seem to know exactly which cameras need it and which don't, and that enabling it does not seem to have any negative consequences, why not just enable it for all?
I consider forcing unneeded delays to be a negative consequence. An extra 1/3 of a second to finish zooming may not matter in most cases, but it isn't nothing.
Don't forget what the H stands for.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal