Update FOV configuration to increase distance and angle for improved visibility

This commit is contained in:
bobbert committed 2026-04-07 17:21:28 +01:00
1 parent 1e405bb87f
commit ecb61c4858
1 file changed
+2 -2
+2 -2
View File
@@ -1,8 +1,8 @@
import * as geolib from 'geolib';
// --- FOV Configuration ---
const FOV_DISTANCE = 20; // metres — radius of arc + length of straight edges
const FOV_ANGLE = 45; // degrees — total field of view (halved for each side)
const FOV_DISTANCE = 30; // metres — radius of arc + length of straight edges
const FOV_ANGLE = 60; // degrees — total field of view (halved for each side)
// Convert raw Magnetometer {x, y} reading to a 0-360° heading (0° = north)
const toHeading = ({x, y}) => {