BowlerKernel
|
Public Member Functions | |
ImageCommand (int chan, double scale) | |
ImageCommand (int camera, int chunk, int totalChunks, byte[] imgData) | |
![]() | |
byte[] | getCallingData () |
void | setOpCode (String opCode) |
String | getOpCode () |
void | setMethod (BowlerMethod method) |
BowlerMethod | getMethod () |
byte | getLength () |
BowlerDatagram | validate (BowlerDatagram data) throws InvalidResponseException |
byte[] | getBytes () |
String | toString () |
void | setData (ByteList data) |
ByteList | getCallingDataStorage () |
void | setNamespaceIndex (int namespaceIndex) |
int | getNamespaceIndex () |
Additional Inherited Members | |
![]() | |
static BowlerAbstractCommand | parse (BowlerDatagram data) |
The Class ImageCommand.
Definition at line 10 of file ImageCommand.java.
com.neuronrobotics.sdk.commands.neuronrobotics.bowlercam.ImageCommand.ImageCommand | ( | int | chan, |
double | scale | ||
) |
Instantiates a new image command.
chan | the chan |
scale | the scale |
Definition at line 18 of file ImageCommand.java.
References com.neuronrobotics.sdk.common.ByteList.add(), com.neuronrobotics.sdk.common.ByteList.addAs32(), com.neuronrobotics.sdk.common.BowlerMethod.GET, com.neuronrobotics.sdk.common.BowlerAbstractCommand.getCallingDataStorage(), com.neuronrobotics.sdk.common.BowlerAbstractCommand.setMethod(), and com.neuronrobotics.sdk.common.BowlerAbstractCommand.setOpCode().
com.neuronrobotics.sdk.commands.neuronrobotics.bowlercam.ImageCommand.ImageCommand | ( | int | camera, |
int | chunk, | ||
int | totalChunks, | ||
byte[] | imgData | ||
) |
Instantiates a new image command.
camera | the camera |
chunk | the chunk |
totalChunks | the total chunks |
imgData | the img data |
Definition at line 33 of file ImageCommand.java.
References com.neuronrobotics.sdk.common.ByteList.add(), com.neuronrobotics.sdk.common.ByteList.addAs16(), com.neuronrobotics.sdk.common.BowlerAbstractCommand.getCallingDataStorage(), com.neuronrobotics.sdk.common.BowlerMethod.POST, com.neuronrobotics.sdk.common.BowlerAbstractCommand.setMethod(), and com.neuronrobotics.sdk.common.BowlerAbstractCommand.setOpCode().