Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
cfranyota authored and Casey Francis committed Mar 4, 2021
1 parent 6a7bb97 commit 4ea35c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion selfdrive/controls/lib/longitudinal_mpc/libmpc_py.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ def _get_libmpc(mpc_id):
void init(double ttcCost, double distanceCost, double accelerationCost, double jerkCost);
void init_with_simulation(double v_ego, double x_l, double v_l, double a_l, double l);
void change_tr(double ttcCost, double distanceCost, double accelerationCost, double jerkCost);
int run_mpc(state_t * x0, log_t * solution,
double l, double a_l_0);
double l, double a_l_0, double TR);
""")

return (ffi, ffi.dlopen(libmpc_fn))
Expand Down

0 comments on commit 4ea35c3

Please sign in to comment.