-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
Hi,
While trying to utilise NodeMonitor to keep track of devices on the bus I found that it does not collect information from NodeStatus updates and doesn't call update handler. While debugging this problem (as I'm sure there are nodes and communication is ok, and everything works great in dronecan gui tool) I found that in my case _on_node_status handler is never called and I tracked it down to adding handlers in NodeMonitor init
Strangely, if I change uavcan.protocol.NodeStatus to dronecan.uavcan.protocol.NodeStatus in line 92 of node_monitor.py
pydronecan/dronecan/app/node_monitor.py
Line 92 in 8dd60c5
| self._handle = node.add_handler(uavcan.protocol.NodeStatus, self._on_node_status) # @UndefinedVariable |
NodeMonitor starts to receive NodeStatus messages and everything starts working. Is it a bug (which I can hardly believe) or maybe some known issue?
Best regards,
Victor Belov
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels