C# Class CSharpRoboticsLib.ControlSystems.ProfileFollower

An IMotionController designed to follow a MotionProfile
Inheritance: IMotionController
Datei anzeigen Open project: shockwave4488/CSharpRoboticsLib

Public Methods

Method Description
Get ( double input ) : double

Gets the motor power, using the input for the correction sensor.

ProfileFollower ( MotionProfile profile, double kv, double ka ) : System.Diagnostics

Creates a ProfileFollower to follow the specified profile.

ProfileFollower ( MotionProfile profile, double kv, double ka, IMotionController correction ) : System.Diagnostics

Creates a new ProfileFollower to follow the specified profile with an IMotionController for position correction

Method Details

Get() public method

Gets the motor power, using the input for the correction sensor.
public Get ( double input ) : double
input double
return double

ProfileFollower() public method

Creates a ProfileFollower to follow the specified profile.
public ProfileFollower ( MotionProfile profile, double kv, double ka ) : System.Diagnostics
profile MotionProfile
kv double
ka double
return System.Diagnostics

ProfileFollower() public method

Creates a new ProfileFollower to follow the specified profile with an IMotionController for position correction
public ProfileFollower ( MotionProfile profile, double kv, double ka, IMotionController correction ) : System.Diagnostics
profile MotionProfile
kv double
ka double
correction IMotionController
return System.Diagnostics