Hi @Noah_Kemp, you’ll have to modify this file which is located in this folder: /usr/lib/python3/dist-packages/pitop/pma
These are the lines you want to change:
MMK_STANDARD_GEAR_RATIO = 41.8
MAX_DC_MOTOR_RPM = 4800
Bear in mind that MAX_DC_MOTOR_RPM
should be lower (rule of thumb: 80%) of the theoretical maximum of the DC motor if it has a gear box attached to it to account for losses - this is only important if you want to ensure two or more motors peak at max without one being torque limited at a higher value than another (so they are synchronised).
In future we might make this configurable, but for now you can either edit the file directly or create a copy of it for your own motor (so you still have one to use for pi-top motors)