# HG changeset patch # User JeanDo # Date 1328887421 -3600 # Node ID 896b6346ccd2b46c2af150d27af579383f2f01f6 # Parent 97b11ff4bcea8fdff76af69a8c6f03ee4ef4320f CHANGE: Allow up to 96h desat when computing NoFly (OSTC Planner). diff -r 97b11ff4bcea -r 896b6346ccd2 code_part1/OSTC_code_c_part2/p2_deco.c --- a/code_part1/OSTC_code_c_part2/p2_deco.c Tue Feb 07 13:26:41 2012 +0100 +++ b/code_part1/OSTC_code_c_part2/p2_deco.c Fri Feb 10 16:23:41 2012 +0100 @@ -2298,11 +2298,11 @@ RESET_C_STACK assert( 60 <= char_I_temp && char_I_temp <= 100 ); - assert( 0 <= int_I_temp && int_I_temp < 2880 ); // Less than 48h... + assert( 0 <= int_I_temp && int_I_temp < 5760 ); // Less than 4 days = 96h... int_I_temp = (unsigned short)(((float)int_I_temp * (float)char_I_temp) * 0.01 ); - assert( int_I_temp < 2880 ); // Less than 48h... + assert( int_I_temp < 5760 ); // Less than 96h too... }