Hi, so Im programming and I am running into this error. no matching function for ‘setDrive’. I defined the function in my header file, and included it in main.h

this is what it says in my setDrive funciton

```
void setDrive( int lateral, int linear, int rotation ) {
lateral = controller.get_analog (pros::E_CONTROLLER_ANALOG_LEFT_X);
linear = controller.get_analog (pros::E_CONTROLLER_ANALOG_LEFT_Y);
rotation = controller.get_analog (pros::E_CONTROLLER_ANALOG_RIGHT_X);
// Y component, X component, Rotation
topLeftDrive = ( -linear - lateral - rotation);
topRightDrive = ( linear - lateral - rotation);
backLeftDrive = ( linear + lateral - rotation);
backRightDrive = ( -linear + lateral - rotation);
if (abs( lateral ) < 10) {
lateral = 0 ;
}
if (abs( linear ) < 10) {
linear = 0 ;
}
if (abs( rotation ) < 10) {
rotation = 0 ;
}
}
```

and this is what I have in my opcontrol.

```
#include "main.h"
void opcontrol() {
setDrive();
pros::delay(20);
}
```