BowlerKernel
Public Member Functions | List of all members
com.neuronrobotics.sdk.common.IClosedLoopController Interface Reference

Public Member Functions

double compute (double currentState, double target, double seconds)
 

Detailed Description

Definition at line 3 of file IClosedLoopController.java.

Member Function Documentation

◆ compute()

double com.neuronrobotics.sdk.common.IClosedLoopController.compute ( double  currentState,
double  target,
double  seconds 
)

This is an interface for a single axis generic closed loop controller Linear PID controllers are the simplest form, but any other form of control could be implemented that opperates on this interface

Parameters
currentStatethe value that reperesents the curent state of the linear system
targetthe desired target state of the control system
secondsthe amount of time this computation should calculate the velocity for.
Returns
the velocity set of the controller

Referenced by com.neuronrobotics.bowlerstudio.physics.HingeCSGPhysicsManager.update(), and com.neuronrobotics.bowlerstudio.physics.WheelCSGPhysicsManager.update().


The documentation for this interface was generated from the following file: