mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 10:58:49 +08:00
libs/libdsp: Trivial typo fixes from review of last PR; hook README file into documentation.
This commit is contained in:
parent
b5ec5349b0
commit
1c4bdfd8fc
4 changed files with 7 additions and 4 deletions
|
@ -8,7 +8,7 @@
|
||||||
<tr align="center" bgcolor="#e4e4e4">
|
<tr align="center" bgcolor="#e4e4e4">
|
||||||
<td>
|
<td>
|
||||||
<h1><big><font color="#3c34ec"><i>NuttX README Files</i></font></big></h1>
|
<h1><big><font color="#3c34ec"><i>NuttX README Files</i></font></big></h1>
|
||||||
<p>Last Updated: May 29, 2018</p>
|
<p>Last Updated: May 30, 2018</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
@ -390,6 +390,8 @@ nuttx/
|
||||||
| |- libc/
|
| |- libc/
|
||||||
| | |- <a href="https://bitbucket.org/nuttx/nuttx/src/master/libs/libc/zoneinfo/README.txt" target="_blank">zoneinfo/README.txt</a>
|
| | |- <a href="https://bitbucket.org/nuttx/nuttx/src/master/libs/libc/zoneinfo/README.txt" target="_blank">zoneinfo/README.txt</a>
|
||||||
| | `- <a href="https://bitbucket.org/nuttx/nuttx/src/master/libs/libc/README.txt" target="_blank"><b><i>README.txt</i></b></a>
|
| | `- <a href="https://bitbucket.org/nuttx/nuttx/src/master/libs/libc/README.txt" target="_blank"><b><i>README.txt</i></b></a>
|
||||||
|
| |- libdsp/
|
||||||
|
| | `- <a href="https://bitbucket.org/nuttx/nuttx/src/master/libs/libdsp/README.txt" target="_blank"><b><i>README.txt</i></b></a>
|
||||||
| |- libnx/
|
| |- libnx/
|
||||||
| | |- <a href="https://bitbucket.org/nuttx/nuttx/src/master/libs/libnx/nxfonts/README.txt" target="_blank">libnx/README.txt</a>
|
| | |- <a href="https://bitbucket.org/nuttx/nuttx/src/master/libs/libnx/nxfonts/README.txt" target="_blank">libnx/README.txt</a>
|
||||||
| | `- <a href="https://bitbucket.org/nuttx/nuttx/src/master/libs/libnx/README.txt" target="_blank"><b><i>README.txt</i></b></a>
|
| | `- <a href="https://bitbucket.org/nuttx/nuttx/src/master/libs/libnx/README.txt" target="_blank"><b><i>README.txt</i></b></a>
|
||||||
|
|
|
@ -1981,6 +1981,8 @@ nuttx/
|
||||||
| | |- zoneinfo
|
| | |- zoneinfo
|
||||||
| | | `- README.txt
|
| | | `- README.txt
|
||||||
| | `- README.txt
|
| | `- README.txt
|
||||||
|
| |- libdsp/
|
||||||
|
| | `- README.txt
|
||||||
| |- libnx/
|
| |- libnx/
|
||||||
| | |- nxfongs
|
| | |- nxfongs
|
||||||
| | | `- README.txt
|
| | | `- README.txt
|
||||||
|
|
|
@ -54,7 +54,6 @@
|
||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: motor_observer_init
|
* Name: motor_observer_init
|
||||||
*
|
*
|
||||||
|
@ -317,7 +316,7 @@ void motor_observer_smo(FAR struct motor_observer_s *observer, FAR ab_frame_t *i
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
/* Some assertions
|
/* Some assertions
|
||||||
* TODO: simplyfy
|
* TODO: simplify
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (angle != angle) angle = 0.0;
|
if (angle != angle) angle = 0.0;
|
||||||
|
|
|
@ -250,7 +250,7 @@ float pid_controller(FAR pid_controller_t *pid, float err)
|
||||||
|
|
||||||
pid->part[2] = pid->KD * (err - pid->err_prev);
|
pid->part[2] = pid->KD * (err - pid->err_prev);
|
||||||
|
|
||||||
/* Add diverative part to the PI part */
|
/* Add derivative part to the PI part */
|
||||||
|
|
||||||
pid->out += pid->part[2];
|
pid->out += pid->part[2];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue