Developer-friendly / experimental branch (dataghost)

  • 141 Replies
  • 39999 Views
  • Publish
    Re: Developer-friendly / experimental branch (dataghost)
    « Reply #10 on: 14 / May / 2008, 07:20:52 »
    Advertisements
    Interesting.


    What is the 'Converter'  and 'Custom Display'  ?

    *

    Offline PhyrePhoX

    • *****
    • 2253
    • make RAW not WAR
      • PhyreWorX
  • Publish
    Re: Developer-friendly / experimental branch (dataghost)
    « Reply #11 on: 14 / May / 2008, 07:23:26 »
    wow, this really does look accurate, besides the offset problem (it really looks like its "just" the offset). this could be used for LOTS of stuff. but if i understand you correctly this feature in particular is very hard to implement on other platforms. if you need betatesters for this and the IS functions, count me in ;)

    *

    Offline DataGhost

    • ****
    • 314
    • EOS 40D, S5IS
      • DataGhost.com
  • Publish
    Re: Developer-friendly / experimental branch (dataghost)
    « Reply #12 on: 14 / May / 2008, 07:31:27 »
    Interesting.


    What is the 'Converter'  and 'Custom Display'  ?
    Oh, standard S5 menu functions. I tried turning off IS to see if that made a difference. Converter is for the IS mechanism to know which converter I attached to my camera, so it can adjust for them (i.e. teleconverter is likely to need more compensation with the same amount of movement). In Custom Display, I can enable/disable a live histogram (luminance only), 3x3 gridlines, shooting information and a 3:2 guide, for 4 display presets (2 LCD, 2 EVF).

    but if i understand you correctly this feature in particular is very hard to implement on other platforms.
    Well, I'd need to find these functions (or ones with similar functionality) on other platforms :) I'm pretty sure all platforms (with orientation sensor / IS) use something similar to the one in my S5, since it doesn't appear to be used for anything else. It's probably a cheap, generic sensor which they dumbed down to an accuracy of '0, 90 and 180'. I'm guessing DryOS developers had some fun with it or decided to implement this for debugging purposes, because the S3 hardware should be the same.
    « Last Edit: 14 / May / 2008, 07:35:06 by DataGhost »

    *

    Offline PhyrePhoX

    • *****
    • 2253
    • make RAW not WAR
      • PhyreWorX
  • Publish
    Re: Developer-friendly / experimental branch (dataghost)
    « Reply #13 on: 14 / May / 2008, 07:46:50 »
    offtopic: the "converter menu" not also influences IS stuff but of course the calculation of focal length and zoom and subsequently this will end in the image exif data, so that later you can see what pictures were shot with or without a particular converter. maybe this can be "hacked" to allow the use of more and custom converters (i know chdk already has the converter factor settings somewhere, but that doesnt influence the image data, just the OSD afaik).

    ok, so there is a chance i can fix my s3is to my car and drive around and later will be able to calculate a track profile (when camera is aligned with its "Long side" to the "long side" of the car) - if some kind of logging is enabled AND the values are more finegrained than 0 & 180 :D
    this is just a stupid example, i dont even own a car. 


  • Publish
    Re: Developer-friendly / experimental branch (dataghost)
    « Reply #14 on: 14 / May / 2008, 07:51:53 »
    4 display presets (2 LCD, 2 EVF).

    I think we need more information on that   :)

    *

    Offline PhyrePhoX

    • *****
    • 2253
    • make RAW not WAR
      • PhyreWorX
  • Publish
    Re: Developer-friendly / experimental branch (dataghost)
    « Reply #15 on: 14 / May / 2008, 07:57:50 »
    it's a feature the s-series has, to customize the on screen information. by pressing the disp button, you can cycle through 4 displays, 1 & 2 - the lcd, 3 & 4 - the electronic view finder.
    you can for example enable the (canon!) histogram on 2 & 4, that way you can just cycle through the displays when you need the histogram.
    offtopic though ;)

    *

    Offline pethead

    • *
    • 42
    • Canon S5 IS
      • Canon S5 IS Community
  • Publish
    Re: Developer-friendly / experimental branch (dataghost)
    « Reply #16 on: 14 / May / 2008, 12:11:01 »
    compiled your branch, run at my camera, recognize the sources... very interesting. :)

    what debug tools you are using to code? or whether GUI compiler or what system? Keil?
    I just edit source in text editor, send firmware by FirmwareUpdate.exe and test for debug on live. :)

    « Last Edit: 14 / May / 2008, 12:36:55 by pethead »
    canons5is.clan.su Allbest+ with timestamp features

    *

    Offline ISO64

    • *
    • 20
    • S3 IS + A550
  • Publish
    Re: Developer-friendly / experimental branch (dataghost)
    « Reply #17 on: 14 / May / 2008, 22:01:22 »
    Orientation sensors are commonly used in pairs: one vertical, one horizontal. And their outputs are sine and cosine function of tilt angle around lens axis. If you look at these functions (basic trigonometry) you see that for angle close to horizontal output as a sine function gives greatest resolution (output value over change in angle). The other sensor's output, as a cosine, is near the maximum and almost does not change at all, it hoovers near maximum for same change in angle.

    When camera is tilted for 90 degrees, outputs are reversed. Interstingly enough, the best combined resolution is at half angle, at 45 degrees, almost completely useless angle, except...

    That is the reason why there are two sensors for camera tilt. Also, you need both of them if you rotate camera 90 degrees left or right for portrait orientation, camera base to the right or to the left.


    *

    Offline DataGhost

    • ****
    • 314
    • EOS 40D, S5IS
      • DataGhost.com
  • Publish
    Re: Developer-friendly / experimental branch (dataghost)
    « Reply #18 on: 15 / May / 2008, 03:39:25 »
    compiled your branch, run at my camera, recognize the sources... very interesting. :)

    what debug tools you are using to code? or whether GUI compiler or what system? Keil?
    I just edit source in text editor, send firmware by FirmwareUpdate.exe and test for debug on live. :)
    Debug tools? Hex viewer (on-camera debugging), a simple profiler (just coded that in, not checked in yet) and the four debugging addresses (0x1850, +4, +4 and +4). Code editor is UltraEdit / UEStudio (though mostly UltraEdit), which I use to edit code on a samba share on my Linux dualboot, running in VMWare, which I use to compile and upload CHDK with my (hacked to accept locked cards) cardreader.
    Oh and I also use UltraEdit to read memory dumps every now and then.

    *

    Offline pethead

    • *
    • 42
    • Canon S5 IS
      • Canon S5 IS Community
  • Publish
    Re: Developer-friendly / experimental branch (dataghost)
    « Reply #19 on: 15 / May / 2008, 03:56:14 »
    thanks.
    canons5is.clan.su Allbest+ with timestamp features

     

    Related Topics