Function ouster::sdk::mapping::to_string¶
Defined in File pose_optimizer_constraint.h
Function Documentation¶
-
inline std::string ouster::sdk::mapping::to_string(const LossFunction lf)¶
Converts a LossFunction enum value to its corresponding string.
This function takes a LossFunction enum and returns a string representation of that enum. Valid return values are: “HUBER_LOSS”, “CAUCHY_LOSS”, “SOFT_L_ONE_LOSS”, “ARCTAN_LOSS”, and “TRIVIAL_LOSS”.
- Parameters:
lf[in] The LossFunction enum to convert.
- Returns:
A std::string containing the name of the loss function.