Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes the visibility of the hesai lidar points struct #133

Merged
merged 1 commit into from
Dec 5, 2024
Merged
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 components/sources/cu_hesai/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fn spherical_to_cartesian(
(x, y, z)
}

struct Xt32 {
pub struct Xt32 {
socket: Socket,
reftime: RefTime,
channel_elevations: [Angle; 32],
Expand All @@ -47,7 +47,7 @@ impl Freezable for Xt32 {}

const MAX_POINTS: usize = 32 * 10;

type LidarCuMsgPayload = PointCloudSoa<MAX_POINTS>;
pub type LidarCuMsgPayload = PointCloudSoa<MAX_POINTS>;

// In each round of firing, the firing sequence is from Channel 1 to Channel 32.
// Assuming that the start time of Block 6 is t6, the laser firing time of Channel i is
Expand Down
Loading