Set absolute position command is non-functional for EVI-D100
Brought to you by:
ddouxchamps
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.
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
Logged In: YES
user_id=1750646
Originator: YES
File Added: libvisca.h
Logged In: YES
user_id=1750646
Originator: YES
Sorry about that. Uploaded the wrong files. Correct now.
File Added: libvisca.patch
Patch for both libvisca.h and libvisca.c