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

Canada example for Visual navigation is not working #117

Closed
rodralez opened this issue Mar 30, 2022 · 6 comments
Closed

Canada example for Visual navigation is not working #117

rodralez opened this issue Mar 30, 2022 · 6 comments
Assignees
Labels

Comments

@rodralez
Copy link
Owner

The navego_example_canada_data.m has been tested and is not working.

If FusionCase = "inertial_gnss" option is selected, the system diverge.

If FusionCase = "inertial_visual_gnss", the following error arise:

Error using horzcat
Dimensions of arrays being concatenated are not consistent.

Error in ins_visual_gnss (line 499)
            kf.z = [zv' zp']';

Error in navego_example_canada_data (line 62)
        nav_e = ins_visual_gnss(imu_planetary,gnss_planetary,visual_planetary,'dcm');

Please, download the current branch visual-inertial-gnss and work using the files from these folders. Avoid using code located at other folders.

@rodralez
Copy link
Owner Author

rodralez commented Apr 27, 2022

Since .txt files were not provided but the .mat did, navego_example_canada_data.m script was modified to
run using the .mat files only. And these .mat data files were uploaded at folder NaveGo/examples/planetary-data/canada-planetary-data/data/ in order the Canada visual example keeps running.

@johanndiep
Copy link
Collaborator

johanndiep commented Apr 27, 2022

Thanks Rodrigo for the input. I realized I forgot to add the .txt files to my local repository, and since I had .mat in .gitignore, the finished parsed .mat files were not pushed to origin visual-inertial-branch.

Your latest push to origin visual-inertial-branch comment out the need for the parsing process. I will add them back in since I find it important for future users how to translate their dataset into the required format needed for NaveGo.

@rodralez
Copy link
Owner Author

rodralez commented Apr 27, 2022

Johan, yes, please, remove all my changes to the original script if .txt are added.

On the other hand, please check if the error in ins_visual_gnss (line 499) keeps showing.

@johanndiep
Copy link
Collaborator

johanndiep commented Apr 27, 2022

I assume the error should be gone once the required input files are provided.

Note: as of currently, I am not able to test it since I do not have access to Matlab anymore. However, with the provided .txt files, the results should be similar to the results displayed in the following video:
https://www.youtube.com/watch?v=sPnPMBs1gSU&t=135s

@rodralez
Copy link
Owner Author

rodralez commented Apr 27, 2022

Note: as of currently, I am not able to test it since I do not have access to Matlab anymore.

If you don't have access to MATLAB, this is a problem. Maybe you can try Octave instead (https://www.gnu.org/software/octave/download).

@johanndiep
Copy link
Collaborator

That should not be a problem, I was able to run the code couple months ago to produce the results for the conference, since then I have not changed anything. If the paths are correctly set, the same results should come up again.
In the worst case, we can do a screen sharing session and we can check possible bugs.

I updated the origin visual-inertial-branch with the new files and the changes.

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

No branches or pull requests

2 participants