Skip to content

NMPC doesnt work #17

Description

@ThomasRebaudet

Hello,

Thank you for this great work. I test the stack, the training and evaluation work very well, but I have some issue with the close loop code.

I change the state_dict to corespond with my path and I change this line because I had issue when I run:

	LnP.set_xdata(states[0,idt])
	LnP.set_ydata(states[1,idt])

to

          LnP.set_xdata(np.array([states[0,idt]]))
          LnP.set_ydata(np.array([states[1,idt]]))

And with tha I can run the close loop. But the car don't follow the pass.

Image

I test the code in the bayes_race fork: run_nmpc_orca_true.py

But I just start to study NMPC field and it's difficult for me to debug coorectly the run_nmpc_orca_deep_dynamics.py.

Do you have a solution ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions