Buckling actuators with integrated displacement sensor