chore(stick): improve comments
All checks were successful
Code quality / check (pull_request) Successful in 2m12s

This commit is contained in:
Naxdy 2024-09-01 17:37:05 +02:00
parent 0fc2b9b4ae
commit 031495cad9
Signed by: Naxdy
GPG key ID: CC15075846BCE91B

View file

@ -32,12 +32,14 @@ pub const NOTCH_ADJUSTMENT_ORDER: [usize; NO_OF_ADJ_NOTCHES] = [2, 6,
#[derive(Clone, Debug, Default, Format)] #[derive(Clone, Debug, Default, Format)]
pub struct StickParams { pub struct StickParams {
// these are the linearization coefficients /// these are the linearization coefficients
pub fit_coeffs: XyValuePair<[f32; NUM_COEFFS]>, pub fit_coeffs: XyValuePair<[f32; NUM_COEFFS]>,
// these are the notch remap parameters // these are the notch remap parameters
pub affine_coeffs: [[f32; 4]; 16], // affine transformation coefficients for all regions of the stick /// affine transformation coefficients for all regions of the stick
pub boundary_angles: [f32; 16], // angles at the boundaries between regions of the stick (in the plane) pub affine_coeffs: [[f32; 4]; 16],
/// angles at the boundaries between regions of the stick (in the plane)
pub boundary_angles: [f32; 16],
} }
impl From<&StickConfig> for StickParams { impl From<&StickConfig> for StickParams {