OpenCyphal / yukon

The OpenCyphal IDE
https://opencyphal.org
MIT License
16 stars 0 forks source link

Tell the user when the Babel is disconnected and also remove the transport #262

Open silverv opened 1 year ago

silverv commented 1 year ago

22-12-23 17:12:38 pycyphal.application.heartbeat_publisher W: HeartbeatPublisher(heartbeat=uavcan.node.Heartbeat.1.0(uptime=190, health=uavcan.node.Health.1.0(value=0), mode=uavcan.node.Mode.1.0(value=0), vendor_specific_status_code=0), priority=NOMINAL, period=1.0) heartbeat send timed out 22-12-23 17:12:39 pycyphal.transport.can._can I: CANTransport(PythonCANMedia('slcan:COM10', mtu=8), local_node_id=127): 1 frames of 1 total with CAN ID 0x107d557f could not be sent before the deadline

These messages can be used to detect this, @pavel-kirienko is there anything more reliable to tell that this was disconnected? This seems very specific although it would work.

pavel-kirienko commented 1 year ago

Uhm, this is blocked on https://github.com/OpenCyphal/pycyphal/issues/227

silverv commented 1 year ago

I think a reconnect button would be nice too, there is a significant UX problem associated with the select transport select box.