Skip to content

Commit

Permalink
[skip ci] packing zero input traj now
Browse files Browse the repository at this point in the history
  • Loading branch information
dfridovi committed Nov 25, 2024
1 parent 9d839bd commit 45f3d2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions examples/TrajectoryExamples.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ using Makie: Makie
using LinearAlgebra: norm_sqr, norm
using ProgressMeter: ProgressMeter

using Infiltrator

include("utils.jl")
include("lane_change.jl")

Expand Down
2 changes: 1 addition & 1 deletion examples/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ function TrajectoryGamesBase.solve_trajectory_game!(
parameter_value;
solver_type = MCPSolver.InteriorPoint(),
x₀ = [
zero_input_trajectory(; game, horizon, initial_state)
pack_trajectory(zero_input_trajectory(; game, horizon, initial_state))
zeros(sum(parametric_game.dims.λ) + parametric_game.dims.λ̃)
],
)
Expand Down

0 comments on commit 45f3d2c

Please sign in to comment.