Sendable

class wpilib.Sendable[source]

Bases: object

The base interface for objects that can be sent over the network through network tables

getName()[source]

Gets the name of this Sendable object.

Return type:str
Returns:Name
getSubsystem()[source]

Gets the subsystem name of this Sendable object.

Return type:str
Returns:subsystem name
initSendable(builder)[source]

Initializes this Sendable object.

Parameters:builder (SendableBuilder) – sendable builder
Return type:None
setName(subsystem, name=None)[source]

Sets the name (and optionally the subsystem name) of this Sendable object.

This may be called with two different sets of parameters:

  • name
  • subsystem, name
Parameters:
  • subsystem (str) – subsystem name
  • name (str) – Name
Return type:

None

setSubsystem(subsystem)[source]

Sets the subsystem name of this Sendable object.

Parameters:subsystem (str) – subsystem name
Return type:None