I am working on a project, in which I need to control a linear actuator. When I tried to use VESC's FOC mode to do the auto tuning of the encoder offset under the tab 'encoder', I found the actuator keep moving in one direction without reverse in direction. The encoder realtime data plot showed a smooth curve of the encoder reading so I don't think the encoder is out of order. I have tried a rotary motor and got the tuning done. Anyone have similar experience that can share with me?