Open iomz opened 3 years ago
This can be done by creating either TDs for each interface layer and linking with rel
or a TD template of xArms that can take several protocol bindings.
From the discussion in #32 this becomes more realistic through gRPC with gRPC Server Reflection Protocol. The gRPC clients (e.g., a WoT Servient) then translate it into other machine-readable formats (e.g., TDs).
For wot-servients to interpret the capability of xArms (i.e., the C++ SDK/xarm-commander), it's a nice feature to have an option to print the capabilities for each command in a machine-readable format (e.g., JSON-LD). Implement this by either a single global command or an option for each available command.