Rod-shaped pendulum