Device#

class pyCGM2.Nexus.Devices.Device(NEXUS, id: str)#

Represents a generic device in a pyCGM2-Nexus interface.

NEXUS#

The Vicon Nexus handle.

Type:

ViconNexus.ViconNexus

id#

The identifier of the device.

Type:

str

__init__(NEXUS, id: str)#

Initializes the Device object with a Vicon Nexus handle and device ID.

Methods

__init__(NEXUS, id)

Initializes the Device object with a Vicon Nexus handle and device ID.

getDeviceFrequency()

Returns the sampling frequency of the device.

getDeviceName()

Returns the name of the device.

getOutputNames()

Returns a list of output names from the device.

getDeviceFrequency()#

Returns the sampling frequency of the device.

Returns:

float – The sampling frequency of the device in Hertz.

getDeviceName()#

Returns the name of the device.

Returns:

str – The name of the device.

getOutputNames()#

Returns a list of output names from the device.

Returns:

List[str] – A list of output names associated with the device.