Skip to content

Commit 57f1e79

Browse files
BUG: Initialize _Controller Init Parameters (#703)
* 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]>
1 parent 3be4cce commit 57f1e79

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Attention: The newest changes should be on top -->
4040

4141
### Fixed
4242

43+
- BUG: Initialize _Controller Init Parameters [#703](https://github.com/RocketPy-Team/RocketPy/pull/703)
4344
- BUG: Rail Buttons Not Accepted in Add Surfaces [#701](https://github.com/RocketPy-Team/RocketPy/pull/701)
4445
- BUG: Vector encoding breaks MonteCarlo export. [#704](https://github.com/RocketPy-Team/RocketPy/pull/704)
4546
- BUG: Single Point Functions Can Not Be Defined [#700](https://github.com/RocketPy-Team/RocketPy/pull/700)

rocketpy/control/controller.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,10 @@ def __init__(
8484
None
8585
"""
8686
self.interactive_objects = interactive_objects
87+
self.base_controller_function = controller_function
8788
self.controller_function = self.__init_controller_function(controller_function)
8889
self.sampling_rate = sampling_rate
90+
self.initial_observed_variables = initial_observed_variables
8991
self.name = name
9092
self.prints = _ControllerPrints(self)
9193

0 commit comments

Comments
 (0)