File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ pub fn remote_generate_child(args: RemoteArgs) {
164164 }
165165 Err ( e) => {
166166 tracing:: warn!( "Failed to generate trajectory {:}" , e) ;
167- let ser_string = serde_json:: to_string ( & RemoteProgressUpdate :: Error ( e) )
167+ let ser_string: String = serde_json:: to_string ( & RemoteProgressUpdate :: Error ( e) )
168168 . expect ( "Failed to serialize progress update" ) ;
169169 ipc. send ( ser_string)
170170 . expect ( "Failed to send progress update" ) ;
Original file line number Diff line number Diff line change 11import { ConstraintData } from "../ConstraintDefinitions" ;
22import { Dimensions } from "../ExpressionStore" ;
33
4- export const SAVE_FILE_VERSION = "v2025.0.0" ;
4+ export const SAVE_FILE_VERSION = 1 ;
55export type Expr = { exp : string ; val : number } ;
66
77export function isExpr ( arg : any ) : arg is Expr {
@@ -130,6 +130,7 @@ export interface Output {
130130 waypoints : number [ ] ;
131131 samples : SwerveSample [ ] | DifferentialSample [ ] ;
132132 splits : number [ ] ;
133+ trackwidth : number ;
133134}
134135
135136export interface Trajectory {
Original file line number Diff line number Diff line change @@ -67,7 +67,8 @@ export const ChoreoTrajectoryStore = types
6767 return {
6868 waypoints : self . waypoints ,
6969 samples : self . samples ,
70- splits : self . splits
70+ splits : self . splits ,
71+ trackwidth : 1.0 //TODO: trackwidth
7172 } ;
7273 }
7374 } ) )
You can’t perform that action at this time.
0 commit comments