A method for monitoring human activity using an inertial sensor includes
continuously determining an orientation of the inertial sensor, assigning
a dominant axis, updating the dominant axis as the orientation of the
inertial sensor changes, and counting periodic human motions by
monitoring accelerations relative to the dominant axis.