Skip to content

Commit

Permalink
BUG: Initialize _Controller Init Parameters (#703)
Browse files Browse the repository at this point in the history
* BUG: add rail buttons checks in add_surfaces

* BUG: restart rail buttons components

* BUG: save initial_observed_variables on self

* ENH: create self.base_controller_function

* DEV: updates changelog

---------

Co-authored-by: Gui-FernandesBR <[email protected]>
Co-authored-by: Gui-FernandesBR <[email protected]>
  • Loading branch information
3 people authored Oct 9, 2024
1 parent 3be4cce commit 57f1e79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Attention: The newest changes should be on top -->

### Fixed

- BUG: Initialize _Controller Init Parameters [#703](https://github.com/RocketPy-Team/RocketPy/pull/703)
- BUG: Rail Buttons Not Accepted in Add Surfaces [#701](https://github.com/RocketPy-Team/RocketPy/pull/701)
- BUG: Vector encoding breaks MonteCarlo export. [#704](https://github.com/RocketPy-Team/RocketPy/pull/704)
- BUG: Single Point Functions Can Not Be Defined [#700](https://github.com/RocketPy-Team/RocketPy/pull/700)
Expand Down
2 changes: 2 additions & 0 deletions rocketpy/control/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,10 @@ def __init__(
None
"""
self.interactive_objects = interactive_objects
self.base_controller_function = controller_function
self.controller_function = self.__init_controller_function(controller_function)
self.sampling_rate = sampling_rate
self.initial_observed_variables = initial_observed_variables
self.name = name
self.prints = _ControllerPrints(self)

Expand Down

0 comments on commit 57f1e79

Please sign in to comment.