Skip to content

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

@chenglong-robot

Description

@chenglong-robot
  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
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions