You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
time_to_process_order and estimated_earliest_starting_time is defined as follows
number function time_to_process_order(Complexity complexity) =
if (complexity == C0)
120
else if (complexity == C1)
180
else if (complexity == C2)
240
else if (complexity == C3)
300
else
1020 // A full game lasts 17min = 1020s
number function estimated_earliest_starting_time(number order_id) = (order_delivery_period_begin(order_id) - time_to_process_order(order_complexity(order_id))) + 60
If the following test is done with the unknown variable id test(game_time().sec > estimated_earliest_starting_time(id));
the error message is:
Parsing /home/praktikum/labhlap2/rapha/fawkes-robotino-labhlap2019/src/gologpp/rcll_production/rcll_production.gpp...
Syntax error at line 44:
test(game_time().sec > estimated_earliest_starting_time(id));
^ Expected: <typed_expression>
15:18:00.785268 FawkesMainThread: Failed to load plugins ros,navgraph,flite,skiller,gologpp, exception follows
15:18:00.785283 FawkesMainThread: [EXCEPTION] Caught std::exception: boost::spirit::qi::expectation_failure
15:18:00.785283 FawkesMainThread: [EXCEPTION] Could not initialize thread 'gologpp_agent' (ThreadList gologpp)
15:18:00.785283 FawkesMainThread: [EXCEPTION] Plugin >>> gologpp <<< could not be initialized, unloading
The text was updated successfully, but these errors were encountered:
time_to_process_order and estimated_earliest_starting_time is defined as follows
If the following test is done with the unknown variable
id
test(game_time().sec > estimated_earliest_starting_time(id));
the error message is:
The text was updated successfully, but these errors were encountered: