Skip to content

Commit

Permalink
Add OPERATING_UNSPEC
Browse files Browse the repository at this point in the history
  • Loading branch information
BlaiseLebreton authored Dec 2, 2024
1 parent 4429335 commit d4f08e3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions ouster_client/include/ouster/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ enum timestamp_mode {
* meaning of each option.
*/
enum OperatingMode {
OPERATING_NORMAL = 1, ///< Normal sensor operation
OPERATING_UNSPEC = 0, ///< Unspecified sensor operation
OPERATING_NORMAL, ///< Normal sensor operation
OPERATING_STANDBY ///< Standby
};

Expand Down Expand Up @@ -564,7 +565,7 @@ struct sensor_info {
std::string user_data{}; ///< userdata from sensor if available

/* Constructor from metadata */
[[deprecated("skip_beam_validation does not do anything anymore")]]
[[deprecated("skip_beam_validation does not do anything anymore")]]
explicit sensor_info(const std::string& metadata, bool skip_beam_validation);
explicit sensor_info(const std::string& metadata);

Expand All @@ -575,7 +576,7 @@ struct sensor_info {
* changes to the sensor_info.
* Errors out if changes are incompatible but does not check for validity */
std::string to_json_string() const;

/**
* Parse and return version info about this sensor.
*
Expand Down Expand Up @@ -1025,7 +1026,7 @@ namespace ChanField {
///< sensitivity in FW 2.1+. See sensor docs for more details
static constexpr cf_type REFLECTIVITY2 = "REFLECTIVITY2"; ///< 2nd return reflectivity, calibrated by range and sensor
///< sensitivity in FW 2.1+. See sensor docs for more details

static constexpr cf_type NEAR_IR = "NEAR_IR"; ///< near_ir in photons
static constexpr cf_type FLAGS = "FLAGS"; ///< 1st return flags
static constexpr cf_type FLAGS2 = "FLAGS2"; ///< 2nd return flags
Expand Down

0 comments on commit d4f08e3

Please sign in to comment.