错误提示检查路径问题,在Matlab Simulink仿真时找不到相应的Adams文件是因为当前MATLAB 路径没有在保存Adams文件的路径里面。
4 The ADAMS/Control environment
First,I follow TP1_AMORO,I have defined the state varibles.
input q1,q2,and output x,y of the end-effector
They are defined like this:
I have done parameterizing the motion of the actuators.
For creation of the plant,I have the following figures.
5 Interfacing ADAMS with MATLAB
It creates a .m file in the end.
I use MATLAB to open and run it.Then enter the command"adams_sys"
When I run simulink,it said that
I have solved this problem by myself.When I rewrote the working path in the matlab as same as the adams file path,the error will be solved.
In the Simulink,I observed the result like this.(zoom in).To be honest,I am not sure the graph is right or not.In another word,I feel confused that how can I make a relationship between this graph and the mockup.Did I choose a marker which cannot represent the position of the end-effector?
For 2R robot,the geometric equation is following,
x = l 1