longjianquan
longjianquan
when i run mpc_path_tracking and mpc_sample Traceback (most recent call last): File "main.py", line 177, in Main() File "main.py", line 129, in Main ustar, xstar, cost = CalcInput(A, B, C,...
i have a project.i use osqp, then i fix P matrix(0.5*x*P*x+fx), i add linear constraint(some value mutable),then i run code 20 times,same P,but some time it show solve staus==-7,(ratio about=1/20)...
from numpy import array from qpsolvers import solve_qp H=array([[1.,-1.],[-1.,2.]]) f=array([[-2.],[-6.]]).reshape((2,)) L=array([[-1.,2.],[1.,1.]]) k=array([[2.],[2.]]).reshape((2,)) x = solve_qp(H, f, L,k) print("QP solution: x = {}".format(x)) problem solve in python QP solution: x =...
i have compile this project.but how to us it?roslaunch turtlebot_stage turtlebot_in_stage? i have add in move_base.launch.xml . but when i launch roslaunch turtlebot_stage turtlebot_in_stage it show [FATAL] [1520940319.066757250, 1.800000000]: Failed...