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

Matrix Multiply have a error #1

Open
HongFaWan opened this issue May 19, 2023 · 10 comments
Open

Matrix Multiply have a error #1

HongFaWan opened this issue May 19, 2023 · 10 comments
Assignees

Comments

@HongFaWan
Copy link

捕获
@HongFaWan
Copy link
Author

i don't know how to correct it

@petercorke
Copy link
Owner

Hi @HongFaWan, I can't read Chinese so it's a bit hard to figure what's happening here. Which line is causing the error?

@HongFaWan
Copy link
Author

HongFaWan commented May 23, 2023 via email

@petercorke
Copy link
Owner

Hi @HongFaWan I fixed some different bugs (and pushed them) and I can run this example fine on my local machine using MATLAB r2023a and the latest version of the RVC3 toolbox from this repo. Please note that this won't work with my old MVTB toolbox which also has a class called CentralCamera.

@thewitek Running this under MATLAB Online there is some problem with the project file setup, and I can't access the image files, somehow toolbox/images is not on the path.

@HongFaWan
Copy link
Author

HongFaWan commented May 24, 2023 via email

@thewitek
Copy link
Collaborator

thewitek commented May 24, 2023 via email

@petercorke
Copy link
Owner

For now, double click on the rvc3setup.prj file which will set the path up properly, then run the mlx file.

@petercorke
Copy link
Owner

However, the question still remains about the multiply error. @HongFaWan please explain the software configuration you are using, desktop or Online, which version of MATLAB you are using, and share the results of the following MATLAB commands:

>>> which CentralCamera
>>> rvccheck

@HongFaWan
Copy link
Author

Okay, I am using MATLAB R2022b desktop version on a Windows 10 system. The results of entering the two commands you provided are as follows:

>>> which CentralCamera
>>> D:\DESKTOP\inertial course\Robotics, Vision and Control\RVC3-MATLAB-main\toolbox\@CentralCamera\CentralCamera.m  % CentralCamera constructor
>>> rvccheck
>>> You have MATLAB release (R2022b), at least (R2023a) is required 
>>> Navigation Toolbox is required for Chapter 5
>>> p =
>>> 
>>>     'E:\Matlab\toolbox\phased\phased\rotx.m'
>>>  You have Peter Corke's Robotics and/or Spatial Math Toolbox in your path

@petercorke
Copy link
Owner

Please write the line that fails, cut and paste it in. It is not clear from the screenshot in your first posting. Then cut and paste the values of the arguments passed to that function.

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

No branches or pull requests

3 participants