BowlerKernel
Public Member Functions | List of all members
com.neuronrobotics.sdk.commands.neuronrobotics.dyio.PowerCommand Class Reference
Inheritance diagram for com.neuronrobotics.sdk.commands.neuronrobotics.dyio.PowerCommand:
Inheritance graph
[legend]
Collaboration diagram for com.neuronrobotics.sdk.commands.neuronrobotics.dyio.PowerCommand:
Collaboration graph
[legend]

Public Member Functions

 PowerCommand ()
 
 PowerCommand (boolean disableBrownOutDetect)
 
- Public Member Functions inherited from com.neuronrobotics.sdk.common.BowlerAbstractCommand
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 Public Member Functions inherited from com.neuronrobotics.sdk.common.BowlerAbstractCommand
static BowlerAbstractCommand parse (BowlerDatagram data)
 

Detailed Description

The Class PowerCommand.

Definition at line 10 of file PowerCommand.java.

Constructor & Destructor Documentation

◆ PowerCommand() [1/2]

com.neuronrobotics.sdk.commands.neuronrobotics.dyio.PowerCommand.PowerCommand ( )

Instantiates a new power command.

Definition at line 15 of file PowerCommand.java.

References com.neuronrobotics.sdk.common.BowlerMethod.GET, com.neuronrobotics.sdk.common.BowlerAbstractCommand.setMethod(), and com.neuronrobotics.sdk.common.BowlerAbstractCommand.setOpCode().

Here is the call graph for this function:

◆ PowerCommand() [2/2]

com.neuronrobotics.sdk.commands.neuronrobotics.dyio.PowerCommand.PowerCommand ( boolean  disableBrownOutDetect)

This method will disable the brownout detect for the DyIO.

Parameters
disableBrownOutDetectthe disable brown out detect

Definition at line 25 of file PowerCommand.java.

References com.neuronrobotics.sdk.common.ByteList.add(), com.neuronrobotics.sdk.common.BowlerMethod.CRITICAL, com.neuronrobotics.sdk.common.BowlerAbstractCommand.getCallingDataStorage(), com.neuronrobotics.sdk.common.BowlerAbstractCommand.setMethod(), and com.neuronrobotics.sdk.common.BowlerAbstractCommand.setOpCode().

Here is the call graph for this function:

The documentation for this class was generated from the following file: