From 6d3a4f19d4b9ff5c3111fd1e15584c895de6d602 Mon Sep 17 00:00:00 2001 From: u-siri-ous Date: Wed, 6 May 2020 11:46:41 +0200 Subject: [PATCH] fixed motor angles --- src/sensors/sensors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sensors/sensors.cpp b/src/sensors/sensors.cpp index 3298bbf..170cfd9 100644 --- a/src/sensors/sensors.cpp +++ b/src/sensors/sensors.cpp @@ -9,7 +9,7 @@ void initSensors(){ pinMode(LED_Y, OUTPUT); pinMode(LED_G, OUTPUT); - drive = new DriveController(new Motor(11, 12, 4, 45),new Motor(24, 25, 5, 135), new Motor(26, 27, 2, 225), new Motor(28, 29, 3, 315)); + drive = new DriveController(new Motor(11, 12, 4, 35), new Motor(24, 25, 5, 135), new Motor(26, 27, 2, 225), new Motor(28, 29, 3, 325)); //drive = new DriveController(new Motor(12, 11, 2, 45),new Motor(25, 24, 5, 135), new Motor(27, 26, 6, 225), new Motor(21, 22, 23, 315)); compass = new DataSourceBNO055(); ball = new DataSourceBall(&Serial2, 57600);