Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gtsam/matlab issue #1

Open
yassinekebbati opened this issue Jul 7, 2022 · 0 comments
Open

gtsam/matlab issue #1

yassinekebbati opened this issue Jul 7, 2022 · 0 comments

Comments

@yassinekebbati
Copy link

Hi, I am trying to use your approach to plan the racing line for an autonomous racing control application. However, I am stuck with some issues.
First, upon building with cmake I encountered an error with matlab_wrap function :
{CMake Error at CMakeLists.txt:95 (matlab_wrap):
matlab_wrap Function invoked with incorrect arguments for function named:
matlab_wrap}
so I changed line 95 of CMakeLists.txt into what was proposed by varunagrawal in borglab/wrap#136 (comment)
I used {matlab_wrap(pi_racing.i ${CONVENIENCE_LIB_NAME} "gtsam;${CONVENIENCE_LIB_NAME}" "" "" "")}. building with the modified CMakeLists.txt worked fine and installation was successful.
but the problem I am facing is when I tried to run pi_min_curv.m example I got the following error in Matlab :
{Unable to resolve the name 'noiseModel.Gaussian.Covariance'.
Error in pi_min_curv (line 121)
bounding_model = noiseModel.Gaussian.Covariance(eye(2) * bounding_sigma);}

and I have no clue whether my installation of pi-racing was faulty or the problem is in linking matlab with gtsam??
Also, the gtsam_toolbox folder contains only pi_racing_wrapper.mexa64 and a folder named +pi-racing with 3 matlab files only is this normal ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant