This commit is contained in:
[Valentino Heman Budiarto]
2026-10-29 14:33:36 +07:00
parent 99b0322e66
commit 65c7ca75fc
2 changed files with 17 additions and 1 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ type MotionType = 'FORWARD' | 'REVERSE' | 'TURN_LEFT' | 'TURN_RIGHT' | 'STOP';
type TrajectoryStep = { x: number; y: number; target_ticks_l: number; target_ticks_r: number; motion?: MotionType; };
export default function RobotDashboard() {
const PI_IP = '192.168.0.105';
const PI_IP = '192.168.11.110';
const streamUrl = `http://${PI_IP}:8080/stream`;
const [isLoading, setIsLoading] = useState(true);
+16
View File
@@ -0,0 +1,16 @@
[
{
"x": 1,
"y": 0,
"target_ticks_l": 57,
"target_ticks_r": 58,
"motion": "TURN_RIGHT"
},
{
"x": -1,
"y": 0,
"target_ticks_l": 6,
"target_ticks_r": 6,
"motion": "TURN_LEFT"
}
]