torque_lut.c 239 B

12345678910111213
  1. #include "foc/core/torque_lut.h"
  2. /*
  3. 通过查表获取对应扭矩和速度时的Id和IQ的分配
  4. */
  5. void torque_lut_init(void) {
  6. }
  7. void torque_lut_get_idq(float torque, float rpm, DQ_t *dq_out) {
  8. dq_out->d = 0;
  9. dq_out->q = torque;
  10. }