Tracking pedestrian responding to changing posture