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

Run GenerateNavFilterEquations.m in matlab 2017a,Error! #33

Open
BreederBai opened this issue Jul 2, 2018 · 3 comments
Open

Run GenerateNavFilterEquations.m in matlab 2017a,Error! #33

BreederBai opened this issue Jul 2, 2018 · 3 comments

Comments

@BreederBai
Copy link

When I ran GenerateNavFilterEquations.m using matlab 2017a, I got an error and I was wondering how I could fix this error(The function or variable 'QuatMult' is not defined) and run the script successfully.
image

@rafaelmendy
Copy link

rafaelmendy commented Jul 2, 2018

it seems that you are in the default address of Matlab.
change the address to where you copy the entire project. all folders and subfolders must be included in the matlab path.

@BreederBai
Copy link
Author

@rafaelmendy Thank you for your help, the error has been resolved, because of the version problem, there is a library function error at runtime, after a little modification I solved. The link in ardupilot AP_NavEKF2_core.h (https://github.com/priseborough/InertialNav/blob/master/derivations/RotationVectorAttitudeParameterisation/GenerateNavFilterEquations.m) seems to have failed. I have opened this link before, but I am not sure if the content is the same as what I am running now. I remember the contents of this connection and can generate most of the C code for the EKF. I don't know if my memory is wrong.

@wangdan973
Copy link

I have the same problem,I use matlab 2016a
how you solve this, can you tell me.
thanks very much1

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

3 participants