#include <ArSonyPTZ.h>
Inheritance diagram for ArSonyPacket:
There are only two functioning ways to put things into this packet, you MUST use thse, if you use anything else your commands won't work. You must use uByteToBuf and byte2ToBuf.
Public Member Functions | |
ArSonyPacket (ArTypes::UByte2 bufferSize=15) | |
Constructor. | |
virtual void | byte2ToBuf (ArTypes::Byte2 val) |
void | byte2ToBufAtPos (ArTypes::Byte2 val, ArTypes::UByte2 pose) |
This is a new function, read the details before you try to use it. | |
virtual void | uByteToBuf (ArTypes::UByte val) |
|
This is a new function, read the details before you try to use it. This function is my concession to not rebuilding a packet from scratch for every command, basicaly this is to not lose all speed over just using a character array. This is used by the default sony commands, unless you have a deep understanding of how the packets are working and what the packet structure looks like you should not play with this function, it also isn't worth it unless you'll be sending commands frequently.
|