def add_capability(self, capability_class):
        self.capabilities.append(capability_class(self))
Add a capability to the protocol.
dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_library/src/rosbridge_library/protocol.py/Protocol.add_capability