Skip to content

Commit

Permalink
Improved documentation strings
Browse files Browse the repository at this point in the history
  • Loading branch information
ncguilbeault committed Jan 20, 2025
1 parent 3b87503 commit 13dec06
Showing 1 changed file with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ public class KFModelParameters
private string fpsString;

/// <summary>
/// x position at time 0
/// The initial x position.
/// </summary>
[JsonProperty("pos_x0")]
[Description("x position at time 0")]
[Description("The initial x position.")]
public double Pos_x0
{
get
Expand All @@ -69,10 +69,10 @@ public double Pos_x0
}

/// <summary>
/// y position at time 0
/// The initial y position.
/// </summary>
[JsonProperty("pos_y0")]
[Description("y position at time 0")]
[Description("The initial y position.")]
public double Pos_y0
{
get
Expand All @@ -87,10 +87,10 @@ public double Pos_y0
}

/// <summary>
/// x velocity at time 0
/// The initial x velocity.
/// </summary>
[JsonProperty("vel_x0")]
[Description("x velocity at time 0")]
[Description("The initial x velocity.")]
public double Vel_x0
{
get
Expand All @@ -105,10 +105,10 @@ public double Vel_x0
}

/// <summary>
/// y velocity at time 0
/// The initial y velocity.
/// </summary>
[JsonProperty("vel_y0")]
[Description("y velocity at time 0")]
[Description("The initial y velocity.")]
public double Vel_y0
{
get
Expand All @@ -123,10 +123,10 @@ public double Vel_y0
}

/// <summary>
/// x acceleration at time 0
/// The initial x acceleration.
/// </summary>
[JsonProperty("acc_x0")]
[Description("x acceleration at time 0")]
[Description("The initial x acceleration.")]
public double Acc_x0
{
get
Expand All @@ -141,10 +141,10 @@ public double Acc_x0
}

/// <summary>
/// x velocity at time 0
/// The initial y acceleration.
/// </summary>
[JsonProperty("acc_y0")]
[Description("x velocity at time 0")]
[Description("The initial y acceleration.")]
public double Acc_y0
{
get
Expand All @@ -159,10 +159,10 @@ public double Acc_y0
}

/// <summary>
/// covariance of a
/// A scalar value representing the measurement noise.
/// </summary>
[JsonProperty("sigma_a")]
[Description("covariance of a")]
[Description("A scalar value representing the measurement noise.")]
public double Sigma_a
{
get
Expand All @@ -177,10 +177,10 @@ public double Sigma_a
}

/// <summary>
/// covariance of x
/// A scalar value representing the prediction noise along the x axis.
/// </summary>
[JsonProperty("sigma_x")]
[Description("covariance of x")]
[Description("A scalar value representing the prediction noise along the x axis.")]
public double Sigma_x
{
get
Expand All @@ -195,10 +195,10 @@ public double Sigma_x
}

/// <summary>
/// covariance of y
/// A scalar value representing the prediction noise along the y axis.
/// </summary>
[JsonProperty("sigma_y")]
[Description("covariance of y")]
[Description("A scalar value representing the prediction noise along the y axis.")]
public double Sigma_y
{
get
Expand All @@ -213,10 +213,10 @@ public double Sigma_y
}

/// <summary>
/// v0
/// The initial value of the diagonal of the state covariance matrix.
/// </summary>
[JsonProperty("sqrt_diag_V0_value")]
[Description("v0")]
[Description("The initial value of the diagonal of the state covariance matrix.")]
public double Sqrt_diag_V0_value
{
get
Expand All @@ -231,10 +231,10 @@ public double Sqrt_diag_V0_value
}

/// <summary>
/// frames per second
/// The frames per second of the observations.
/// </summary>
[JsonProperty("fps")]
[Description("frames per second")]
[Description("The frames per second of the observations.")]
public int Fps
{
get
Expand Down

0 comments on commit 13dec06

Please sign in to comment.