This commit is contained in:
legop3
2025-12-17 00:53:55 -05:00
parent 102192c631
commit c42d314cc9
7 changed files with 15 additions and 16 deletions
+4 -1
View File
@@ -120,6 +120,9 @@ export function useCommandPipeline() {
case 'oi':
sendOiCommand(step.command);
break;
case 'sensorStream':
enableSensorStream();
break;
case 'drive':
sendDriveDirect(step.speeds ?? { left: 0, right: 0 });
break;
@@ -143,7 +146,7 @@ export function useCommandPipeline() {
}
}
},
[roverId, sendOiCommand, sendDriveDirect, sendAuxMotors, sendServoAngle],
[roverId, sendOiCommand, sendDriveDirect, sendAuxMotors, sendServoAngle, enableSensorStream],
);
const sendNightVision = useCallback(