diff --git a/setup/macros_scoresheets.tex b/setup/macros_scoresheets.tex index 4c4788d0..22df2ad5 100644 --- a/setup/macros_scoresheets.tex +++ b/setup/macros_scoresheets.tex @@ -25,12 +25,6 @@ % The global number of attempts per test \newcommand{\attempts}{3} -% The Default Timelimit for the Test -\newcommand{\timelimit}{5} - -% Show Special Penalties & Bonuses -\newcommand{\specialPenBonus}{true} - % Sets the total penalty for not showing up \newcommand{\notattendingpenalty}{500} @@ -110,9 +104,7 @@ % arbitrary value (disables autocalc) % - attempts Integer. Number of attempts for the % scoresheet (default is \global\attempts) -% - timelimit Integer. Timelimit in minutes % - continue Not implemented -% - specialpenbonus Boolean. Toggles the "Special Penalties & Bonuses" % - datarecording Boolean. Toggles the "Data Recording" % item under Special penalties and standard % bonuses @@ -153,6 +145,55 @@ % description % #3 description A description for the score mark % +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% +% % %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % FROM HERE ON, THERE IS NOTHING TO CHANGE % @@ -234,8 +275,6 @@ \vspace{0pt}% \includegraphics[width=\textwidth]{images/logo_RoboCupAtHome.jpg}% \end{minipage}\\% - - }{ % \end{scoresheet} \vspace{0.5 em}% @@ -283,9 +322,7 @@ /scorelist/.is family, /scorelist, default/.style={ attempts = \attempts, - timelimit = \timelimit, continue = true, - specialpenbonus = \specialPenBonus, datarecording = \dataRecordingBonus, datarecordingpc = \dataRecordingBonusPercentage, datarecordingbonus = 0, @@ -301,9 +338,7 @@ secondtrycc = \secondTryColumnCaption, }, attempts/.estore in = \scorelistAttempts, - timelimit/.estore in = \scorelistTimelimit, continue/.estore in = \scorelistContinue, - specialpenbonus/.estore in = \scorelistSpecialPenBonus, datarecording/.estore in = \scorelistDataRecording, datarecordingpc/.estore in = \scorelistDataRecordingPercentage, datarecordingbonus/.estore in = \scorelistDataRecordingBonus, @@ -327,12 +362,6 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \pgfkeys{/scorelist, default, #1}% - \ifShortScoresheet{ - The maximum time for this test is \textbf{\scorelistTimelimit{}:00} minutes. - }{% - - } - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % init variables %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -429,7 +458,7 @@ \newcommand{\scorePerTry}{% \\% \ifShortScoresheet{}{% - \ifthenelse{ \scorelistAttempts > 1 }{% + \ifthenelse{ \attempts > 1 }{% \textbi{Score per try} &% \textit{\thecurrTestScoreTotalWithoutBonus} &% \attemptScoreLines{\scorelistAttempts}% @@ -524,46 +553,24 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Special penalties & bonuses %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - \ifthenelse{ \equal{\scorelistSpecialPenBonus}{true} }{ + \scoreheading{Special Penalties \& Bonuses} - - \scoreheading{Special Penalties \& Bonuses} - - % not showing up penalty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - \penaltyitem{\notattendingpenalty}{Not attending \ifShortScoresheet{(see sec.~\ref{rule:not_attending})}{}} - - % require signal for door opening %%%%%%%%%%%%%%%%%%%%%%%%%%%%% - \ifthenelse{ \equal{\scorelistStartButton}{true} }{ - \penaltyitem{\scorelistStartButtonPenalty}{Using alternative start signal \ifShortScoresheet{(see sec.~\ref{rule:start_signal})}{}} - }{} - - % data recording bonus %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - \ifthenelse{% - \thecurrDataRecordingBonus>0 \AND % - \equal{\scorelistDataRecording}{true}% - }{% - \bonusitem{\thecurrDataRecordingBonus}{Contributing with recorded data ($\frac{\sum gathered~points}{max~points} \times$) \ifShortScoresheet{(see sec.~\ref{rule:datarecording})}{}}% - }{}% - - % outstanding performance bonus %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - \ifthenelse{% - \value{currOutstandingBonus}>0 \AND % - \equal{\scorelistOutstanding}{true}% - }{% - \bonusitem{\thecurrOutstandingBonus}{Outstanding performance~\ifShortScoresheet{(see sec.~\ref{rule:outstanding_performance})}{}}% - }{}% - % + % not showing up penalty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \penaltyitem{\notattendingpenalty}{Not attending \ifShortScoresheet{(see sec.~\ref{rule:not_attending})}{}} + % require signal for door opening %%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \ifthenelse{ \equal{\scorelistStartButton}{true} }{ + \penaltyitem{\scorelistStartButtonPenalty}{Using alternative start signal %\ifShortScoresheet{(see sec.~\ref{rule:start_signal})} + {}} }{} - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - % Other Items %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - \ifShortScoresheet{}{% - \scoreheading{Recordings} - \scoreitem{0}{Duration (limit: \textbf{\scorelistTimelimit{}:00} minutes)} - }% - + % data recording bonus %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \ifthenelse{% + \thecurrDataRecordingBonus>0 \AND % + \equal{\scorelistDataRecording}{true}% + }{% + \bonusitem{\thecurrDataRecordingBonus}{Contributing with recorded data ($\frac{\sum gathered~points}{max~points} \times$) \ifShortScoresheet{(see sec.~\ref{rule:datarecording})}{}}% + }{}% % outstanding performance bonus %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ifthenelse{% @@ -578,9 +585,8 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ifShortScoresheet{}{% \scoreheading{Recordings} + \scoreitem{0}{Duration (limit: \textbf{\scorelistTimelimit{}:00} minutes)} \scoreitem{0}{Restart after (sec)} - }% - % Total score %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \\[-1em]\hline \scorePerTry