def getCurrent(self, channel: int) -> float: """ Query the current of a single channel of the PDP :returns: The current of one of the PDP channels (channels 0-15) in Amperes """ SensorUtil.checkPDPChannel(channel) return hal.getPDPChannelCurrent(self.handle, channel)
def getCurrent(self, channel): """ Query the current of a single channel of the PDP :returns: The current of one of the PDP channels (channels 0-15) in Amperes :rtype: float """ SensorBase.checkPDPChannel(channel) return hal.getPDPChannelCurrent(channel)
def getCurrent(self, channel): """ Query the current of a single channel of the PDP :returns: The current of one of the PDP channels (channels 0-15) in Amperes :rtype: float """ SensorBase.checkPDPChannel(channel) return hal.getPDPChannelCurrent(self.module, channel)