Focus function for EOS M3 / M10 - page 8 - General Help and Assistance on using CHDK stable releases - CHDK Forum  

Focus function for EOS M3 / M10

  • 72 Replies
  • 28173 Views
*

Offline c_joerg

  • *****
  • 1251
Re: Focus function for EOS M3 / M10
« Reply #70 on: 17 / October / 2020, 14:10:14 »
Advertisements
Works with the M100 ..
With the EF 100mm f / 2.8 Macro USM / 20 shots
M100 100a, M3 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

*

Offline c_joerg

  • *****
  • 1251
Re: Focus function for EOS M3 / M10
« Reply #71 on: 17 / March / 2021, 03:44:59 »
Another quirk: with Sigma lens variables at 0x00244916/0x00244918 are updated regularly at playback mode but not in rec mode.

For example, when I attach my Sigma 12-24 the lens seems to go into spasm, ie before I use my script.I'll look into this when I get a chance.

Can you move the focus of your Sigma when the switch is on MF?
Here someone wrote that it doesn't work with the Sigma.
https://forum.chdk-treff.de/viewtopic.php?f=23&t=3665

With my Canon lenses, the focus can be moved in MF and AF.

The problem is that the ‘Stack’ mode does not work with the “M3M10M100_Focus.lua” script when the lens is on AF. I use the shoot () command for ‘Stack’. If the lens is set to AF, an auto focus is carried out with every picture. So the script doesn't work with the Sigma.

I have therefore made the following changes to ‘Stack’:

A check, if AF is on.

Code: [Select]
    local  Disable_AF = false
    if get_focus_mode() == 0 then
      print("Focus Mode is Auto ", get_focus_mode())
      Disable_AF = true
    else
      Disable_AF = false
    end

and disabling AF while using shoot.

Code: [Select]
     if Disable_AF then
        set_mf(1)
        shoot()
        set_mf(0)
      else
        shoot()
      end

With these changes, the script also works with Sigma lenses in AF mode. I updated the script in the first post.
M100 100a, M3 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

*

Offline c_joerg

  • *****
  • 1251
Re: Focus function for EOS M3 / M10
« Reply #72 on: 29 / April / 2021, 14:28:42 »
Update Script in first post with M3 121a
M100 100a, M3 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal