Function ouster::sdk::mapping::constraint_type_from_string¶
Defined in File pose_optimizer_constraint.h
Function Documentation¶
-
inline ConstraintType ouster::sdk::mapping::constraint_type_from_string(const std::string &name)¶
Converts a string to the corresponding ConstraintType enum value.
- Parameters:
name[in] The string name of the constraint type.
- Throws:
std::invalid_argument – If the provided name does not match any known ConstraintType.
- Returns:
The corresponding ConstraintType enum value.