Function ouster::sdk::core::string_to_zonetriggeroutput

Function Documentation

bool ouster::sdk::core::string_to_zonetriggeroutput(const std::string &str, ZoneTriggerOutput &mode)

Converts to a ZoneTriggerOutput enum value from its corresponding string representation.

Parameters:
  • str[in] The string to convert.

  • mode[out] The resulting ZoneTriggerOutput enum value.

Returns:

true if the conversion was successful, false otherwise.