Updated control policy skeleton node to take encoder direction based on the sign of the current motor duty cycle commands