Menu

#9 VISCA_set_pantilt_absolute_position Does not work

open
nobody
None
5
2009-03-29
2009-03-29
Anonymous
No

The reason is invalid protocol implementation in this function:
replace:
_VISCA_append_byte(&packet, (pan_pos & 0xf0000) >> 16);
_VISCA_append_byte(&packet, (pan_pos & 0x0f000) >> 12);
_VISCA_append_byte(&packet, (pan_pos & 0x00f00) >> 8);
_VISCA_append_byte(&packet, (pan_pos & 0x000f0) >> 4);
_VISCA_append_byte(&packet, pan_pos & 0x0000f );

with:
_VISCA_append_byte(&packet, (pan_pos & 0xf000) >> 12);
_VISCA_append_byte(&packet, (pan_pos & 0x0f00) >> 8);
_VISCA_append_byte(&packet, (pan_pos & 0x00f0) >> 4);
_VISCA_append_byte(&packet, pan_pos & 0x000f );

Thanks for your work, guys!

Discussion

  • Bradley Bell

    Bradley Bell - 2009-04-20

    I have the same problem. set_pantilt_relative position doesn't work either.

    It worked fine in 1.0.0, but not anymore.

     
  • Nobody/Anonymous

    Hi, tried patch, tried without patch, tried replace code but nothing works, resp. everything works except VISCA_set_pantilt_absolute_position and VISCA_set_pantilt_relative_position.

    I am working with EVI-D100/P

    Any help somebody? any ideas?

    Thanks Stan.

     

Log in to post a comment.

MongoDB Logo MongoDB