I was simply trying different values, adjusting this variable changes how much current the motor will draw from experimentation.
As for the Nanotec board; I’m not sure but I assume it’s a custom implementation of FOC. The motor is driven by the same 3 phase input as I am trying to drive it with, but their board doesn’t have a dedicated driver IC, instead driving the power MOSFETs directly from a controller.