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

Use Oneof to handle polymorphism (set_position, set_servo_angle) #42

Closed jo-bru closed 3 years ago

jo-bru commented 3 years ago

Use the Oneof keyword in the .proto description to handle the polymorphism of the motion methods. See proto3 docs for further information.

This may be used for the following methods:

iomz commented 3 years ago

~I don't think this is a good idea. This will undermine the transparency.~

jo-bru commented 3 years ago

Hmm.. let's discuss this in today's meeting

iomz commented 3 years ago

My bad, I take down the first comment.