diff --git a/README.md b/README.md index 7ad51b4c..cff549c4 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ | [Log](https://sleitnick.github.io/RbxUtil/api/Log) | `Log = "sleitnick/log@0.1.1"` | Log class for logging to PlayFab | | [Net](https://sleitnick.github.io/RbxUtil/api/Net) | `Net = "sleitnick/net@0.2.0"` | Static networking module | | [Option](https://sleitnick.github.io/RbxUtil/api/Option) | `Option = "sleitnick/option@1.0.5"` | Represent optional values in Lua | -| [PID](https://sleitnick.github.io/RbxUtil/api/PID) | `PID = "sleitnick/pid@1.2.0"` | PID Controller class | +| [PID](https://sleitnick.github.io/RbxUtil/api/PID) | `PID = "sleitnick/pid@1.2.1"` | PID Controller class | | [Quaternion](https://sleitnick.github.io/RbxUtil/api/Quaternion) | `Quaternion = "sleitnick/quaternion@0.2.3"` | Quaternion class | | [Sequent](https://sleitnick.github.io/RbxUtil/api/Sequent) | `Sequent = "sleitnick/sequent@0.1.0"` | Sequent class | | [Ser](https://sleitnick.github.io/RbxUtil/api/Ser) | `Ser = "sleitnick/ser@1.0.5"` | Ser class for serialization and deserialization | diff --git a/modules/pid/index.d.ts b/modules/pid/index.d.ts index fdb5d489..25fa9218 100644 --- a/modules/pid/index.d.ts +++ b/modules/pid/index.d.ts @@ -32,6 +32,7 @@ interface PID { * * @param setpoint The goal for the PID. * @param input The current input. + * @param deltaTime Delta time. * @returns The updated output. */ Calculate(setpoint: number, input: number, deltaTime: number): number; diff --git a/modules/pid/init.lua b/modules/pid/init.lua index 93fadde7..6c041356 100644 --- a/modules/pid/init.lua +++ b/modules/pid/init.lua @@ -87,6 +87,7 @@ end --[=[ @param setpoint number -- The desired point to reach @param input number -- The current inputted value + @param deltaTime number -- Delta time @return output: number Calculates the new output based on the setpoint and input. For example, diff --git a/modules/pid/package.json b/modules/pid/package.json index 99dc2ed8..0959d400 100644 --- a/modules/pid/package.json +++ b/modules/pid/package.json @@ -1,6 +1,6 @@ { "name": "@rbxutil/pid", - "version": "1.2.0", + "version": "1.2.1", "main": "init.lua", "repository": "github:Sleitnick/RbxUtil", "license": "MIT", diff --git a/modules/pid/wally.toml b/modules/pid/wally.toml index fe39ac7a..32991217 100644 --- a/modules/pid/wally.toml +++ b/modules/pid/wally.toml @@ -1,7 +1,7 @@ [package] name = "sleitnick/pid" description = "PID Controller class" -version = "1.2.0" +version = "1.2.1" license = "MIT" authors = ["Stephen Leitnick"] registry = "https://github.com/UpliftGames/wally-index"