C# Класс CSharpRoboticsLib.ControlSystems.MotionProfile

Creates a trapezoidal motion profile
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
Get ( double time ) : MotionSetpoint

Описание методов

GetAcceleration() публичный Метод

Gets the expected acceleration at a specific time
public GetAcceleration ( double time ) : double
time double
Результат double

GetPosition() публичный Метод

Gets the expected position at a specific time
public GetPosition ( double time ) : double
time double
Результат double

GetVelocity() публичный Метод

Gets the expected velocity at a specific time
public GetVelocity ( double time ) : double
time double
Результат double

MotionProfile() публичный Метод

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
Результат System

ToString() публичный Метод

String format of a MotionProfile
public ToString ( ) : string
Результат string