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

Undefined function or variable 'Quaternion' #1

Open
RYANZYC opened this issue Nov 24, 2018 · 1 comment
Open

Undefined function or variable 'Quaternion' #1

RYANZYC opened this issue Nov 24, 2018 · 1 comment

Comments

@RYANZYC
Copy link

RYANZYC commented Nov 24, 2018

When I run your matlab code Main_TP_ST_HSMM_BaxterPickPlace and Main_TP_ST_HSMM_BaxterValve. there are errors :Undefined function or variable 'Quaternion'
error DrawPlotsStateDriven (line 273)
Orient_Frame = Quaternion(r(i).Data(4:7,j));
error Main_TP_ST_HSMM_BaxterPickPlace (line 143)
DrawPlotsStateDriven(model, Data, [s stest], [r rtest], r_new);

Could you re-upload the M file of Quaternion?
Thank you!

@ajaytanwani
Copy link
Owner

robot-9.10.zip

Quaternion class is used from Robotics Toolbox. I am attaching the toolbox for reference. You can execute startup_rvc.m before executing the code, or add all the sub-folders in your startup Preferences for matlab.

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