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

There are some errors in the code (Matlab) #2

Open
chenglong-robot opened this issue Feb 21, 2021 · 1 comment
Open

There are some errors in the code (Matlab) #2

chenglong-robot opened this issue Feb 21, 2021 · 1 comment

Comments

@chenglong-robot
Copy link

  1. Matrix dimensions must agree.
    Error in ukf_propagation (line 54)
    xis_new = xis_new - xi_mean; // xi_mean←xi_mean*ones(1,6)

    Error in ukf_propagation (line 73)
    xis_new = xis_new - xi_mean;// xi_mean←xi_mean*ones(1,6)

    Error in ukf_update (line 45)
    ys = ys - y_bar;// y_bar←y_bar*ones(1,6)

  2. Error: File: localization_results_plot.m Line: 46 Column: 18
    The input character is not valid in MATLAB statements or expressions.
    if cur_folder == "matlab" //error

       end
    
    if cur_folder == "matlab" //error
       print(fig1, 'examples/html/figures/main_localization_01', '-dpng', '-r600')
       print(fig2, 'examples/html/figures/main_localization_02', '-dpng', '-r600')
       print(fig3, 'examples/html/figures/main_localization_03', '-dpng', '-r600')
     end
    
@dalinzhangzdl
Copy link

I found the same problem.

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

2 participants