3D SCANNER with multiple Cameras - page 4 - General Discussion and Assistance - CHDK Forum

3D SCANNER with multiple Cameras

  • 42 Replies
  • 27467 Views
*

Offline reyalp

  • ******
  • 14126
Re: 3D SCANNER with multiple Cameras
« Reply #30 on: 30 / July / 2015, 01:55:30 »
Advertisements
sorry for that ,should i delete that one? 
No need.

Quote
and i tried to modify the gui live.lua you wrote for "onion" to get the function i need,but looks not working  because i can not run the CHDK PTP
If there is an error in a lua file, an error message should be printed somewhere. If you start chdkptp from the command prompt, you are more likely to see error messages early in startup.
Don't forget what the H stands for.

*

Offline cdg

  • **
  • 53
Re: 3D SCANNER with multiple Cameras
« Reply #31 on: 30 / July / 2015, 02:20:13 »
thank you .i tried it,now i have that button in CHDK PTP,but unlucky my cameras are out of power,so after my cameras could working,i will test it with my cameras   thank you  again  :lol!!

*

Offline cdg

  • **
  • 53
Re: 3D SCANNER with multiple Cameras
« Reply #32 on: 31 / July / 2015, 21:20:10 »
Hi reyalp:
    i test with my two 170is cameras ,it is working,thank you!!

*

Offline cdg

  • **
  • 53
Re: 3D SCANNER with multiple Cameras
« Reply #33 on: 01 / August / 2015, 02:16:56 »
Hi,reyalp:
   i just found this pagehttp://chdk.wikia.com/wiki/Script_commands_stub and i noticed that on the “List of buttons that can be used:” do not include all the functions which a normal camera  has,like video、 wheel-L and wheel-R.is that possible to add these functions?

*

Offline reyalp

  • ******
  • 14126
Re: 3D SCANNER with multiple Cameras
« Reply #34 on: 01 / August / 2015, 15:04:22 »
Hi,reyalp:
   i just found this pagehttp://chdk.wikia.com/wiki/Script_commands_stub and i noticed that on the “List of buttons that can be used:” do not include all the functions which a normal camera  has,like video、 wheel-L and wheel-R.is that possible to add these functions?
That's a very old, incomplete page. For script information, I would start with http://chdk.wikia.com/wiki/CHDK_Scripting_Cross_Reference_Page

To know which keys are supported on a given camera, you probably have to look at the CHDK source. kbd.c for your camera is
https://www.assembla.com/spaces/chdk/subversion/source/HEAD/trunk/platform/sx170is/kbd.c

You should be able to control the wheel with the wheel_left and wheel_right functions.

If there are keys which are present on the camera, but not supported in the port, you can probably use levent functions http://chdk.wikia.com/wiki/Lua/Lua_Reference/Levent
Don't forget what the H stands for.

*

Offline cdg

  • **
  • 53
Re: 3D SCANNER with multiple Cameras
« Reply #35 on: 14 / August / 2015, 02:49:40 »
Hi,reyalp;
    I have a problem with the USB remote shooting,i set up the Hardware following this page http://chdk.wikia.com/wiki/USB_Remote_Cable,when i click the remote button the camera get action like shooting ,but there is no photos have been saved in the SD card.
i use a power with 4.6V.

*

Offline reyalp

  • ******
  • 14126
Re: 3D SCANNER with multiple Cameras
« Reply #36 on: 14 / August / 2015, 16:24:40 »
Hi,reyalp;
FWIW, I am not an expert on the USB remote code.
Quote
    I have a problem with the USB remote shooting,i set up the Hardware following this page http://chdk.wikia.com/wiki/USB_Remote_Cable,when i click the remote button the camera get action like shooting ,but there is no photos have been saved in the SD card.
i use a power with 4.6V.
If the camera responds to the remote, that probably means the hardware is working.

I would suggest
1) observe the camera more closely to see exactly what it's doing. The Canon firmware can refuse to shoot in some cases, for example if you are in auto mode and it doesn't think the focus is right. There should be some sign in the UI if this is happening. You can also try shooting in exactly the same conditions using the shutter button instead of the remote.
2) Post exactly which remote settings you are using.
Don't forget what the H stands for.

*

Offline cdg

  • **
  • 53
Re: 3D SCANNER with multiple Cameras
« Reply #37 on: 15 / August / 2015, 21:20:40 »
Hi reyalp:
    About the USB remote problem, i made a mistake,now it is OK.
    and do you know where can i find the kbd.c  file, i find one thread that very interesting,normally i should post mine problem in that thread ,but it's locked  by you :lol
http://chdk.setepontos.com/index.php?topic=8769.40
   it's about how to let CHDK PTP and  USB Remote work together.
« Last Edit: 15 / August / 2015, 21:27:58 by cdg »

*

Offline reyalp

  • ******
  • 14126
Re: 3D SCANNER with multiple Cameras
« Reply #38 on: 15 / August / 2015, 21:54:40 »
Hi reyalp:
    About the USB remote problem, i made a mistake,now it is OK.
If you post what was wrong, it may help others who encounter the same problem in the future.
Quote
    and do you know where can i find the kbd.c  file, i find one thread that very interesting,normally i should post mine problem in that thread ,but it's locked  by you :lol
http://chdk.setepontos.com/index.php?topic=8769.40
   it's about how to let CHDK PTP and  USB Remote work together.
kbd.c is part of the CHDK source. Each port has one in its platform directory.

If you are wanting to mix USB remote and PTP, CHDK 1.4 now includes the usb_force_active (http://chdk.wikia.com/wiki/Lua/PTP_Scripting#usb_force_active) function for almost all ports.
Don't forget what the H stands for.

*

Offline cdg

  • **
  • 53
Re: 3D SCANNER with multiple Cameras
« Reply #39 on: 16 / August / 2015, 09:30:38 »
    the mistake i made is that i did not enable usb remote function in the Remote Parameters,and only give a 3.8V power :lol

 

Related Topics


SimplePortal © 2008-2014, SimplePortal