Search in sources :

Example 1 with ConfigurePIDCommand

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

the class LegacyPidNamespaceImp method getPIDConfiguration.

@Override
public /* (non-Javadoc)
	 * @see com.neuronrobotics.sdk.namespace.bcs.pid.IPidControlNamespace#getPIDConfiguration
	 */
PIDConfiguration getPIDConfiguration(int group) {
    BowlerDatagram conf = getDevice().send(new ConfigurePIDCommand((char) group));
    PIDConfiguration back = new PIDConfiguration(conf);
    return back;
}
Also used : BowlerDatagram(com.neuronrobotics.sdk.common.BowlerDatagram) PIDConfiguration(com.neuronrobotics.sdk.pid.PIDConfiguration) ConfigurePIDCommand(com.neuronrobotics.sdk.commands.bcs.pid.ConfigurePIDCommand)

Aggregations

ConfigurePIDCommand (com.neuronrobotics.sdk.commands.bcs.pid.ConfigurePIDCommand)1 BowlerDatagram (com.neuronrobotics.sdk.common.BowlerDatagram)1 PIDConfiguration (com.neuronrobotics.sdk.pid.PIDConfiguration)1