HybridRobotics / CBF-CLF-Helper

Matlab Interface for Control Barrier Function (CBF) and Control Lyapunov Function (CLF) based control methods.
257 stars 64 forks source link

Unrecognized method, property, or field 'initSys' for class 'ACC'. #8

Closed kalebbennaveed closed 2 years ago

kalebbennaveed commented 2 years ago

Not entirely sure what is causing this error

kalebbennaveed commented 2 years ago

It is resolved

inshaandrabi commented 9 months ago

how did you resolve this issue, I am facing the same problem

cyye403 commented 3 months ago

how did you resolve this issue, I am facing the same problem

Hi, did you solve the problem? If still not, I think my comment here will help you:

At first, i met the same problem as you do 'cause i just ignored the tips in "Usage", which said class functions "definesystem", "defineClf" and "defineCbf" are to be createrd. Noticing this, i \

1) add dir dynsys and lib to Matlab path, 2) copied the contents in the three m function under "@ACC" to the corresponding class functions in CtrlAffineSys.m, and 3) add another class function "ctrlCbfClfQp" to CtrlAffineSys class, while copying "ctrlCbfClfQp.m" under "lib/@CtrlAffineSys" here.

Then i found this problem solved, hope this works for u too(* ̄︶ ̄). \

By the way, lane keeping simulation demo is not included in the project, would you tell me where i can find one for anyone who notice this comment?