Click or drag to resize

BaseDistanceSensorReEvaluateMeasurements Method

Re-evaluates measurements and re-measures invalid locations to make sure the position can either not be measured or the measurement is correct. Sets the average Peak and RawPeak values to the original results.

Namespace: RAYLASE.Marker.Device.DistanceSensor
Assembly: RAYLASE.Marker.Device (in RAYLASE.Marker.Device.dll) Version: 2.26.1
Syntax
C#
protected abstract void ReEvaluateMeasurements(
	ref List<BaseDistanceSensorResult> results,
	IList<dvec3>? positions = null,
	double auxBiasPercent = 0,
	double? jumpSpeed = null,
	double? jumpDelay = null,
	CancellationToken? cancellationToken = null
)

Parameters

results  ListBaseDistanceSensorResult
Measurement results to be re-evaluated.
positions  IListdvec3  (Optional)
XYZ positions to measure the distance at. Measure at current position if position is null.
auxBiasPercent  Double  (Optional)
Bias of the aux axis to use for the measurement, in percent.
jumpSpeed  NullableDouble  (Optional)
Jump speed to move to new position. Use JumpSpeed if null.
jumpDelay  NullableDouble  (Optional)
Jump delay to wait after moved to new position. Use JumpDelay if null.
cancellationToken  NullableCancellationToken  (Optional)
Cancellation token.

Return Value

RaydimeMeterResult.
See Also