configure
Configures the CANcoder using a DSL-style configuration block.
If no prior configuration block was provided, it applies on top of the default configuration. Otherwise, it applies the custom settings defined in the block on top of the previous configuration.
Example:
engu.configure {
MagnetSensor.SensorDirection = SensorDirectionValue.Clockwise_Positive
MagnetSensor.MagnetOffset = 0.5
// ...other configuration...
}
Content copied to clipboard
Parameters
block
Lambda with receiver for CANcoderConfiguration to customize settings.