chore(stick): improve comments
All checks were successful
Code quality / check (pull_request) Successful in 2m12s
All checks were successful
Code quality / check (pull_request) Successful in 2m12s
This commit is contained in:
parent
0fc2b9b4ae
commit
031495cad9
1 changed files with 5 additions and 3 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue