set_initial_state

Class method.

do_mpc.estimator.StateFeedback.set_initial_state(self, x0, reset_history=False)

Set the intial state of the estimator. Optionally resets the history. The history is empty upon creation of the estimator. This method is overwritten for the MHE from do_mpc.optimizer.Optimizer.

Warning

This method is depreciated. Use the x0 property of the class to set the intial state instead.

Parameters:
  • x0 (numpy array) – Initial state
  • reset_history (bool (,optional)) – Resets the history of the estimator, defaults to False
Returns:

None

Return type:

None

This page is auto-generated. Page source is not available on Github.