Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsnider committed Aug 9, 2017
1 parent 019b7c7 commit 8f0b012
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drive_firmware/src/main.cpp
Expand Up @@ -17,7 +17,7 @@
#define sparkMax 1000 // Default full-reverse input pulse
#define sparkMin 2000 // Default full-forward input pulse

Servo theServo;
Servo theServo; // the servo used to control a camera that can look around the robot
Servo leftOne;
Servo leftTwo;
Servo leftThree;
Expand Down Expand Up @@ -66,7 +66,7 @@ void loop() {
// Serial.println((int) received.rotation);
setWheelVelocity((int) ((received.linear + received.rotation) * 100), (int) ((received.linear - received.rotation) * 100));
}
// ZED SERVO MOTOR COMMAND
// SERVO MOTOR COMMAND
else if (cmd == 2) {
Serial.readBytes((char *) &received.servo, sizeof(float));
// Serial.print("GOT SERVO");
Expand Down

0 comments on commit 8f0b012

Please sign in to comment.