I'm really willing to understand and implement such a controller (sliding mode) for a quadrotor. I've found this interesting document explaining that topic. If you scroll down until page 381 (don't be scared, the document is just 6-7 pages) you can find the following height control law (equation .19):
$$ U_1 = \frac{m}{\cos{\phi}\cos{\theta}}[c_1(\dot z_r - \dot z) + \ddot z_r + \epsilon_1 sgn(s_1) + k_1 s_1 + g] $$
The explanation of most of the term should be quite easy, but let's focus on the variable z, the height (or altitude if absolute) of the quadrotor. Anyway the control law "pretends" not only the goal height z (through $s_{1}$) but even the vertical speed $\dot z_{r}$ and vertical acceleration $\ddot z_{r}$ (r means here reference).
Now...to me is not clear whether those variables the setpoints are, that must be reached once the quadrotor reaches its predefined height or they just symbolize an abstract mathematical formalism but are going to be most of the time Zero (because I want to reach the target height with $z = z_{r}$ but $\dot z_{r} = \ddot z_{r} = 0$)
?!?!?
I hope my question is clear. Even if this I put in the title "sliding control" I think it may be helpful for other type of controllers. Regards