const { PIDController, CascadePIDController } = require('./PIDController');

/**
 * Convenience factories.
 */
const createPidController = (options) => new PIDController(options);
const createCascadePidController = (options) => new CascadePIDController(options);

module.exports = {
  PIDController,
  CascadePIDController,
  createPidController,
  createCascadePidController,
};
