Skip to content

Commit

Permalink
Fixed structure for orientation traj generation, works with fatrop too
Browse files Browse the repository at this point in the history
  • Loading branch information
ricburli committed Jan 7, 2025
1 parent 333ba2f commit 658f5a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ def __init__(self, boundary_constraints, window_len = 100, bool_unsigned_invaria
X = []
invars = []
for k in range(window_len):
R_obj.append(opti.variable(3,3)) # object orientation
R_r.append(opti.variable(3,3)) # rotational Frenet-Serret frame
R_obj.append(opti.variable(3,3)) # object orientation
X.append(cas.vertcat(cas.vec(R_r[k]), cas.vec(R_obj[k])))
if k < window_len-1:
invars.append(opti.variable(3,1)) # invariants
Expand Down

0 comments on commit 658f5a0

Please sign in to comment.