From bcc058ba78655db73fe11022d78219ae2578042c Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Thu, 20 Jun 2024 12:16:52 -0700 Subject: [PATCH] Remove JSON example (#188) TrajoptLib no longer supports JSON serialization --- example-sleipnir.json | 575 ------------------------------------------ 1 file changed, 575 deletions(-) delete mode 100644 example-sleipnir.json diff --git a/example-sleipnir.json b/example-sleipnir.json deleted file mode 100644 index e409626e..00000000 --- a/example-sleipnir.json +++ /dev/null @@ -1,575 +0,0 @@ -{ - "initial_state": { - "x": 3.67412, - "y": 0.32587, - "heading": 0.127486, - "velocity_x": -5.35474e-05, - "velocity_y": 5.36554e-05, - "angular_velocity": 2.2678e-05, - "acceleration_x": 1.77443e-19, - "acceleration_y": 5.11446e-22, - "angular_acceleration": -7.01726e-06 - }, - "samples": [ - { - "interval_duration": 0.042461, - "state": { - "x": 3.34599, - "y": 0.653906, - "heading": 0.254509, - "velocity_x": -0.0910029, - "velocity_y": 0.0893419, - "angular_velocity": 0.0100273, - "acceleration_x": -15.3636, - "acceleration_y": 15.346, - "angular_acceleration": -66.0101 - } - }, - { - "interval_duration": 0.042461, - "state": { - "x": 3.01579, - "y": 0.983974, - "heading": 0.38213, - "velocity_x": -0.174811, - "velocity_y": 0.172126, - "angular_velocity": 0.0445551, - "acceleration_x": -13.8786, - "acceleration_y": 13.8746, - "angular_acceleration": -58.7576 - } - }, - { - "interval_duration": 0.042461, - "state": { - "x": 2.68376, - "y": 1.31591, - "heading": 0.510889, - "velocity_x": -0.250146, - "velocity_y": 0.247561, - "angular_velocity": 0.0904995, - "acceleration_x": -12.3594, - "acceleration_y": 12.3812, - "angular_acceleration": -51.8374 - } - }, - { - "interval_duration": 0.042461, - "state": { - "x": 2.35005, - "y": 1.64955, - "heading": 0.640953, - "velocity_x": -0.316374, - "velocity_y": 0.314829, - "angular_velocity": 0.138497, - "acceleration_x": -10.8236, - "acceleration_y": 10.8667, - "angular_acceleration": -45.1552 - } - }, - { - "interval_duration": 0.042461, - "state": { - "x": 2.01494, - "y": 1.9846, - "heading": 0.772278, - "velocity_x": -0.373327, - "velocity_y": 0.373284, - "angular_velocity": 0.183208, - "acceleration_x": -9.28299, - "acceleration_y": 9.33534, - "angular_acceleration": -38.6096 - } - }, - { - "interval_duration": 0.042461, - "state": { - "x": 1.67853, - "y": 2.32103, - "heading": 0.904734, - "velocity_x": -0.421016, - "velocity_y": 0.422457, - "angular_velocity": 0.222499, - "acceleration_x": -7.74223, - "acceleration_y": 7.79168, - "angular_acceleration": -32.1196 - } - }, - { - "interval_duration": 0.042461, - "state": { - "x": 1.3412, - "y": 2.6584, - "heading": 1.03818, - "velocity_x": -0.459377, - "velocity_y": 0.461999, - "angular_velocity": 0.255967, - "acceleration_x": -6.1994, - "acceleration_y": 6.23888, - "angular_acceleration": -25.6415 - } - }, - { - "interval_duration": 0.042461, - "state": { - "x": 1.00317, - "y": 2.99658, - "heading": 1.17244, - "velocity_x": -0.488181, - "velocity_y": 0.491638, - "angular_velocity": 0.283232, - "acceleration_x": -4.65051, - "acceleration_y": 4.67889, - "angular_acceleration": -19.1743 - } - }, - { - "interval_duration": 0.042461, - "state": { - "x": 0.664616, - "y": 3.33529, - "heading": 1.30732, - "velocity_x": -0.507182, - "velocity_y": 0.511174, - "angular_velocity": 0.302969, - "acceleration_x": -3.09519, - "acceleration_y": 3.11366, - "angular_acceleration": -12.7415 - } - }, - { - "interval_duration": 0.042461, - "state": { - "x": 0.325885, - "y": 3.67413, - "heading": 1.44251, - "velocity_x": -0.516296, - "velocity_y": 0.52054, - "angular_velocity": 0.313038, - "acceleration_x": -1.5376, - "acceleration_y": 1.54658, - "angular_acceleration": -6.36316 - } - }, - { - "interval_duration": 0.456555, - "state": { - "x": -0.149261, - "y": 3.57751, - "heading": 2.07736, - "velocity_x": -1.03983, - "velocity_y": -0.211973, - "angular_velocity": 1.37671, - "acceleration_x": -1.13403, - "acceleration_y": -1.58983, - "angular_acceleration": 2.24577 - } - }, - { - "interval_duration": 0.456555, - "state": { - "x": -0.714652, - "y": 3.29006, - "heading": 2.81894, - "velocity_x": -1.23612, - "velocity_y": -0.627652, - "angular_velocity": 1.61605, - "acceleration_x": -0.419441, - "acceleration_y": -0.898826, - "angular_acceleration": 0.531224 - } - }, - { - "interval_duration": 0.456555, - "state": { - "x": -1.28358, - "y": 2.90913, - "heading": 3.21547, - "velocity_x": -1.24171, - "velocity_y": -0.830059, - "angular_velocity": 0.874175, - "acceleration_x": -0.00441706, - "acceleration_y": -0.435588, - "angular_acceleration": -1.56347 - } - }, - { - "interval_duration": 0.456555, - "state": { - "x": -1.81345, - "y": 2.50702, - "heading": 3.04197, - "velocity_x": -1.15357, - "velocity_y": -0.873891, - "angular_velocity": -0.386239, - "acceleration_x": 0.199345, - "acceleration_y": -0.0907105, - "angular_acceleration": -2.7514 - } - }, - { - "interval_duration": 0.456555, - "state": { - "x": -2.29365, - "y": 2.1124, - "heading": 2.5279, - "velocity_x": -1.04229, - "velocity_y": -0.855186, - "angular_velocity": -1.12324, - "acceleration_x": 0.249097, - "acceleration_y": 0.044747, - "angular_acceleration": -1.56489 - } - }, - { - "interval_duration": 0.456555, - "state": { - "x": -2.7327, - "y": 1.73355, - "heading": 1.97742, - "velocity_x": -0.950403, - "velocity_y": -0.819163, - "angular_velocity": -1.20462, - "acceleration_x": 0.204643, - "acceleration_y": 0.0805542, - "angular_acceleration": -0.180607 - } - }, - { - "interval_duration": 0.456555, - "state": { - "x": -3.14797, - "y": 1.35789, - "heading": 1.5311, - "velocity_x": -0.897555, - "velocity_y": -0.811627, - "angular_velocity": -0.962809, - "acceleration_x": 0.117054, - "acceleration_y": 0.016498, - "angular_acceleration": 0.556648 - } - }, - { - "interval_duration": 0.456555, - "state": { - "x": -3.54457, - "y": 0.956964, - "heading": 1.02215, - "velocity_x": -0.856444, - "velocity_y": -0.867153, - "angular_velocity": -1.09368, - "acceleration_x": 0.0898693, - "acceleration_y": -0.122032, - "angular_acceleration": -0.262357 - } - }, - { - "interval_duration": 0.456555, - "state": { - "x": -3.87688, - "y": 0.50642, - "heading": 0.52978, - "velocity_x": -0.715562, - "velocity_y": -0.976942, - "angular_velocity": -1.06861, - "acceleration_x": 0.305789, - "acceleration_y": -0.242003, - "angular_acceleration": 0.0223714 - } - }, - { - "interval_duration": 0.456555, - "state": { - "x": -4, - "y": -6.22399e-12, - "heading": 7.30751e-11, - "velocity_x": -0.256107, - "velocity_y": -1.10148, - "angular_velocity": -1.15889, - "acceleration_x": 1.00016, - "acceleration_y": -0.276334, - "angular_acceleration": -0.224332 - } - }, - { - "interval_duration": 0.371254, - "state": { - "x": -3.83341, - "y": -0.421851, - "heading": -0.217639, - "velocity_x": 0.446823, - "velocity_y": -1.13368, - "angular_velocity": -0.585946, - "acceleration_x": 1.89368, - "acceleration_y": -0.088402, - "angular_acceleration": 1.54295 - } - }, - { - "interval_duration": 0.371254, - "state": { - "x": -3.52347, - "y": -0.870807, - "heading": -0.372457, - "velocity_x": 0.833437, - "velocity_y": -1.2073, - "angular_velocity": -0.416256, - "acceleration_x": 1.04171, - "acceleration_y": -0.199698, - "angular_acceleration": 0.45701 - } - }, - { - "interval_duration": 0.371254, - "state": { - "x": -3.1113, - "y": -1.35802, - "heading": -0.430058, - "velocity_x": 1.1091, - "velocity_y": -1.3109, - "angular_velocity": -0.154239, - "acceleration_x": 0.742813, - "acceleration_y": -0.280217, - "angular_acceleration": 0.705178 - } - }, - { - "interval_duration": 0.371254, - "state": { - "x": -2.65314, - "y": -1.86513, - "heading": -0.548582, - "velocity_x": 1.23321, - "velocity_y": -1.36497, - "angular_velocity": -0.318889, - "acceleration_x": 0.334565, - "acceleration_y": -0.146683, - "angular_acceleration": -0.443947 - } - }, - { - "interval_duration": 0.371254, - "state": { - "x": -2.19647, - "y": -2.33792, - "heading": -0.664104, - "velocity_x": 1.22925, - "velocity_y": -1.27279, - "angular_velocity": -0.311372, - "acceleration_x": -0.0104071, - "acceleration_y": 0.247431, - "angular_acceleration": 0.0192737 - } - }, - { - "interval_duration": 0.371254, - "state": { - "x": -1.75444, - "y": -2.78179, - "heading": -0.809764, - "velocity_x": 1.18985, - "velocity_y": -1.19513, - "angular_velocity": -0.392232, - "acceleration_x": -0.105855, - "acceleration_y": 0.208419, - "angular_acceleration": -0.216624 - } - }, - { - "interval_duration": 0.371254, - "state": { - "x": -1.31306, - "y": -3.20006, - "heading": -0.957475, - "velocity_x": 1.18819, - "velocity_y": -1.12641, - "angular_velocity": -0.397168, - "acceleration_x": -0.00418659, - "acceleration_y": 0.184478, - "angular_acceleration": -0.0119679 - } - }, - { - "interval_duration": 0.371254, - "state": { - "x": -0.862276, - "y": -3.57957, - "heading": -1.10466, - "velocity_x": 1.21364, - "velocity_y": -1.02214, - "angular_velocity": -0.395761, - "acceleration_x": 0.068843, - "acceleration_y": 0.280362, - "angular_acceleration": 0.00333282 - } - }, - { - "interval_duration": 0.371254, - "state": { - "x": -0.413028, - "y": -3.87028, - "heading": -1.31053, - "velocity_x": 1.20964, - "velocity_y": -0.782921, - "angular_velocity": -0.554194, - "acceleration_x": -0.0104346, - "acceleration_y": 0.643924, - "angular_acceleration": -0.427706 - } - }, - { - "interval_duration": 0.371254, - "state": { - "x": 7.23084e-11, - "y": -4, - "heading": -1.57, - "velocity_x": 1.11216, - "velocity_y": -0.349075, - "angular_velocity": -0.699328, - "acceleration_x": -0.262154, - "acceleration_y": 1.16828, - "angular_acceleration": -0.392834 - } - }, - { - "interval_duration": 0.449979, - "state": { - "x": 0.45151, - "y": -3.732, - "heading": -1.40477, - "velocity_x": 1.00336, - "velocity_y": 0.593823, - "angular_velocity": 0.352034, - "acceleration_x": -0.240472, - "acceleration_y": 2.09591, - "angular_acceleration": 2.31797 - } - }, - { - "interval_duration": 0.449979, - "state": { - "x": 0.860918, - "y": -3.24526, - "heading": -1.29964, - "velocity_x": 0.910096, - "velocity_y": 1.08029, - "angular_velocity": 0.21948, - "acceleration_x": -0.206574, - "acceleration_y": 1.08174, - "angular_acceleration": -0.288445 - } - }, - { - "interval_duration": 0.449979, - "state": { - "x": 1.27246, - "y": -2.70191, - "heading": -1.15939, - "velocity_x": 0.914804, - "velocity_y": 1.20656, - "angular_velocity": 0.306509, - "acceleration_x": 0.0103012, - "acceleration_y": 0.281411, - "angular_acceleration": 0.218725 - } - }, - { - "interval_duration": 0.449979, - "state": { - "x": 1.71815, - "y": -2.17411, - "heading": -0.997103, - "velocity_x": 0.990475, - "velocity_y": 1.17259, - "angular_velocity": 0.363397, - "acceleration_x": 0.167463, - "acceleration_y": -0.0745858, - "angular_acceleration": 0.146134 - } - }, - { - "interval_duration": 0.449979, - "state": { - "x": 2.2062, - "y": -1.67876, - "heading": -0.802874, - "velocity_x": 1.08438, - "velocity_y": 1.10111, - "angular_velocity": 0.437278, - "acceleration_x": 0.207727, - "acceleration_y": -0.158165, - "angular_acceleration": 0.17004 - } - }, - { - "interval_duration": 0.449979, - "state": { - "x": 2.72316, - "y": -1.20386, - "heading": -0.594763, - "velocity_x": 1.14846, - "velocity_y": 1.05613, - "angular_velocity": 0.469297, - "acceleration_x": 0.141507, - "acceleration_y": -0.0997042, - "angular_acceleration": 0.0735836 - } - }, - { - "interval_duration": 0.449979, - "state": { - "x": 3.23916, - "y": -0.735943, - "heading": -0.38567, - "velocity_x": 1.14629, - "velocity_y": 1.04083, - "angular_velocity": 0.473293, - "acceleration_x": -0.00546384, - "acceleration_y": -0.0342961, - "angular_acceleration": 0.0156704 - } - }, - { - "interval_duration": 0.449979, - "state": { - "x": 3.70124, - "y": -0.296056, - "heading": -0.25986, - "velocity_x": 1.02665, - "velocity_y": 0.978508, - "angular_velocity": 0.288348, - "acceleration_x": -0.266202, - "acceleration_y": -0.139223, - "angular_acceleration": -0.406734 - } - }, - { - "interval_duration": 0.449979, - "state": { - "x": 4, - "y": -7.12128e-11, - "heading": 4.6622e-11, - "velocity_x": 0.663896, - "velocity_y": 0.658585, - "angular_velocity": 0.579064, - "acceleration_x": -0.806254, - "acceleration_y": -0.711959, - "angular_acceleration": 0.630455 - } - }, - { - "interval_duration": 0.449979, - "state": { - "x": 4, - "y": -1.12167e-11, - "heading": 2.86293e-11, - "velocity_x": 4.30012e-11, - "velocity_y": 1.1119e-10, - "angular_velocity": 2.41944e-11, - "acceleration_x": -1.47541, - "acceleration_y": -1.46485, - "angular_acceleration": -1.29842 - } - } - ] -}