A compact body mass measuring device for space flight applications