User Tools

Site Tools


lego_rip

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
lego_rip [2017/05/23 11:28] – [Equations of motion] sangsinparklego_rip [2017/06/15 10:10] (current) – [NXC code for LEGO NXT Brick] sangsinpark
Line 70: Line 70:
 {{ lego_rip_v2:rip_equ11.jpg }} {{ lego_rip_v2:rip_equ11.jpg }}
 \\ \\
-  * **HW.** Derive a transfer function if an output, y, is a α.+  * **HW.** Derive a transfer function assuming that an output, y, is a α.
 ===== Full state feedback control ===== ===== Full state feedback control =====
  
Line 161: Line 161:
 { {
    float error = refRad - Mrad;    float error = refRad - Mrad;
-   float U = PGain*error + IGain*M_errSum DGain*d_Mrad;+   float U = PGain*error + IGain*M_errSum DGain*d_Mrad;
  
    if(U > FULL_SPEED)    if(U > FULL_SPEED)
lego_rip.txt · Last modified: 2017/06/15 10:10 by sangsinpark