I need help with quadrotor_propulsion.cpp code

asked 2018-01-09 07:14:27 -0500

Kwiat gravatar image

updated 2018-01-09 08:15:20 -0500

jayess gravatar image

Here's the code, I am trying to understand it, but I don't understand any of these variables, for example:

boost::array<real_T,4>  x;
boost::array<real_T,4>  x_pred;
boost::array<real_T,10> u;  (line 79, why do we have 10 here ?)
boost::array<real_T,14> y; (line 80 of the code, why do we have 14 here) ?


I would really appreciate if you explained to me this, at least a little bit. I don't know on what dynamic model this code was based on, that is why I don't understand it.

edit retag flag offensive close merge delete