Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ouster-ros/include/ouster_ros/common_point_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ struct PointXYZI : public _Ouster_PointXYZI {
intensity = 0.0f;
}

inline const auto as_tuple() const {
inline auto as_tuple() const {
return std::tie(x, y, z, intensity);
}

Expand Down Expand Up @@ -88,7 +88,7 @@ struct PointXYZIR : public _PointXYZIR {
intensity = 0.0f; ring = 0;
}

inline const auto as_tuple() const {
inline auto as_tuple() const {
return std::tie(x, y, z, intensity, ring);
}

Expand Down
2 changes: 1 addition & 1 deletion ouster-ros/include/ouster_ros/os_point.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ struct Point : public _Point {
range = 0;
}

inline const auto as_tuple() const {
inline auto as_tuple() const {
return std::tie(x, y, z, intensity, t, reflectivity, ring, ambient, range);
}

Expand Down
16 changes: 8 additions & 8 deletions ouster-ros/include/ouster_ros/sensor_point_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ struct Point_LEGACY : public _Point_LEGACY {
flags = 0;
}

inline const auto as_tuple() const {
inline auto as_tuple() const {
return std::tie(x, y, z, t, ring, range, signal, near_ir, reflectivity, flags);
}

Expand Down Expand Up @@ -174,7 +174,7 @@ struct Point_RNG19_RFL8_SIG16_NIR16_DUAL : public _Point_RNG19_RFL8_SIG16_NIR16_
flags = 0; window = 0;
}

inline const auto as_tuple() const {
inline auto as_tuple() const {
return std::tie(x, y, z, t, ring, range, signal, reflectivity, near_ir, flags, window);
}

Expand Down Expand Up @@ -254,7 +254,7 @@ struct Point_RNG19_RFL8_SIG16_NIR16 : public _Point_RNG19_RFL8_SIG16_NIR16 {
flags = 0; window = 0;
}

inline const auto as_tuple() const {
inline auto as_tuple() const {
return std::tie(x, y, z, t, ring, range, signal, reflectivity, flags, near_ir, window);
}

Expand Down Expand Up @@ -330,7 +330,7 @@ struct Point_RNG15_RFL8_NIR8 : public _Point_RNG15_RFL8_NIR8 {
flags = 0;
}

inline const auto as_tuple() const {
inline auto as_tuple() const {
return std::tie(x, y, z, t, ring, range, reflectivity, near_ir, flags);
}

Expand Down Expand Up @@ -430,7 +430,7 @@ struct Point_RNG15_RFL8_NIR8_DUAL : public _Point_RNG15_RFL8_NIR8_DUAL {
window = 0;
}

inline const auto as_tuple() const {
inline auto as_tuple() const {
return std::tie(x, y, z, t, ring, range, reflectivity, near_ir, flags, window);
}

Expand Down Expand Up @@ -520,7 +520,7 @@ struct Point_RNG15_RFL8_WIN8 : public _Point_RNG15_RFL8_WIN8 {
flags = 0;
}

inline const auto as_tuple() const {
inline auto as_tuple() const {
return std::tie(x, y, z, t, ring, range, reflectivity, window, flags);
}

Expand Down Expand Up @@ -598,7 +598,7 @@ struct Point_RNG15_RFL8_NIR8_ZONE16 : public _Point_RNG15_RFL8_NIR8_ZONE16 {
zone_mask = 0;
}

inline const auto as_tuple() const {
inline auto as_tuple() const {
return std::tie(x, y, z, t, ring, range, reflectivity, near_ir, zone_mask);
}

Expand Down Expand Up @@ -679,7 +679,7 @@ struct Point_RNG19_RFL8_SIG16_NIR16_ZONE16 : public _Point_RNG19_RFL8_SIG16_NIR1
zone_mask = 0;
}

inline const auto as_tuple() const {
inline auto as_tuple() const {
return std::tie(x, y, z, t, ring, range, signal, reflectivity, flags, near_ir, zone_mask);
}

Expand Down
Loading