RobotIOWaitUntilSensorsReady(ContinuousSensor) Method
Waits up to 2000ms for specified sensors to become ready. The sensors must have been enabled beforehand.
Analog sensors are enabled by default.
Namespace: RoboTx.ApiAssembly: RoboTx.Api (in RoboTx.Api.dll) Version: 2.0.0
public bool WaitUntilSensorsReady(
params ContinuousSensor[] sensors
)
Public Function WaitUntilSensorsReady (
ParamArray sensors As ContinuousSensor()
) As Boolean
member WaitUntilSensorsReady :
sensors : ContinuousSensor[] -> bool
- sensors ContinuousSensor
- One or more sensors that can report whether they are ready or not.
Booleantrue if the sensors are ready within the timeout period, false otherwise.