MoveOnMapRequest constructor
MoveOnMapRequest({
- String? name,
- Pose? destination,
- ResourceName? componentName,
- ResourceName? slamServiceName,
- MotionConfiguration? motionConfiguration,
- Iterable<
Geometry> ? obstacles, - Struct? extra,
Implementation
factory MoveOnMapRequest({
$core.String? name,
$14.Pose? destination,
$14.ResourceName? componentName,
$14.ResourceName? slamServiceName,
MotionConfiguration? motionConfiguration,
$core.Iterable<$14.Geometry>? obstacles,
$43.Struct? extra,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (destination != null) {
$result.destination = destination;
}
if (componentName != null) {
$result.componentName = componentName;
}
if (slamServiceName != null) {
$result.slamServiceName = slamServiceName;
}
if (motionConfiguration != null) {
$result.motionConfiguration = motionConfiguration;
}
if (obstacles != null) {
$result.obstacles.addAll(obstacles);
}
if (extra != null) {
$result.extra = extra;
}
return $result;
}