Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify default values for scoring parameters. #22

Closed
philderbeast opened this issue Jan 20, 2018 · 0 comments
Closed

Specify default values for scoring parameters. #22

philderbeast opened this issue Jan 20, 2018 · 0 comments

Comments

@philderbeast
Copy link
Contributor

philderbeast commented Jan 20, 2018

Certain values are sometimes not persisted to *.fsdb by FS but still have default values, such as nominal launch. Please list these default values or reference the sections 7a and 7b where they can be found. For example;

// common parameters according to sections 7a and 7b
_min_dist = 7;
_nom_dist = 70;
_nom_goal = (decimal)0.25;
_nom_launch = (decimal)0.96;
_nom_time = (decimal)1.5;
_normalize_1000_before_day_quality = false;
_use_1000_points_for_max_day_quality = false;
_use_arrival_time_points = false;
_use_departure_points = false;
_use_distance_points = true;
_use_leading_points = true;
_use_time_points = true;
_min_time_span_for_valid_task = 60;
_scoring_altitude = SA_GPS;
_use_distance_squared_for_LC = true;
_final_glide_decelerator = FGD_NONE;

if (_is_pg_comp)
{
    // paragliding comp according to section 7b
    _bonus_gr = 4;
    _jump_the_gun_factor = 0;
    _jump_the_gun_max = 0;
    _time_points_if_not_in_goal = 0;
    _use_arrival_position_points = false;
    _use_difficulty_for_distance_points = false;
    _use_semi_circle_control_zone_for_goal_line = true;
    _ess_incline = (decimal)3.5;
    _aatb_factor = (decimal)0.45;
    _score_back_time = 5;
    _use_proportional_leading_weight_if_nobody_in_goal = true;
    _double_leading_weight = true;
}
else
{
    // hang gliding comp according to FAI Section 7a
    _bonus_gr = 5;
    _jump_the_gun_factor = 2;
    _jump_the_gun_max = 300;
    _time_points_if_not_in_goal = (decimal)0.8;
    _use_arrival_position_points = true;
    _use_difficulty_for_distance_points = true;
    _use_semi_circle_control_zone_for_goal_line = false;
    _score_back_time = 15;
    _use_proportional_leading_weight_if_nobody_in_goal = false;
    _double_leading_weight = false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant