The equivalent of PWMA:0 and PWMB:0 is issued after PXMC
initialization. This allows to invoke align of motor
phase tables according to IRC index by turning
of axes by hand.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
printf("PXMC initialized (motor: %s)", pxmc_variant);
printf("\n");
+ pxmc_set_const_out(&mcs_left,0);
+ pxmc_set_const_out(&mcs_right,0);
+
int32_t receive_id[] = { CAN_MOTION_CMD, CAN_MOTION_RESET, -1 };
canInit(0, 1000000, receive_id);
printf("CAN initialized\n");
-Subproject commit 1a040b0f1560eb1926dc506d0d4c2d811b7c4fde
+Subproject commit dbf5745c67d46b5f6df45eae32615e8c94d5398c