Yet Another Sunset Script (yass) v4.5 - page 8 - LUA Scripting - CHDK Forum supplierdeeply

Yet Another Sunset Script (yass) v4.5

  • 166 Replies
  • 57156 Views
Re: Yet Another Sunset Script (yass) v4.3
« Reply #70 on: 07 / June / 2014, 20:00:05 »
Advertisements
I just tried to run the new yass4 script and I got an immediate termination after starting with the following message:  145: attempt to compare number with nil.
Let me guess ?  You're using CHDK 1.2.0 rather than 1.3.0 ?  Guess which version I used to test the script?

Bug fixed,  script version bumped to 4.4, available at the normal link.

Thanks for finding that.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Yet Another Sunset Script (yass) v4.3
« Reply #71 on: 07 / June / 2014, 20:09:25 »

Let me guess ?  You're using CHDK 1.2.0 rather than 1.3.0 ?  Guess which version I used to test the script?

Bug fixed,  script version bumped to 4.4, available at the normal link.

Thanks for finding that.

I'm running CHDK 1.3, so says my splash screen on startup.

The script is running though.  Strange that it didn't work with my 1.3 version.  It's gotten darker than what I usually start the script with so it my not be ideal test for same same conditions.
I'll keep you up to date.


Thx.
« Last Edit: 07 / June / 2014, 20:19:00 by El Pistoffo »

Re: Yet Another Sunset Script (yass) v4.3
« Reply #72 on: 07 / June / 2014, 20:26:40 »
I'm running CHDK 1.3, so says my splash screen on startup.
Same bug but it was likely being triggered if you used MF rather than AFL as your "Focus @ Infinity Mode".   Changes in v4.4 repair that too.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Yet Another Sunset Script (yass) v4.3
« Reply #73 on: 07 / June / 2014, 20:30:27 »
I'm running CHDK 1.3, so says my splash screen on startup.
Same bug but it was likely being triggered if you used MF rather than AFL as your "Focus @ Infinity Mode".   Changes in v4.4 repair that too.

Yeah, I did use MF.  I hope that's the right setting.  With so many different scripts and versions with different behaviors its hard to remember.

Thanks again wingz.


Re: Yet Another Sunset Script (yass) v4.3
« Reply #74 on: 07 / June / 2014, 20:34:56 »
Yeah, I did use MF.  I hope that's the right setting.  With so many different scripts and versions with different behaviors its hard to remember.
I've done a lot of work on CHDK's manual focus capability this year.  That work shows up in the code that implements "focus at infinity" in several of my recent scripts.

For 1.2.0 code, the choice of AFL or MF to set focus at infinity is a question of picking whichever one works. Sadly, in some cases, nothing works. 

For 1.3.0 code, both AFL or MF should work for almost all cameras and at least one will work for every camera. It really should not matter which one you use.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Yet Another Sunset Script (yass) v4.3
« Reply #75 on: 07 / June / 2014, 23:52:49 »
Tonight's trial was a success. :D  I will try again tomorrow when there is a more dramatic change in lighting.

Thx

Re: Yet Another Sunset Script (yass) v4.5
« Reply #76 on: 14 / June / 2014, 15:02:45 »
Updated to 4.5.   Added fix to make set_zoom and set_focus play together nicely on cameras like the A1200.
« Last Edit: 14 / June / 2014, 15:04:58 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Yet Another Sunset Script (yass) v4.5
« Reply #77 on: 15 / September / 2014, 11:50:35 »
Hello,
I try use this script yass v4.5 with my camera PowerShot A470.
The camera makes  one picture and then freezes.
The display is turned off and the camera does not respond to buttons.
In csv je only :
Mon Sep 15 15:56:37 2014:  tvl=10 tvh=1/4 ISOd=100 ISOm=400
Mon Sep 15 15:56:37 2014:  shot rate=10 ramp:6
Mon Sep 15 15:56:38 2014: YASS 4.3 Mon Sep 15 15:56:38 2014
Mon Sep 15 15:56:38 2014: Shot,Image,Compensation,Tv_target,Tv,Tv+,ND,ISO_target,ISO,f-stop,focus,Tv96,Sv96,Av96,Bv96
Mon Sep 15 15:56:47 2014: 1,IMG_3682.JPG,+0,2.0,2.0,2.0,0,100,100,3.2,6690,-90,420,307,-202,

 and in file YASS4_0 :
@param a Aperture Setting
@default a 0
@param b Tv low limit (sec)
@default b 5
@param c ISO default
@default c 1
@param d ISO upper limit
@default d 7
@param e Tv normal limit (sec)
@default e 9
@param f Exposure ramp rate
@default f 2
@param h Free Disk MB Shut down
@default h 15
@param l Logging
@default l 2
@param m First Shot Delay (min)
@default m 0
@param n Display blanking mode
@default n 0
@param o Compensation (f-stops)
@default o 8
@param r RAW enable?
@default r 0
@param t Shot Rate (sec)
@default t 10
@param w Use ND Filter?
@default w 0
@param x Focus @ Infinity Mode
@default x 0
@param y Status LED
@default y 2
@param z Zoom step position
@default z -1

Any advice?

Thanks



*

Offline srsa_4c

  • ******
  • 4426
Re: Yet Another Sunset Script (yass) v4.5
« Reply #78 on: 15 / September / 2014, 12:56:33 »
The camera makes  one picture and then freezes.
The display is turned off and the camera does not respond to buttons.
Please post the romlog: "miscellaneous stuff" -> "debug parameters" -> "save rom crash log"
Which CHDK build are you using?

Re: Yet Another Sunset Script (yass) v4.5
« Reply #79 on: 15 / September / 2014, 15:05:20 »
The camera makes  one picture and then freezes.
The display is turned off and the camera does not respond to buttons.
Please post the romlog: "miscellaneous stuff" -> "debug parameters" -> "save rom crash log"
Which CHDK build are you using?

I have A470 with firmware "B" and for this firmware is CHDK 1.2.0.3598
I am sending you ROM.


 

Related Topics