Add pendulum-based angle checking