OpenCyphal / pycyphal

Python implementation of the Cyphal protocol stack.
https://pycyphal.readthedocs.io/
MIT License
120 stars 105 forks source link

Provide an option for the Registry to load register values from a YAML file #249

Open pavel-kirienko opened 2 years ago

pavel-kirienko commented 2 years ago

The YAML file should be of the Yakut/Yukon export format without the node-ID; that is:

uavcan.sub.readiness.id:            10
uavcan.sub.setpoint_dyn.id:         21
uavcan.sub.setpoint_vel.id:         22
uavcan.sub.setpoint_r_volt.id:      23
uavcan.sub.setpoint_r_torq.id:      24
uavcan.sub.setpoint_r_volt_u9.id:   25
uavcan.sub.setpoint_r_torq_u9.id:   26

uavcan.pub.feedback.id:             100
uavcan.pub.dynamics.id:             110
uavcan.pub.power.id:                120
uavcan.pub.status.id:               130
uavcan.pub.compact.id:              140
uavcan.pub.dq.id:                   150
uavcan.pub.temp.id:                 160

uavcan.srv.low_level_io.id:         10