yet another personal build (archive) - page 9 - CHDK Releases - CHDK Forum

yet another personal build (archive)

  • 117 Replies
  • 55134 Views
*

Offline Jucifer

  • *****
  • 251
  • [A710IS]
yet another personal build (archive)
« Reply #80 on: 17 / May / 2008, 05:11:06 »
Advertisements
No, less experimental, incrementally numbered builds support both syntaxes.
More experimental, date-numbered builds support only the new syntax.


Last time forgot this:
I accidentally left partly functional Lua command md_detect_motion(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) in build 59...
Partly functional because it can't return the number of detected cells (h). But it still can be used for triggering shutter on detection, if the "parameters" parameter (n) is set properly.

(also in Wikia:) PARAMETERS: 1-make immediate shoot, 2-log debug information into file, 4-dump liveview image from RAM to a file, 8-on immediate shoot, don't release shutter. OR-ed values are accepted, e.g. use 9 for immediate shoot & don't release shutter

*

Offline fudgey

  • *****
  • 1705
  • a570is
yet another personal build (archive)
« Reply #81 on: 17 / May / 2008, 10:50:45 »
I accidentally left partly functional Lua command md_detect_motion(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) in build 59...
Partly functional because it can't return the number of detected cells (h). But it still can be used for triggering shutter on detection, if the "parameters" parameter (n) is set properly.

Yes well... most existing ubasic MD scripts don't shoot unless md_detect_motion returns h>0 because otherwise it's assumed md exited due to timeout.

*

Offline Jucifer

  • *****
  • 251
  • [A710IS]
yet another personal build (archive)
« Reply #82 on: 24 / May / 2008, 06:49:01 »
updated the e-build (now with zipped source)

changelog for 080524:
- added fbonomi's shot histogram
  - added scripting command shot_histo_enable; has to be set (not 0) in order to use
  - get_histo_range f(rom) t(o), returns the percentage of values between f and t in the histogram, returns -1 if shot_histo_enable is not set
  - example usage in uBASIC:
Code: [Select]
shot_histo_enable 1
shoot
h=get_histo_range 100 800
print h
  - in Lua:
Code: [Select]
shot_histo_enable(1)
shoot()
h=get_histo_range(100, 800)
print(h)
- trying to add hiker_jon's edge overlay, doesn't work well yet on my camera, e.g. messes up menu texts, hidden in osd menu.

yet another personal build (archive)
« Reply #83 on: 24 / May / 2008, 07:28:15 »
- trying to add  hiker_jon's edge overlay, doesn't work well yet on my camera, e.g. messes up menu texts, hidden in osd menu.


Aaahhh  .......... I get the same with my SDM build on the A460.
It also crashes the camera.
I thought it was something to do with my memory allocation  ...  maybe not.

Works fine on my A620.


*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
yet another personal build (archive)
« Reply #84 on: 24 / May / 2008, 07:31:46 »
Thanks for all your hard work jucifer !
Compiling the sourcecode gives me lots of lua related warnings though,
is this 'normal' or am I missing something ?

wim

attached: zipped errorlog

*

Offline Jucifer

  • *****
  • 251
  • [A710IS]
yet another personal build (archive)
« Reply #85 on: 24 / May / 2008, 07:53:12 »
I thought it was something to do with my memory allocation  ...  maybe not.

I also thought of memory related problems, why else would the alt menu texts corrupt...
On the other hand, my understanding regarding programming is still quite limited.



Compiling the sourcecode gives me lots of lua related warnings though,
is this 'normal' or am I missing something ?

I think it's "normal", as Lua still works. Ask Velo. And tell me. ;)

*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
yet another personal build (archive)
« Reply #86 on: 24 / May / 2008, 08:51:19 »
Thx Jucifer, your new e-build works fine (SD870 + USB remote), LUA and uBASIC is ok, both of the shoot-histo scripts are working (print the range value).

The edge overlay seems to need some more work; it does'nt crash my camera but it still overlaps all symbols (the original Canon ones & the CHDK OSD) and the script mini-console, the Canon menu is also painted over. (Seems the edge overlay refreshes periodicly independent from anything ?)

yet another personal build (archive)
« Reply #87 on: 24 / May / 2008, 09:00:12 »
I also thought of memory related problems, why else would the alt menu texts corrupt...
On the other hand, my understanding regarding programming is still quite limited.

I do not really understand memory allocation.

Maybe someone could explain memory allocation during the two boots ?


*

Offline Velo

  • *
  • 30
yet another personal build (archive)
« Reply #88 on: 24 / May / 2008, 09:36:21 »

*

Offline Jucifer

  • *****
  • 251
  • [A710IS]
yet another personal build (archive)
« Reply #89 on: 25 / May / 2008, 07:40:19 »
works fine (SD870 + USB remote)

Strange, I thought SD870 USB remote support was added in revision 405... (updated the SD870 build, trunk rev 405, #080525)

I may add an option to set edge overlay margin(s) from the menu.
Also it would be nice, if edge overlay worked properly on all cameras...

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal