C# Class CSharpRoboticsLib.ControlSystems.MotionProfile

Creates a trapezoidal motion profile
Afficher le fichier Open project: shockwave4488/CSharpRoboticsLib Class Usage Examples

Méthodes publiques

Méthode Description
GetAcceleration ( double time ) : double

Gets the expected acceleration at a specific time

GetPosition ( double time ) : double

Gets the expected position at a specific time

GetVelocity ( double time ) : double

Gets the expected velocity at a specific time

MotionProfile ( double distance, double maxVelocity, double acceleration, double dt ) : System

Creates a new MotionProfile that works under the constraints specified.

ToString ( ) : string

String format of a MotionProfile

Private Methods

Méthode Description
Get ( double time ) : MotionSetpoint

Method Details

GetAcceleration() public méthode

Gets the expected acceleration at a specific time
public GetAcceleration ( double time ) : double
time double
Résultat double

GetPosition() public méthode

Gets the expected position at a specific time
public GetPosition ( double time ) : double
time double
Résultat double

GetVelocity() public méthode

Gets the expected velocity at a specific time
public GetVelocity ( double time ) : double
time double
Résultat double

MotionProfile() public méthode

Creates a new MotionProfile that works under the constraints specified.
public MotionProfile ( double distance, double maxVelocity, double acceleration, double dt ) : System
distance double
maxVelocity double
acceleration double
dt double Time interval each point will be calculated for
Résultat System

ToString() public méthode

String format of a MotionProfile
public ToString ( ) : string
Résultat string