Skip to content

Commit

Permalink
regenerate values for vehicle drag test (#37369)
Browse files Browse the repository at this point in the history
* regenerate values for vehicle drag test
  • Loading branch information
davidpwbrown authored and kevingranade committed Jan 25, 2020
1 parent 3da00f4 commit 8f55ca2
Showing 1 changed file with 65 additions and 65 deletions.
130 changes: 65 additions & 65 deletions tests/vehicle_drag_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,73 +242,73 @@ TEST_CASE( "vehicle_drag_calc_baseline", "[.]" )
// coeffs are dimensionless, speeds are 100ths of mph, so 6101 is 61.01 mph
TEST_CASE( "vehicle_drag", "[vehicle] [engine]" )
{
test_vehicle_drag( "bicycle", 0.609525, 0.016957, 42.679167, 2356, 3078 );
test_vehicle_drag( "bicycle_electric", 0.609525, 0.0275812446, 69.4208333333, 2722, 3243 );
test_vehicle_drag( "motorcycle", 0.609525, 0.568903, 254.351562, 7212, 8628 );
test_vehicle_drag( "motorcycle_sidecart", 0.880425, 0.857295, 454.268750, 6349, 7604 );
test_vehicle_drag( "quad_bike", 0.537285, 1.110281, 709.138393, 7369, 8856 );
test_vehicle_drag( "scooter", 0.609525, 0.171854, 129.764583, 4273, 4902 );
test_vehicle_drag( "scooter_electric", 0.609525, 0.190030, 143.489583, 4919, 5098 );
test_vehicle_drag( "superbike", 0.609525, 0.844993, 377.789062, 9867, 11765 );
test_vehicle_drag( "tandem", 0.609525, 0.021344, 40.290625, 2353, 3076 );
test_vehicle_drag( "unicycle", 0.690795, 0.002400, 24.162500, 2266, 2958 );
test_vehicle_drag( "beetle", 0.785610, 1.693784, 1199.020312, 8902, 10668 );
test_vehicle_drag( "bicycle", 0.609525, 0.017205, 43.304167, 2355, 3078 );
test_vehicle_drag( "bicycle_electric", 0.609525, 0.027581, 69.420833, 2753, 3268 );
test_vehicle_drag( "motorcycle", 0.609525, 0.569952, 254.820312, 7296, 8687 );
test_vehicle_drag( "motorcycle_sidecart", 0.880425, 0.859065, 455.206250, 6423, 7657 );
test_vehicle_drag( "quad_bike", 0.537285, 1.112797, 710.745536, 7457, 8918 );
test_vehicle_drag( "scooter", 0.609525, 0.172681, 130.389583, 4273, 5082 );
test_vehicle_drag( "scooter_electric", 0.609525, 0.183133, 138.281250, 4825, 5001 );
test_vehicle_drag( "superbike", 0.609525, 0.846042, 378.257812, 9912, 11797 );
test_vehicle_drag( "tandem", 0.609525, 0.021592, 40.759375, 2353, 3076 );
test_vehicle_drag( "unicycle", 0.690795, 0.002493, 25.100000, 2266, 2958 );
test_vehicle_drag( "beetle", 0.785610, 1.644624, 1164.220312, 8995, 10735 );
test_vehicle_drag( "bubble_car", 0.823988, 1.373576, 926.044643, 9365, 9711 );
test_vehicle_drag( "car", 0.294604, 2.366883, 1117.002083, 11837, 14304 );
test_vehicle_drag( "car_mini", 0.294604, 1.709414, 1210.084375, 12080, 14536 );
test_vehicle_drag( "car_sports", 0.294604, 2.424461, 1373.010000, 20847, 24914 );
test_vehicle_drag( "car_sports_atomic", 0.294604, 3.552642, 1676.596875, 24664, 25593 );
test_vehicle_drag( "car_sports_electric", 0.294604, 3.192600, 1808.018750, 24774, 25702 );
test_vehicle_drag( "electric_car", 0.304763, 2.407649, 1136.240625, 16203, 16819 );
test_vehicle_drag( "car", 0.294604, 2.317723, 1093.802083, 11973, 14404 );
test_vehicle_drag( "car_mini", 0.294604, 1.660254, 1175.284375, 12215, 14636 );
test_vehicle_drag( "car_sports", 0.294604, 2.391878, 1354.557500, 20898, 24953 );
test_vehicle_drag( "car_sports_atomic", 0.294604, 3.554633, 1677.536458, 23767, 24664 );
test_vehicle_drag( "car_sports_electric", 0.294604, 3.241243, 1835.566250, 23863, 24760 );
test_vehicle_drag( "electric_car", 0.304763, 2.329794, 1099.498958, 16259, 16876 );
test_vehicle_drag( "rara_x", 0.880425, 1.902452, 990.701509, 8408, 8724 );
test_vehicle_drag( "suv", 0.294604, 2.807600, 1135.705357, 13939, 16801 );
test_vehicle_drag( "suv_electric", 0.304763, 2.589389, 1047.436607, 16144, 16760 );
test_vehicle_drag( "golf_cart", 0.943313, 1.479398, 930.895833, 7126, 7393 );
test_vehicle_drag( "golf_cart_4seat", 0.943313, 1.446760, 910.358333, 7131, 7398 );
test_vehicle_drag( "suv", 0.294604, 2.758440, 1115.819643, 14042, 16878 );
test_vehicle_drag( "suv_electric", 0.304763, 2.511535, 1015.943750, 16200, 16817 );
test_vehicle_drag( "golf_cart", 0.943313, 1.472114, 926.312500, 7039, 7303 );
test_vehicle_drag( "golf_cart_4seat", 0.943313, 1.439476, 905.775000, 7044, 7308 );
test_vehicle_drag( "hearse", 0.355556, 2.827377, 1143.705357, 11164, 13453 );
test_vehicle_drag( "pickup_technical", 0.838097, 2.820320, 1140.850893, 10136, 12149 );
test_vehicle_drag( "ambulance", 1.049323, 2.264056, 1858.217708, 11256, 13438 );
test_vehicle_drag( "car_fbi", 0.457144, 2.635064, 1243.564583, 14570, 17458 );
test_vehicle_drag( "fire_engine", 2.305875, 3.485556, 2288.608036, 8654, 10334 );
test_vehicle_drag( "fire_truck", 1.092446, 7.944023, 5266.181611, 10508, 12693 );
test_vehicle_drag( "policecar", 0.629842, 2.636167, 1244.085417, 13182, 15775 );
test_vehicle_drag( "policesuv", 0.629842, 2.967405, 1200.348214, 13124, 15720 );
test_vehicle_drag( "truck_swat", 0.808830, 7.538017, 6186.806250, 9850, 11625 );
test_vehicle_drag( "oldtractor", 0.537285, 0.868099, 1282.481250, 12353, 14339 );
test_vehicle_drag( "autotractor", 1.425450, 2.018176, 1987.695000, 7291, 7563 );
test_vehicle_drag( "tractor_plow", 0.609525, 0.893061, 1691.485577, 11852, 13756 );
test_vehicle_drag( "tractor_reaper", 0.609525, 0.778836, 1475.139423, 11874, 13777 );
test_vehicle_drag( "tractor_seed", 0.609525, 0.778836, 1475.139423, 11874, 13777 );
test_vehicle_drag( "aapc-mg", 1.625400, 8.606709, 4351.886161, 7972, 9379 );
test_vehicle_drag( "apc", 1.625400, 8.483520, 4289.597470, 7982, 9388 );
test_vehicle_drag( "humvee", 0.616297, 7.253658, 4890.308036, 12871, 15129 );
test_vehicle_drag( "military_cargo_truck", 0.840757, 9.416864, 4345.338889, 11502, 13545 );
test_vehicle_drag( "flatbed_truck", 0.883328, 4.458495, 1995.980114, 9717, 11717 );
test_vehicle_drag( "pickup", 0.589208, 3.088771, 1249.441964, 11219, 13499 );
test_vehicle_drag( "semi_truck", 0.781317, 9.950414, 5749.409167, 11670, 13766 );
test_vehicle_drag( "truck_trailer", 1.176534, 12.833835, 5688.000000, 0, 0 );
test_vehicle_drag( "tatra_truck", 0.440213, 7.711005, 4121.069767, 17745, 20815 );
test_vehicle_drag( "animalctrl", 0.345398, 2.717176, 1099.127679, 13283, 16007 );
test_vehicle_drag( "autosweeper", 0.986850, 1.849252, 1309.075000, 6970, 7233 );
test_vehicle_drag( "excavator", 0.659728, 1.749378, 1238.375000, 13141, 15260 );
test_vehicle_drag( "road_roller", 1.823738, 2.745174, 9120.522917, 9382, 10893 );
test_vehicle_drag( "forklift", 0.565988, 1.515984, 715.437500, 8361, 8679 );
test_vehicle_drag( "trencher", 0.659728, 1.143758, 1299.788942, 8047, 8347 );
test_vehicle_drag( "armored_car", 0.896872, 6.953143, 4687.705357, 11588, 13577 );
test_vehicle_drag( "cube_van", 0.518580, 2.636314, 2163.746875, 11796, 14161 );
test_vehicle_drag( "cube_van_cheap", 0.512775, 2.572474, 1853.869207, 9978, 12027 );
test_vehicle_drag( "hippie_van", 0.386033, 2.780080, 1124.573214, 10804, 13062 );
test_vehicle_drag( "icecream_truck", 0.681673, 3.818905, 2045.802027, 10606, 12783 );
test_vehicle_drag( "lux_rv", 1.609183, 3.571591, 2015.961623, 8400, 9790 );
test_vehicle_drag( "meth_lab", 0.518580, 3.025322, 2070.948138, 11677, 14056 );
test_vehicle_drag( "rv", 0.541800, 3.000739, 2054.120213, 11528, 13872 );
test_vehicle_drag( "pickup_technical", 0.838097, 2.724950, 1102.272321, 10210, 12205 );
test_vehicle_drag( "ambulance", 1.049323, 2.222427, 1824.051042, 11321, 13485 );
test_vehicle_drag( "car_fbi", 0.457144, 2.585904, 1220.364583, 14661, 17525 );
test_vehicle_drag( "fire_engine", 2.305875, 3.454497, 2268.215179, 8702, 10369 );
test_vehicle_drag( "fire_truck", 1.092446, 7.902344, 5238.551803, 10573, 12740 );
test_vehicle_drag( "policecar", 0.629843, 2.587007, 1220.885417, 13262, 15834 );
test_vehicle_drag( "policesuv", 0.629843, 2.918245, 1180.462500, 13204, 15779 );
test_vehicle_drag( "truck_swat", 0.808830, 7.563401, 6207.639583, 9935, 11688 );
test_vehicle_drag( "oldtractor", 0.537285, 0.893482, 1319.981250, 12446, 14408 );
test_vehicle_drag( "autotractor", 1.425450, 2.012592, 1982.195000, 7203, 7471 );
test_vehicle_drag( "tractor_plow", 0.609525, 0.918444, 1739.562500, 11941, 13822 );
test_vehicle_drag( "tractor_reaper", 0.609525, 0.804219, 1523.216346, 11963, 13843 );
test_vehicle_drag( "tractor_seed", 0.609525, 0.804219, 1523.216346, 11963, 13843 );
test_vehicle_drag( "aapc-mg", 1.625400, 8.660271, 4378.969494, 8038, 9427 );
test_vehicle_drag( "apc", 1.625400, 8.537083, 4316.680804, 8047, 9436 );
test_vehicle_drag( "humvee", 0.616297, 7.288223, 4913.611607, 12935, 15175 );
test_vehicle_drag( "military_cargo_truck", 0.840757, 9.507160, 4387.005556, 11554, 13581 );
test_vehicle_drag( "flatbed_truck", 0.883327, 4.376577, 1959.307386, 9818, 11790 );
test_vehicle_drag( "pickup", 0.589208, 2.992958, 1210.684821, 11340, 13589 );
test_vehicle_drag( "semi_truck", 0.781317, 9.931077, 5738.235833, 11737, 13816 );
test_vehicle_drag( "truck_trailer", 1.176534, 12.890242, 5713.000000, 0, 0 );
test_vehicle_drag( "tatra_truck", 0.440213, 7.636835, 4081.430233, 17812, 20868 );
test_vehicle_drag( "animalctrl", 0.345398, 2.668016, 1079.241964, 13420, 16107 );
test_vehicle_drag( "autosweeper", 0.986850, 1.844396, 1305.637500, 6884, 7144 );
test_vehicle_drag( "excavator", 0.659728, 1.793523, 1269.625000, 13204, 15305 );
test_vehicle_drag( "road_roller", 1.823738, 2.729505, 9068.464583, 9433, 10931 );
test_vehicle_drag( "forklift", 0.565988, 1.510686, 712.937500, 8258, 8572 );
test_vehicle_drag( "trencher", 0.659728, 1.166350, 1325.462019, 7944, 8240 );
test_vehicle_drag( "armored_car", 0.896872, 6.982755, 4707.669643, 11645, 13619 );
test_vehicle_drag( "cube_van", 0.518580, 2.594634, 2129.538542, 11876, 14220 );
test_vehicle_drag( "cube_van_cheap", 0.512775, 2.530795, 1823.832622, 10085, 12105 );
test_vehicle_drag( "hippie_van", 0.386033, 2.730920, 1104.687500, 10926, 13152 );
test_vehicle_drag( "icecream_truck", 0.681673, 3.723092, 1994.475000, 10719, 12867 );
test_vehicle_drag( "lux_rv", 1.609183, 3.459129, 1952.483443, 8479, 9850 );
test_vehicle_drag( "meth_lab", 0.518580, 2.994264, 2049.687500, 11790, 14138 );
test_vehicle_drag( "rv", 0.541800, 2.972401, 2034.721277, 11639, 13952 );
test_vehicle_drag( "schoolbus", 0.411187, 2.794265, 1250.937500, 13069, 15234 );
test_vehicle_drag( "security_van", 0.541800, 7.592192, 6231.269792, 10977, 13009 );
test_vehicle_drag( "wienermobile", 1.063697, 2.315334, 1900.304167, 11201, 13374 );
test_vehicle_drag( "canoe", 0.609525, 6.948203, 1.967437, 331, 691 );
test_vehicle_drag( "kayak", 0.609525, 3.243223, 1.224458, 655, 1236 );
test_vehicle_drag( "kayak_racing", 0.609525, 2.912135, 1.099458, 715, 1320 );
test_vehicle_drag( "DUKW", 0.776902, 3.754579, 81.208176, 10298, 12353 );
test_vehicle_drag( "raft", 0.997815, 8.950399, 5.068750, 259, 548 );
test_vehicle_drag( "inflatable_boat", 0.469560, 2.823845, 1.599187, 741, 1382 );
test_vehicle_drag( "security_van", 0.541800, 7.617575, 6252.103125, 11074, 13079 );
test_vehicle_drag( "wienermobile", 1.063697, 2.273655, 1866.095833, 11266, 13420 );
test_vehicle_drag( "canoe", 0.609525, 7.741047, 2.191938, 298, 628 );
test_vehicle_drag( "kayak", 0.609525, 4.036067, 1.523792, 544, 1067 );
test_vehicle_drag( "kayak_racing", 0.609525, 3.704980, 1.398792, 586, 1133 );
test_vehicle_drag( "DUKW", 0.776902, 3.610873, 78.099941, 10319, 12373 );
test_vehicle_drag( "raft", 0.997815, 9.743243, 5.517750, 239, 508 );
test_vehicle_drag( "inflatable_boat", 0.469560, 3.616690, 2.048188, 602, 1173 );
}

0 comments on commit 8f55ca2

Please sign in to comment.