Skip to content
Snippets Groups Projects
Commit 8105220d authored by Christian Darsow-Fromm's avatar Christian Darsow-Fromm
Browse files

saving tempfeedback

closes #171
parent d2f00893
Branches
Tags v0.9.1-rc2
No related merge requests found
......@@ -109,7 +109,7 @@ class Servo:
Choose an optional name for this servo.
"""
DONT_SERIALIZE = ['_adw', '_subProcess', '_fifoBuffer']
DONT_SERIALIZE = ['_adw', '_subProcess', '_fifoBuffer', '_tempFeedback']
JSONPICKLE = ['servoDesign']
MIN_REFRESH_TIME = .02
DEFAULT_FILTERS = [
......
......@@ -531,6 +531,7 @@ class TestServo(unittest.TestCase):
self.s.servoDesign.integrator(400)
dc = io.read('{}/fra.csv'.format(tests_dir))
self.s.servoDesign.plant = dc
self.s.tempFeedbackStart(1, (1, 1))
servoDesign_str = self.s.servoDesign.__str__()
plant = self.s.servoDesign.plant.copy()
self.s.saveJsonToFile('servo.json')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment