C# Class CSharpRoboticsLib.ControlSystems.SetPointProfile

A custom profile for a control system. Can be used for any measurable quantity (speed, displacement, time, etc.)
Inheritance: IMotionController
Afficher le fichier Open project: shockwave4488/CSharpRoboticsLib Class Usage Examples

Méthodes publiques

Méthode Description
Add ( double point, double value ) : void

Adds a setpoint to the path

Get ( double currentPoint ) : double

Get the value of the path at the current point

SetPointProfile ( ) : System

Constructs a new, empty SetPointProfile

Private Methods

Méthode Description
NearestGreater ( double currentPoint ) : Setpoint
NearestLess ( double currentPoint ) : Setpoint

Method Details

Add() public méthode

Adds a setpoint to the path
public Add ( double point, double value ) : void
point double location of the setpoint
value double value of the setpoint
Résultat void

Get() public méthode

Get the value of the path at the current point
public Get ( double currentPoint ) : double
currentPoint double point along the profile to measure
Résultat double

SetPointProfile() public méthode

Constructs a new, empty SetPointProfile
public SetPointProfile ( ) : System
Résultat System