Changed power line for v_batt to v_motor