Skip to content

Error in code for ex__kinematics__visualization.m #112

Discussion options

You must be logged in to vote

Abdul,

This means that you already have made objects from the HEBI API, before trying to load the Java libraries related to keyboard input, HebiKeyboard(). As far as I know, Matlab does not let you load Java libraries after you've made objects in the workspace with any other libraries, and you get errors like the one you've posted.

To fix this, please make sure to use the startup.m scripts in the examples the first thing when you start up Matlab. For the arm examples the startup.m file is in hebi-matlab-examples/kits/arms/. Underneath it calls an include.m file that loads the libraries for HebiKeyboard and HebiJoystick, to make sure they can be used later without having to restart Matlab.

I…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by GogiPuttar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
MATLAB
Labels
question Questions, comments or problems
1 participant