4WD Mecanum Wheel Mobile Robotic Platform, Speed ControlHi

Hi,

I am working with the “4WD Mecanum Wheel Mobile Robotic Platform”.
I have some questions regarding the motor encoders. From my understanding the PID of the motors should handle the the speed of the motors, but needs an speedRPMInput which is set in Motor::PIDRegulate() with speedRPMInput=SPEEDPPS2SPEEDRPM(isr->speedPPS). And isr->speedPPS should be set by an interrupt i guess. The interrupt is initialized in Motor::PIDEnable() with setupInterrupt(), which calls attachInterrupt(isr->pinIRQ,isr->ISRfunc,TRIGGER), so pinIRQ is the interrupt pin which schould call isr->ISRfunc on trigger. And isr->ISRfunc is an function pointer which is not declared, or at least i cant find its declaration.

So in short what does ISRfunc do? How do the encoders work?

Hi,

We have contacted the manufacturer of the 4WD Mecanum Wheel Mobile Robotic Platform to provide us information on this. We will post their answer as soon as we receive it.

We have received a reply from the manufacturer :