Menu

#6 Set absolute position command is non-functional for EVI-D100

open
nobody
None
5
2008-05-07
2008-05-07
No

The VISCA_set_pantilt_absolute_position and VISCA_set_pantilt_relative_position are non-functional with a Sony EVI-D100 camera. The functions return VISCA_SUCCESS without causing the camera position to change.

Note also that the testvisca program would be more useful if it displayed the absolute and relative positions it intends to move the camera to, so that it's more obvious to the user if the intended and actual positions don't match.

I would be happy to help in testing any fixes or in providing any additional information that could be useful.

Discussion

  • Dan Homerick

    Dan Homerick - 2008-05-15

    Logged In: YES
    user_id=1750646
    Originator: YES

    Attaching a patch which fixes absolute and relative commands, and which tries to improve the error reporting by returning the exact VISCA error code instead of just VISCA_FAILURE. Also added a

    void VISCA_print_error_type(unsigned int error);

    function which prints the error type to stderr in human-readable form.

    Thanks to Clemens Blumer for also finding and correcting the absolute and relative problem!
    File Added: libvisca.c

     
  • Dan Homerick

    Dan Homerick - 2008-05-15

    Logged In: YES
    user_id=1750646
    Originator: YES

    File Added: libvisca.h

     
  • Dan Homerick

    Dan Homerick - 2008-05-16

    Logged In: YES
    user_id=1750646
    Originator: YES

    Sorry about that. Uploaded the wrong files. Correct now.
    File Added: libvisca.patch

     
  • Dan Homerick

    Dan Homerick - 2008-05-16

    Patch for both libvisca.h and libvisca.c

     

Log in to post a comment.

MongoDB Logo MongoDB