Search in sources :

Example 1 with ConfigureDynamicPIDCommand

use of com.neuronrobotics.sdk.commands.bcs.pid.DyPID.ConfigureDynamicPIDCommand in project java-bowler by NeuronRobotics.

the class DyIO method getDyPIDConfiguration.

/**
 * This method gets the current state of the DyIO channel configuration of a given PID group
 * @param group the index of the PID group to get information about
 * @return
 */
public DyPIDConfiguration getDyPIDConfiguration(int group) {
    BowlerDatagram conf = send(new ConfigureDynamicPIDCommand(group));
    DyPIDConfiguration back = new DyPIDConfiguration(conf);
    return back;
}
Also used : ConfigureDynamicPIDCommand(com.neuronrobotics.sdk.commands.bcs.pid.DyPID.ConfigureDynamicPIDCommand) BowlerDatagram(com.neuronrobotics.sdk.common.BowlerDatagram) DyPIDConfiguration(com.neuronrobotics.sdk.dyio.dypid.DyPIDConfiguration)

Aggregations

ConfigureDynamicPIDCommand (com.neuronrobotics.sdk.commands.bcs.pid.DyPID.ConfigureDynamicPIDCommand)1 BowlerDatagram (com.neuronrobotics.sdk.common.BowlerDatagram)1 DyPIDConfiguration (com.neuronrobotics.sdk.dyio.dypid.DyPIDConfiguration)1