-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
When communicating with a cpp player using fncs.py, we are unable to use get_events() to return a list of keys - it returns an empty list. The get_value(key) method is also empty. We are trying to communicate with simB.cpp. The simA.cpp <-> simB.cpp works as expected using a broker. simA.py (below) <-> simB.cpp does not work as expected.
import fncs
fncs.initialize("""name = simA
time_delta = 1s
broker = tcp://localhost:5570
values
key
topic = simB/object.attribute
""")
fncs.initialize()
for current_time in range(1,100):
fncs.publish("object.attribute", "value_from_PythonA")
print(fncs.get_events()) # empty list
# value = fncs.get_value(key)
fncs.finalize()
@jeffdaily is this possibly related to #3 ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels