Pose2D({ double? x, double? y, double? theta, }): this.x = x ?? 0.0, this.y = y ?? 0.0, this.theta = theta ?? 0.0;