You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li><a href="parts_gem/reward_functions/weighted_sum_of_errors.html#gym_electric_motor.reward_functions.weighted_sum_of_errors.WeightedSumOfErrors">WeightedSumOfErrors (class in gym_electric_motor.reward_functions.weighted_sum_of_errors)</a>
7981
7975
</li>
7982
7976
<li><a href="parts_gem/reference_generators/wiener_process_reference_generator.html#gym_electric_motor.reference_generators.WienerProcessReferenceGenerator">WienerProcessReferenceGenerator (class in gym_electric_motor.reference_generators)</a>
<spanclass="sig-name descname"><spanclass="pre">control</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">state</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">reference</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../../_modules/gem_controllers/mpc_current_controller.html#MPCCurrentController.control"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink" href="#gem_controllers.mpc_current_controller.MPCCurrentController.control" title="Link to this definition"></a></dt>
383
-
<dd><p>Calculate the voltage reference.</p>
386
+
<dd><p>Compute the optimal voltage vector based on current state and reference.</p>
<spanclass="sig-name descname"><spanclass="pre">reset</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal" href="../../_modules/gem_controllers/mpc_current_controller.html#MPCCurrentController.reset"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink" href="#gem_controllers.mpc_current_controller.MPCCurrentController.reset" title="Link to this definition"></a></dt>
466
-
<dd><p>Reset all stages of the controller</p>
469
+
<dd><p>Reset the controller state including delay compensation variables.</p>
467
470
</dd></dl>
468
471
469
472
<dlclass="py method">
@@ -489,24 +492,6 @@ <h2>MPC Current Controller<a class="headerlink" href="#mpc-current-controller" t
<spanclass="sig-name descname"><spanclass="pre">u_abc_k1</span></span><aclass="headerlink" href="#gem_controllers.mpc_current_controller.MPCCurrentController.u_abc_k1" title="Link to this definition"></a></dt>
495
-
<dd><p>Load motor model constants and motor-specific state names</p>
<spanclass="sig-name descname"><spanclass="pre">u_lim</span></span><aclass="headerlink" href="#gem_controllers.mpc_current_controller.MPCCurrentController.u_lim" title="Link to this definition"></a></dt>
501
-
<dd><p>Setup coordinate transforms and precompute voltage combinations</p>
<spanclass="sig-name descname"><spanclass="pre">w_q</span></span><aclass="headerlink" href="#gem_controllers.mpc_current_controller.MPCCurrentController.w_q" title="Link to this definition"></a></dt>
507
-
<dd><p>Assign self.step from the environment wrapper, default to 0 if no DeadTimeProcessor</p>
508
-
</dd></dl>
509
-
510
495
</dd></dl>
511
496
512
497
</section>
@@ -561,6 +546,8 @@ <h2>Example Usage<a class="headerlink" href="#example-usage" title="Link to this
0 commit comments