MotionConfiguration constructor
MotionConfiguration({})
Implementation
factory MotionConfiguration({
$core.Iterable<ObstacleDetector>? obstacleDetectors,
$core.double? positionPollingFrequencyHz,
$core.double? obstaclePollingFrequencyHz,
$core.double? planDeviationM,
$core.double? linearMPerSec,
$core.double? angularDegsPerSec,
}) {
final $result = create();
if (obstacleDetectors != null) {
$result.obstacleDetectors.addAll(obstacleDetectors);
}
if (positionPollingFrequencyHz != null) {
$result.positionPollingFrequencyHz = positionPollingFrequencyHz;
}
if (obstaclePollingFrequencyHz != null) {
$result.obstaclePollingFrequencyHz = obstaclePollingFrequencyHz;
}
if (planDeviationM != null) {
$result.planDeviationM = planDeviationM;
}
if (linearMPerSec != null) {
$result.linearMPerSec = linearMPerSec;
}
if (angularDegsPerSec != null) {
$result.angularDegsPerSec = angularDegsPerSec;
}
return $result;
}