53 if (x1.rows() != x0.rows())
59 Eigen::VectorXd
x = x0;
61 for (
int i = 0; i < u_seq.size(); ++i)
63 double cur_dt = u_seq[i].first;
82 #ifdef MESSAGE_SUPPORT
83 void OneStepPredictor::toMessage(messages::OneStepPredictor& message)
const
89 void OneStepPredictor::fromMessage(
const messages::OneStepPredictor& message, std::stringstream* issues)
95 if (message.has_system_dynamics())
99 util::get_oneof_field_type_expand_isolated(message.system_dynamics(),
"system_dynamics", type,
false, 1);
104 dynamics->fromMessage(message.system_dynamics(), issues);
110 if (message.has_integrator())
114 util::get_oneof_field_type(message.integrator(),
"explicit_integrator", type,
false);
119 integrator->fromMessage(message.integrator(), issues);