PositionThroughVelocityControllerWithAccelerationAndPositionBounds Struct Reference

#include <RobotAPI/components/units/RobotUnit/BasicControllers.h>

+ Inheritance diagram for PositionThroughVelocityControllerWithAccelerationAndPositionBounds:

Public Member Functions

float run () const
bool validParameters () const
- Public Member Functions inherited from PositionThroughVelocityControllerWithAccelerationBounds
float calculateProportionalGain () const
float estimateTime () const
bool getCurrentlyPIDActive () const
 PositionThroughVelocityControllerWithAccelerationBounds ()
float run () const
bool validParameters () const

Public Attributes

float positionLimitHi
float positionLimitLo
- Public Attributes inherited from PositionThroughVelocityControllerWithAccelerationBounds
float acceleration
float accuracy = 0.001
float currentPosition
float currentV
float deceleration
float dt
float maxDt
float maxV
float pControlPosErrorLimit = 0.01
float pControlVelLimit
std::shared_ptr< PIDControllerpid
float targetPosition

Detailed Description

Definition at line 425 of file BasicControllers.h.

Member Function Documentation

◆ run()

float run ( ) const

Definition at line 758 of file BasicControllers.cpp.

+ Here is the call graph for this function:

◆ validParameters()

bool validParameters ( ) const

Definition at line 749 of file BasicControllers.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ positionLimitHi

float positionLimitHi

Definition at line 429 of file BasicControllers.h.

◆ positionLimitLo

float positionLimitLo

Definition at line 428 of file BasicControllers.h.

The documentation for this struct was generated from the following files: