'Subsystems' 对象没有属性 'rcp'
'Subsystems' object has no attribute 'rcp'
我是否有机会获得有关如何调试 volttron.log 文件中的此错误的提示? 'Subsystems' object has no attribute 'rcp'
这是什么意思?
回溯:
Traceback (most recent call last):
File "/var/lib/volttron/volttron/platform/vip/agent/core.py", line 117, in _loop
method(*self.args, **self.kwargs)
File "/home/volttron/.volttron/agents/4f27247d-e6bf-4e30-8ffe-6d895ac52047/setteroccvavagent-0.1/setteroccvav/agent.py", line 222, in raise_setpoints_up
result = self.vip.rcp.call('platform.actuator', 'set_multiple_points', self.core.identity, topic_values).get(timeout=30)
AttributeError: 'Subsystems' object has no attribute 'rcp'
我的代理代码具有函数 运行:
# now we can send our set_multiple_points request, use the basic form with our additional params
result = self.vip.rcp.call('platform.actuator', 'set_multiple_points', self.core.identity, topic_values).get(timeout=3)
这是我的代理代码 gist。
这是一个错字,现已在原文中修正post。
result = self.vip.rpc.call('platform.actuator', 'set_multiple_points', self.core.identity, topic_values).get(timeout=3)
我是否有机会获得有关如何调试 volttron.log 文件中的此错误的提示? 'Subsystems' object has no attribute 'rcp'
这是什么意思?
回溯:
Traceback (most recent call last):
File "/var/lib/volttron/volttron/platform/vip/agent/core.py", line 117, in _loop
method(*self.args, **self.kwargs)
File "/home/volttron/.volttron/agents/4f27247d-e6bf-4e30-8ffe-6d895ac52047/setteroccvavagent-0.1/setteroccvav/agent.py", line 222, in raise_setpoints_up
result = self.vip.rcp.call('platform.actuator', 'set_multiple_points', self.core.identity, topic_values).get(timeout=30)
AttributeError: 'Subsystems' object has no attribute 'rcp'
我的代理代码具有函数 运行:
# now we can send our set_multiple_points request, use the basic form with our additional params
result = self.vip.rcp.call('platform.actuator', 'set_multiple_points', self.core.identity, topic_values).get(timeout=3)
这是我的代理代码 gist。
这是一个错字,现已在原文中修正post。
result = self.vip.rpc.call('platform.actuator', 'set_multiple_points', self.core.identity, topic_values).get(timeout=3)