Skip to content

Commit 9d4b4ae

Browse files
author
camilo
committed
doc update
1 parent faf6ecf commit 9d4b4ae

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

doc/qpid.dox

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -292,14 +292,13 @@
292292
*
293293
* \f$ \tau(t) = \frac{ ( \mu - 1 )dt }{ ln( |\theta_{1}| ) } + \mu \tau(t-1) \f$
294294
*
295-
* \f$ K_{c}(t) = \alpha \frac{ r_{2} \tau(t) }{ g(t)dt } \f$
295+
* \f$ K_{c}(t) = \alpha \frac{ 1.35 }{ g(t) } \left ( \frac{ \tau(t) }{ T_d } + 0.185 \right ) \f$
296296
*
297-
* \f$ K_{i}(t) = \alpha \frac{ g(t)[ 0.54 + 0.33r_{1} ] }{ r_{2}dt } \f$
297+
* \f$ K_{i}(t) = K_{c}(t) \frac {\tau(t) + 0.611 T_d}{ 2.5 T_d( \tau(t) + 0.185 T_d)} \f$
298298
*
299-
* \f$ K_{c}(t) = \alpha \frac{ K_{c}(t)dt }{ r_{2} } \f$
299+
* \f$ K_{d}(t) = \frac{ 0.37 K_{c}(t) T_d \tau(t) }{ \tau(t) + 0.185 T_d} \f$
300300
* </center>
301301
*
302-
* where \f$ r_{1} = dt/\tau(t) \f$ and \f$ r_{2} = 1.35 + 0.25r_{1} \f$
303302
*
304303
* and the remaining parameters \f$\mu\f$, \f$\alpha\f$, \f$\lambda\f$ are internally
305304
* computed for best performance.

src/include/pid.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ namespace qlibs {
219219

220220
/**
221221
* @brief Set the minimum value considered as error.
222-
* @param[in] eps The minimal error value.
222+
* @param[in] eps The minimal error value ( eps > 0 ).
223223
* @return @c true on success, otherwise return @c false.
224224
*/
225225
bool setEpsilon( const real_t eps ) noexcept;

0 commit comments

Comments
 (0)