Skip to content

Commit 815653a

Browse files
author
Dexter Watkins
committed
added get functions that somehow were missing
1 parent 319ca74 commit 815653a

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

src/pid/include/pid/pid.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,21 @@ class PID
8585
{
8686
isLimited_ = false;
8787
};
88+
89+
double getKp()
90+
{
91+
return kp_;
92+
};
93+
94+
double getKd()
95+
{
96+
return kd_;
97+
};
98+
99+
double getKi()
100+
{
101+
return ki_;
102+
};
88103

89104
double getPoint()
90105
{

0 commit comments

Comments
 (0)