Hello all, I am attemping to run lab12a with my new encoder and having some issues.
First issue is when I enable system and run identify the motor starts to spin but not very smoothly, it then will start to accelerate but after couple seconds will stop accelerating and never reaches full speed. The motor then continues to run at about 750 rpm.
Second - the lab manual says to enable, run identify then set goal speed and enable “gMotorVars.SpinTAC.VelIdRun", this part does not work at all. I am able to change the goal speed to desired but when I enable “gMotorVars.SpinTAC.VelIdRun" nothing happens the value immediately changes from 1 back to 0. No matter what i do it will not stay at 1 and run the test.
I think i have verified my encoder is working by enabling system then rotating the shaft CCW one full turn. The question here is when I do that the value in st_obj.vel.conv.Pos_mrev is 1.005485922 (Q-Value(24)) not 1.0 like I thought it was supposed to be. Also if i continue rotating the shaft the value will continue counting up until reaching 10 at which point it becomes -10 and counts up toward 0 and repeats. Is this normal??
Any help is greatly appreciated
Jesse