Open Issues Need Help
View All on GitHubAI Summary: The `cancel_command_test.rs` tests are failing due to issues with driving background tasks within a `DeterministicExecutor`. Using `executor.block_on()` causes tests to stall indefinitely because background tasks are not driven, while attempting to fix this with `executor.clone().block_on_bg()` results in complex Rust lifetime errors. These errors involve `Send` bounds not being general enough and captured references within async blocks not satisfying required lifetimes, indicating a challenge in correctly managing the executor's lifetime and task execution.
Rust based VISCA over IP implementation for controlling PTZ Cameras
AI Summary: Refactor the Rust `grafton-visca` library to move timeout category assignments from hardcoded method implementations to associated constants within the `EncodeVisca` trait. This involves updating existing commands, modifying macros to generate the constants, and adding comprehensive tests. A derive macro is a potential optional enhancement.
Rust based VISCA over IP implementation for controlling PTZ Cameras
AI Summary: Refactor the Rust-based grafton-visca library to replace hardcoded VISCA command byte sequences with named constants defined in a centralized constants module. This improves maintainability, reduces errors, and enhances readability.
Rust based VISCA over IP implementation for controlling PTZ Cameras
AI Summary: Refactor the Rust codebase of the `grafton-visca` project to eliminate duplicate code in the `ensure_port` function across different transport builders. This involves creating a generic helper function or using a trait extension to consolidate the logic, ensuring consistent behavior and easier maintenance while maintaining backward compatibility.
Rust based VISCA over IP implementation for controlling PTZ Cameras
AI Summary: Implement missing public API methods in a Rust library for controlling PTZ cameras via the VISCA over IP protocol. This involves adding three methods to existing traits to expose already-implemented focus-related commands (`set_focus_zone`, `set_auto_focus_sensitivity`, `set_focus_near_limit`), and then auditing other modules for similar incomplete command implementations.
Rust based VISCA over IP implementation for controlling PTZ Cameras