BowlerKernel
|
The Class DCMotorOutputChannel.
Definition at line 27 of file DCMotorOutputChannel.java.
com.neuronrobotics.sdk.dyio.peripherals.DCMotorOutputChannel.DCMotorOutputChannel | ( | int | channel | ) |
Constructor. Creates an counter input input channel that is syncronous only by default.
channel | - the channel object requested from the DyIO |
Definition at line 35 of file DCMotorOutputChannel.java.
References com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral.channel, com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral.getChannel(), and com.neuronrobotics.sdk.common.DeviceManager.getSpecificDevice().
com.neuronrobotics.sdk.dyio.peripherals.DCMotorOutputChannel.DCMotorOutputChannel | ( | DyIO | dyio, |
int | channel | ||
) |
Constructor. Creates an counter input input channel that is syncronous only by default.
dyio | the dyio |
channel | - the channel object requested from the DyIO |
Definition at line 46 of file DCMotorOutputChannel.java.
References com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral.channel, and com.neuronrobotics.sdk.dyio.DyIO.getChannel().
com.neuronrobotics.sdk.dyio.peripherals.DCMotorOutputChannel.DCMotorOutputChannel | ( | DyIOChannel | channel | ) |
channel | The channel object to set up as a full duty, hardware PWM |
Definition at line 57 of file DCMotorOutputChannel.java.
References com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral.channel, com.neuronrobotics.sdk.dyio.DyIOChannelMode.DC_MOTOR_VEL, and com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral.setMode().
boolean com.neuronrobotics.sdk.dyio.peripherals.DCMotorOutputChannel.hasAsync | ( | ) |
This method is to check if this peripheral is capable to be set as up as asynchronous.
Reimplemented from com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral.
Definition at line 88 of file DCMotorOutputChannel.java.
void com.neuronrobotics.sdk.dyio.peripherals.DCMotorOutputChannel.SetVelocity | ( | float | velocity | ) |
This takes in a velocity from 100 to -100 100 is full on forward, -100 is full on backward and 0 is stop.
velocity | the velocity |
Definition at line 71 of file DCMotorOutputChannel.java.
References com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral.setValue().