-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
Awaiting PRThis task is complete and just awaiting a pull request to get reviewed.This task is complete and just awaiting a pull request to get reviewed.Clean Up
Description
The discord user "Jammo2000" has reported that mrp is not functional.
He said he recreated the problem using the following code:
#include <kipr/wombat.h>
#define right_motor 1
#define left_motor 3
int main(){
int i;
for(i = 0;i<100;i++){
mrp(right_motor, 1000, -1000);
mrp(left_motor, 1000, 1000);
bmd(right_motor);
bmd(left_motor);
msleep(1000);
mrp(right_motor, 1000, 1000);
mrp(left_motor, 1000, -1000);
bmd(right_motor);
bmd(left_motor);
msleep(1000);
}
return 0;
}
Quote from the user:
"So, the move_relative_position (mrp) function in the kipr library is broken. 5-10% of the time it simply fails to move the motor at all."
Metadata
Metadata
Assignees
Labels
Awaiting PRThis task is complete and just awaiting a pull request to get reviewed.This task is complete and just awaiting a pull request to get reviewed.Clean Up