C# Class CSharpRoboticsLib.ControlSystems.MotionControlledSystem

Extendable controller for a IMotionController Controlled mechanism. Defines No Constructors.
Afficher le fichier Open project: shockwave4488/CSharpRoboticsLib

Protected Properties

Свойство Type Description
Controller IMotionController
Motor ISpeedController
Periodic WPILib.Notifier
Sensor IPIDSource
SetpointTolerance double

Méthodes publiques

Méthode Description
Start ( double period ) : void

Starts running Update periodically every period seconds

Stop ( ) : void

Stops running the Update periodically

Update ( ) : void

Updates the system based on SetPoint. If the system is in Manual, sets the motor to 0.

Method Details

Start() public méthode

Starts running Update periodically every period seconds
public Start ( double period ) : void
period double
Résultat void

Stop() public méthode

Stops running the Update periodically
public Stop ( ) : void
Résultat void

Update() public méthode

Updates the system based on SetPoint. If the system is in Manual, sets the motor to 0.
public Update ( ) : void
Résultat void

Property Details

Controller protected_oe property

The IMotionController for the system to follow
protected IMotionController Controller
Résultat IMotionController

Motor protected_oe property

The ISpeedController to be controlled by the IMotionController
protected ISpeedController Motor
Résultat ISpeedController

Periodic protected_oe property

Notifier to update the MotionControlledSystem periodically
protected Notifier,WPILib Periodic
Résultat WPILib.Notifier

Sensor protected_oe property

The IPIDSource for the IMotionController to react to
protected IPIDSource Sensor
Résultat IPIDSource

SetpointTolerance protected_oe property

Positional tolerance of the SetPoint, used in the AtSetPoint property.
protected double SetpointTolerance
Résultat double