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."
The discord user "Jammo2000" has reported that mrp is not functional.
He said he recreated the problem using the following code:
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."