|
| 1 | +{ |
| 2 | + "name":"align", |
| 3 | + "version":3, |
| 4 | + "snapshot":{ |
| 5 | + "waypoints":[ |
| 6 | + {"x":2.0, "y":6.5, "heading":0.0, "intervals":8, "split":false, "fixTranslation":true, "fixHeading":true, "overrideIntervals":false}, |
| 7 | + {"x":2.0, "y":6.5, "heading":0.0, "intervals":40, "split":false, "fixTranslation":true, "fixHeading":false, "overrideIntervals":false}], |
| 8 | + "constraints":[ |
| 9 | + {"from":"first", "to":null, "data":{"type":"StopPoint", "props":{}}, "enabled":true}, |
| 10 | + {"from":"last", "to":null, "data":{"type":"StopPoint", "props":{}}, "enabled":true}, |
| 11 | + {"from":"first", "to":"last", "data":{"type":"KeepInRectangle", "props":{"x":0.0, "y":0.0, "w":16.541, "h":8.0692}}, "enabled":false}, |
| 12 | + {"from":1, "to":"last", "data":{"type":"PointAt", "props":{"x":4.6, "y":4.0, "tolerance":0.017453292519943295, "flip":false}}, "enabled":true}], |
| 13 | + "targetDt":0.05 |
| 14 | + }, |
| 15 | + "params":{ |
| 16 | + "waypoints":[ |
| 17 | + {"x":{"exp":"2 m", "val":2.0}, "y":{"exp":"6.5 m", "val":6.5}, "heading":{"exp":"0 deg", "val":0.0}, "intervals":8, "split":false, "fixTranslation":true, "fixHeading":true, "overrideIntervals":false}, |
| 18 | + {"x":{"exp":"2 m", "val":2.0}, "y":{"exp":"6.5 m", "val":6.5}, "heading":{"exp":"0 deg", "val":0.0}, "intervals":40, "split":false, "fixTranslation":true, "fixHeading":false, "overrideIntervals":false}], |
| 19 | + "constraints":[ |
| 20 | + {"from":"first", "to":null, "data":{"type":"StopPoint", "props":{}}, "enabled":true}, |
| 21 | + {"from":"last", "to":null, "data":{"type":"StopPoint", "props":{}}, "enabled":true}, |
| 22 | + {"from":"first", "to":"last", "data":{"type":"KeepInRectangle", "props":{"x":{"exp":"0 m", "val":0.0}, "y":{"exp":"0 m", "val":0.0}, "w":{"exp":"16.541 m", "val":16.541}, "h":{"exp":"8.0692 m", "val":8.0692}}}, "enabled":false}, |
| 23 | + {"from":1, "to":"last", "data":{"type":"PointAt", "props":{"x":{"exp":"4.6 m", "val":4.6}, "y":{"exp":"4 m", "val":4.0}, "tolerance":{"exp":"1 deg", "val":0.017453292519943295}, "flip":false}}, "enabled":true}], |
| 24 | + "targetDt":{ |
| 25 | + "exp":"0.05 s", |
| 26 | + "val":0.05 |
| 27 | + } |
| 28 | + }, |
| 29 | + "trajectory":{ |
| 30 | + "config":{ |
| 31 | + "frontLeft":{ |
| 32 | + "x":0.2794, |
| 33 | + "y":0.2794 |
| 34 | + }, |
| 35 | + "backLeft":{ |
| 36 | + "x":-0.2794, |
| 37 | + "y":0.2794 |
| 38 | + }, |
| 39 | + "mass":68.0388555, |
| 40 | + "inertia":6.0, |
| 41 | + "gearing":6.5, |
| 42 | + "radius":0.0508, |
| 43 | + "vmax":628.3185307179587, |
| 44 | + "tmax":1.2, |
| 45 | + "cof":1.5, |
| 46 | + "bumper":{ |
| 47 | + "front":0.4064, |
| 48 | + "side":0.4064, |
| 49 | + "back":0.4064 |
| 50 | + }, |
| 51 | + "differentialTrackWidth":0.5588 |
| 52 | + }, |
| 53 | + "sampleType":"Swerve", |
| 54 | + "waypoints":[0.0,0.27237], |
| 55 | + "samples":[ |
| 56 | + {"t":0.0, "x":2.0, "y":6.5, "heading":0.0, "vx":0.0, "vy":0.0, "omega":0.0, "ax":0.0, "ay":0.0, "alpha":-40.39234, "fx":[108.42611,108.42611,-108.42611,-108.42611], "fy":[-108.42611,108.42611,108.42611,-108.42611]}, |
| 57 | + {"t":0.03405, "x":2.0, "y":6.5, "heading":0.0, "vx":0.0, "vy":0.0, "omega":-1.37522, "ax":0.0, "ay":0.0, "alpha":-40.37069, "fx":[108.368,108.368,-108.368,-108.368], "fy":[-108.368,108.368,108.368,-108.368]}, |
| 58 | + {"t":0.06809, "x":2.0, "y":6.5, "heading":-0.04682, "vx":0.0, "vy":0.0, "omega":-2.74971, "ax":0.0, "ay":0.0, "alpha":-40.32021, "fx":[103.04812,113.17965,-103.04812,-113.17965], "fy":[-113.17965,103.04812,113.17965,-103.04812]}, |
| 59 | + {"t":0.10214, "x":2.0, "y":6.5, "heading":-0.14044, "vx":0.0, "vy":0.0, "omega":-4.12247, "ax":0.0, "ay":0.0, "alpha":-40.06877, "fx":[91.44284,121.55433,-91.44284,-121.55433], "fy":[-121.55433,91.44284,121.55433,-91.44284]}, |
| 60 | + {"t":0.13619, "x":2.0, "y":6.5, "heading":-0.2808, "vx":0.0, "vy":0.0, "omega":-5.48668, "ax":0.0, "ay":0.0, "alpha":40.06877, "fx":[-73.53868,-133.15146,73.53868,133.15146], "fy":[133.15146,-73.53868,-133.15146,73.53868]}, |
| 61 | + {"t":0.17023, "x":2.0, "y":6.5, "heading":-0.4676, "vx":0.0, "vy":0.0, "omega":-4.12247, "ax":0.0, "ay":0.0, "alpha":40.32021, "fx":[-47.82896,-145.39924,47.82896,145.39924], "fy":[145.39924,-47.82896,-145.39924,47.82896]}, |
| 62 | + {"t":0.20428, "x":2.0, "y":6.5, "heading":-0.60795, "vx":0.0, "vy":0.0, "omega":-2.74971, "ax":0.0, "ay":0.0, "alpha":40.37069, "fx":[-27.05171,-150.8491,27.05171,150.8491], "fy":[150.8491,-27.05171,-150.8491,27.05171]}, |
| 63 | + {"t":0.23833, "x":2.0, "y":6.5, "heading":-0.70157, "vx":0.0, "vy":0.0, "omega":-1.37522, "ax":0.0, "ay":0.0, "alpha":40.39234, "fx":[-12.83854,-152.79927,12.83854,152.79927], "fy":[152.79927,-12.83854,-152.79927,12.83854]}, |
| 64 | + {"t":0.27237, "x":2.0, "y":6.5, "heading":-0.74839, "vx":0.0, "vy":0.0, "omega":0.0, "ax":0.0, "ay":0.0, "alpha":0.0, "fx":[0.0,0.0,0.0,0.0], "fy":[0.0,0.0,0.0,0.0]}], |
| 65 | + "splits":[0] |
| 66 | + }, |
| 67 | + "events":[] |
| 68 | +} |
0 commit comments