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
Fundamental to where we want to take this library we cannot be limited by only facilitating EPICS level commands. This is relatively well captured but it is easy within the current paradigm to allow EPICS things to creep into a place where they should not be.
) # TODO: some standard notion of stop function could be valuable
Possible Solution
This may require making an enum that we gets set by the results of the type of node specified in the config json file and parsed by tree_config.py that gets passed the action node, there are other alternatives as well.
The text was updated successfully, but these errors were encountered:
joshc-slac
changed the title
Maintain rigor of ActionNodes and ActionWorker being task agnostic
Keep Serialization, Behavior Trees, EPICS unentwined in code
Sep 25, 2024
Current Behavior
Fundamental to where we want to take this library we cannot be limited by only facilitating EPICS level commands. This is relatively well captured but it is easy within the current paradigm to allow EPICS things to creep into a place where they should not be.
Case and point:
BEAMS/beams/behavior_tree/ActionWorker.py
Line 37 in ac37dff
ActionWorker should default to spawning a Process and take as argument from its ActionNode parent what type of process this is.:
BEAMS/beams/behavior_tree/ActionNode.py
Lines 83 to 90 in ac37dff
Possible Solution
This may require making an enum that we gets set by the results of the type of node specified in the config json file and parsed by tree_config.py that gets passed the action node, there are other alternatives as well.
The text was updated successfully, but these errors were encountered: