Click here to go to the first RED TEAM post in this thread.   Thread: Focus not registering.

Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 Focus not registering. 
    If I send:

    #$EXT:S:FOCUS:1400:\n
    Code:
    23 24 47 44 52 41 47 4f 4e 3a 53 3a 46 4f 43 55 53 3a 31 34 30 30 3a 0a
    I get nothing.

    If I send:
    #$EXT:G:FOCUS:1400:\n

    I get

    #$GDRAGON:C:FOCUSF:142:\n

    Code:
    23 24 47 44 52 41 47 4F 4E 3A 43 3A 46 4F 43 55 53 46 3A 31 34 32 3A 0A
    Any idea why it's not setting focus? Do I have to set both near and far? Can I not set specific meters?

    I do get:
    #$GDRAGON:C:FOCSCTRL:1:\n
    Reply With Quote  
     

  2. #2  
    Senior Member Mikael Lubtchansky's Avatar
    Join Date
    Jul 2007
    Location
    France
    Posts
    2,343
    Gavin, which AF MODE are you in ?

    G:AFMODE
    foolcat : HTML / PDF visual reports for OS X
    foolcontrol : RED camera control for OS X
    foolcontrol : RED camera control for iOS
    foolcontrol : RED camera control for Android
    foolcolor.net staying hungry, staying foolish facebook instagram
    Reply With Quote  
     

  3. #3  
    Code:
    #$GDRAGON:C:AFMODE:1:\n
    Reply With Quote  
     

  4. #4  
    Oh the lens needs the switch to be set mechanically to AF. Duh. Damn you real world problems!
    Reply With Quote  
     

  5.   Click here to go to the next RED TEAM post in this thread.
  #5  
    Also, if you are trying to do precise focus movements use HCFOCUS instead. It is unitless - so you don't know what focus you are setting, but it has much better granular support. HCFOCUS is intended for use for things like follow focus.
    Reply With Quote  
     

  6. #6  
    Quote Originally Posted by Trent Lillehaugen View Post
    Also, if you are trying to do precise focus movements use HCFOCUS instead. It is unitless - so you don't know what focus you are setting, but it has much better granular support. HCFOCUS is intended for use for things like follow focus.


    I just tried sending a few HCFOCUS codes and sending "10" or "30" put it to 1'3". Sending "100" sent it to inf. It's not corresponding to the 0-65365 range.
    Reply With Quote  
     

  7. #7  
    Senior Member Mikael Lubtchansky's Avatar
    Join Date
    Jul 2007
    Location
    France
    Posts
    2,343
    HCFOCUS requires the camera to be in manual AF mode ? lens still needs to be on AF tho.

    S:AFMODE:0:
    foolcat : HTML / PDF visual reports for OS X
    foolcontrol : RED camera control for OS X
    foolcontrol : RED camera control for iOS
    foolcontrol : RED camera control for Android
    foolcolor.net staying hungry, staying foolish facebook instagram
    Reply With Quote  
     

  8. #8  
    Yeah I switched over to AFMODE:0 same behavior. 0 gives me 1'3" 50 gives me infinity.

    Is the hex correct that I'm sending?

    Code:
    23 24 45 58 54 3a 47 3a 48 43 46 4f 43 55 53 3a 33 35 30 30 30 3a 0a
    That should be:
    #$EXT:G:HCFOCUS:35000:\n

    but I'm getting

    #$GDRAGON:C:HCFOCUS:0:\n

    in return. EVen if the focus is physically not-on close focus.

    If I try sending a HCFOCUS with something like this:
    #$GDRAGON:S:HCFOCUS:5000\n
    Code:
    23 24 47 44 52 41 47 4f 4e 3a 53 3a 48 43 46 4f 43 55 53 3a 35 30 30 30 0a
    I get MPITCH as the first response.
    Reply With Quote  
     

  9. #9  
    Ok tried this (raw encoding as UINT16 the distance thinking that might be the problem but no dice:

    23 24 45 58 54 3a 53 3a 48 43 46 4f 43 55 53 3a a4 f6 3a 0a
    Reply With Quote  
     

  10.   This is the last RED TEAM post in this thread.   #10  
    Quote Originally Posted by Gavin Greenwalt View Post
    Yeah I switched over to AFMODE:0 same behavior. 0 gives me 1'3" 50 gives me infinity.

    Is the hex correct that I'm sending?

    Code:
    23 24 45 58 54 3a 47 3a 48 43 46 4f 43 55 53 3a 33 35 30 30 30 3a 0a
    That should be:
    #$EXT:G:HCFOCUS:35000:\n

    but I'm getting

    #$GDRAGON:C:HCFOCUS:0:\n

    in return. EVen if the focus is physically not-on close focus.

    If I try sending a HCFOCUS with something like this:
    #$GDRAGON:S:HCFOCUS:5000\n
    Code:
    23 24 47 44 52 41 47 4f 4e 3a 53 3a 48 43 46 4f 43 55 53 3a 35 30 30 30 0a
    I get MPITCH as the first response.

    Your example SET string is missing the trailing colon:

    #$GDRAGON:S:HCFOCUS:5000\n
    This should be:

    #$GDRAGON:S:HCFOCUS:5000:\n

    Before using any of the HCFOCUS/IRIS/ZOOM commands you should use HCREINIT (this should calibrate the end points)


    I get MPITCH as the first response.
    This makes me think you don't quite understand the RCP flow. you are not guaranteed to get "responses" to your SET commands before you get other packets. Everything in RCP is asynchronous. Futhermore, we don't send out CURRENTS for the HC* commands as it would overload the system if someone was using a real (or simulated) hand controller.
    Reply With Quote  
     

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts