Actuator-Controller-HITL/code/Object_Sharing.py
SchrodingerError 482d724e20 Initial Commit
2024-08-14 14:42:16 -05:00

9 lines
218 B
Python

class SharedFloat:
def __init__(self, initial_value:float=0.0):
self.value = initial_value
def get(self):
return self.value
def set(self, new_value):
self.value = new_value