validate_mass_props_and_unc()
is a convenience wrapper that calculates the logical
conjunction of validate_mass_props()
and validate_mass_props_unc()
.
Arguments
- mpu
Mass properties and uncertainties list containing the following named elements
mass
mass (numeric)center_mass
center of mass (3-dimensional numeric)inertia
Inertia tensor (3x3 numeric matrix)point
Logical indicating point mass, i.e., negligible inertiasigma_mass
mass uncertaintysigma_center_mass
center of mass uncertainty (3-dimensional numeric)sigma_inertia
Inertia tensor uncertainty (3x3 numeric matrix)
Examples
mpu <- get_mass_props_and_unc(sawe_table, "Widget")
validate_mass_props_and_unc(mpu)
#> [1] TRUE