Array iteration using a for loop in stateflow
Mostra commenti meno recenti
Hello everyone, I am trying to import the trajectories of my robot in order to simulate the robot dynamically. My goal is to simulate the robot during every trajectory consecutively and to save the dynamic results, torques etc. the problem is I have a big amount of trajectory (44608 different trajectories for a 6 axis robot so 44608x6 matrix of waypoints) Also each trajectory's timepoints are like this 0:0.1:4 (41 step) and timepoints matrix is 1x44608. What I want is to utilize stateflow in order to run the simulation for each row of the waypoints matrix and each 41 row of the time matrix. I tried using for each loop but It doesn't work with minimum jerk polynomial trajectory block that interpolates the qd and qdd. I am open to suggestions !
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su General Applications 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!