Skip to content

Implement Live Entity Information PDU protocol family - #80

Open
crhowell3 wants to merge 9 commits into
mainfrom
feature/77-add-live-entity-information-protocol
Open

crhowell3 wants to merge 9 commits into
mainfrom
feature/77-add-live-entity-information-protocol

Conversation

@crhowell3

Copy link
Copy Markdown
Owner

What does this PR do?

  • Documentation
  • Code changes

How did you verify your code works?

Run cargo check and cargo test -q

Closes #77

@crhowell3 crhowell3 added this to the 1.0.0 release milestone Dec 1, 2025
@crhowell3 crhowell3 self-assigned this Dec 1, 2025
@crhowell3 crhowell3 added the enhancement New feature or request label Dec 1, 2025
@crhowell3 crhowell3 linked an issue Dec 1, 2025 that may be closed by this pull request
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
@crhowell3 crhowell3 modified the milestones: 0.4.0 release, 1.0.0 release Dec 5, 2025
@crhowell3
crhowell3 force-pushed the feature/77-add-live-entity-information-protocol branch from 7603631 to 2b99f84 Compare December 9, 2025 00:46
@crhowell3
crhowell3 force-pushed the feature/77-add-live-entity-information-protocol branch from 2b99f84 to 9a0f548 Compare February 8, 2026 05:34
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
#[must_use]
/// Creates a fixed-point value from meters with 3 fractional bits
pub fn from_meters(value: f32) -> Self {
Self((value * 8.0).round() as i16)

Check failure

Code scanning / clippy

casting f32 to i16 may truncate the value Error

casting f32 to i16 may truncate the value
#[must_use]
/// Creates a fixed-point value from meters with 3 fractional bits
pub fn from_meters(value: f32) -> Self {
Self((value * 8.0).round() as i8)

Check failure

Code scanning / clippy

casting f32 to i8 may truncate the value Error

casting f32 to i8 may truncate the value
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment thread src/live_entity_information.rs Fixed
Comment on lines +126 to +128
pub fn set_data(&mut self, value: u32) {
self.data = value;
}

Check failure

Code scanning / clippy

this could be a const fn Error

this could be a const fn

This branch has not been deployed

No deployments
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.

Add Live Entity Information protocol

2 participants