How to get values from structure array
Mostra commenti meno recenti
Hello. I wonder how to get values from structure array, in my case. I know that second line is: incorrect--possibly unbalanced (, {, or [. Code:
Pose = rget( Kawasaki, 'pose');
getPoseValue =(Pose.x,Pose.y,Pose.z,Pose.o,Pose.t);
rset( Kawasaki, 'base', rpoint(getPoseValue) );
This is how it should be done with constant values. I want to get fresh values from pose of my robot.
Code2:
%rset( Kawasaki, 'base',
%rpoint(177.957,349.963,-229.418,15.983,179.610,-162.582) );

2 Commenti
Walter Roberson
il 22 Gen 2018
This appears to relate to http://www.cea-wismar.de/tbx/MatlabKK_Robotic-and-Visualization_Tbx/docu/fulldocu.html
Damian
il 22 Gen 2018
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Functions in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!