Other Parts Discussed in Thread: MOTORWARE
Tool/software: Code Composer Studio
Just started getting into the 2-motor labs using lab 13f as a base, and am running into a few problems. I believe they are related to alignment between the mechanical and electrical rotations. Both motors use encoders.
As far as I know, in the previous labs alignment is done by zeroing the encoder offset while re-estimating RS, but enabling RS recalc with EST_setFlag_enableRsRecalc() for both motors does not initiate the recalculation, and so there is no alignment.
Is there some other code I need to change to enable the alignment in lab 13f, or is there some other better way to perform alignment?