Implement endpoint to control the car's motors. This includes 4 routes: front, back, left, and right. They should each take two requests, a POST to activate and a DELETE to deactivate.
The frontend's instructor's page should be updated with four buttons mapped to the above routes. The POST request is made on a button press, and the DELETE request is made on button release.
Extra buttons can also be added here. For example, a button to activate a siren.
Implement endpoint to control the car's motors. This includes 4 routes: front, back, left, and right. They should each take two requests, a
POST
to activate and aDELETE
to deactivate.The frontend's instructor's page should be updated with four buttons mapped to the above routes. The
POST
request is made on a button press, and theDELETE
request is made on button release.Extra buttons can also be added here. For example, a button to activate a siren.