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
Mostrar archivo Open project: shockwave4488/CSharpRoboticsLib Class Usage Examples

Public Methods

Method 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

Method Description
NearestGreater ( double currentPoint ) : Setpoint
NearestLess ( double currentPoint ) : Setpoint

Method Details

Add() public method

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
return void

Get() public method

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

SetPointProfile() public method

Constructs a new, empty SetPointProfile
public SetPointProfile ( ) : System
return System