Complex programs - General Discussion and Assistance - CHDK Forum
supplierdeeply

Complex programs

  • 5 Replies
  • 1848 Views
Complex programs
« on: 16 / November / 2012, 11:45:36 »
Advertisements
Hi all
I got many Sx130IS
I need to perform complex operations on all of them
I cannot use LUA since its buggy on this cam
I cannot use UBASIC since it does not provide me functionalities i need (rename, delete, event-proc, etc...)

Is there another way to code? another language? (Im a senior programmer)
I saw that chdk core is in C, would it be possible to code somehow in C all the features I need?
Any tip on where to start from?
thx

Re: Complex programs
« Reply #1 on: 16 / November / 2012, 11:56:15 »
If you can setup a build environment for CHDK  (CHDK-Shell is an easy way to do that in Windows) and you are competent in C then you can easily make your own custom version of CHDK that should do what you want.  You can hack code into the keyboard task or even create your own task ( i.e. look at the task_blinker() code in the boot.c file of the G10 code for an example of how to do that).

Lots of good information here : http://chdk.wikia.com/wiki/For_Developers  - probably way more than you need as you will not be porting to a new camera and so not need to do any assembler programming or dissassembly.
« Last Edit: 16 / November / 2012, 12:00:28 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Complex programs
« Reply #2 on: 16 / November / 2012, 12:42:10 »
would it be possible to code somehow in C all the features I need?


What features do you need ?

Are you working on 3D modelling applications ?


*

Offline lapser

  • *****
  • 1093
Re: Complex programs
« Reply #3 on: 16 / November / 2012, 13:23:13 »
I cannot use LUA since its buggy on this cam
Do you have a link describing bugs in Lua? The language itself seem fine to me. The only problems I have are related to the camera interface, not Lua.
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos


Re: Complex programs
« Reply #4 on: 16 / November / 2012, 15:28:32 »
Do you have a link describing bugs in Lua? The language itself seem fine to me. The only problems I have are related to the camera interface, not Lua.
http://chdk.setepontos.com/index.php?topic=8273.0
enjoy !
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Complex programs
« Reply #5 on: 16 / November / 2012, 15:53:08 »

What features do you need ?

Are you working on 3D modelling applications ?

No, I'm doing bullet time effect with 60 cams and I need to sync times, rename files and other stuff

 

Related Topics