Indoor 3-Dimensional Visible Light Positioning Based on Smartphone Camera: Error Metric and LED Layout Optimization