Interactions-HSG / xarm-grpc

A command-line interface for xArm-C++-SDK to interact with UFACTORY xArms
Eclipse Public License 2.0
5 stars 0 forks source link

Capability exposure through stdout in JSON-LD format #19

Open iomz opened 3 years ago

iomz commented 3 years ago

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.

iomz commented 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.

iomz commented 3 years ago

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).