Skip to content

The Copper side for the Hesai driver#101

Merged
gbin merged 2 commits into
masterfrom
gbin/end2end_hesai
Nov 15, 2024
Merged

The Copper side for the Hesai driver#101
gbin merged 2 commits into
masterfrom
gbin/end2end_hesai

Conversation

@gbin

@gbin gbin commented Nov 15, 2024

Copy link
Copy Markdown
Collaborator

No description provided.

@luc-k1 luc-k1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Main concern would be for LidarPayloadSoa and handling of other lidar providing more information (multiple return 2+, or dual channel)

}
}

fn spherical_to_cartesian(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you specify angle convention used for spherical coordinates

Comment thread components/sources/cu_hesai/src/lib.rs Outdated
.block_ts(&self.reftime)
.map_err(|e| CuError::new_with_cause("Failed to get block timings", e))?[5]; // 0 == channel 1, 5 == channel 6

let is_dual = lidar_packet.header.is_dual_return();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we doing something this this information ?
How would we handle multiple returns in LidarCuMsgPayload ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok let's drop that for that PR and we will add another one with a proper return order in the format and the drivers. thanks

@gbin gbin force-pushed the gbin/end2end_hesai branch from eed8c6f to 9144524 Compare November 15, 2024 15:35
@gbin gbin merged commit e59ba31 into master Nov 15, 2024
@gbin gbin deleted the gbin/end2end_hesai branch November 15, 2024 15:59
@makeecat makeecat added the enhancement New feature or request label Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants