| This lab introduces you to the LabVIEW robotic systems.
Questions and comments:
Questions about the tutorial from Lab 6:
Step 3) The tutorial says we should already have obtained code for rotating a 2D array. When and where were we supposed to have obtained this code? I found the VI online, but could not find a step to get it in the tutorial.
Please reiterate within this tutorial where the VI can be found.
The VI we used can be found here:
Sorry, we included the VI in the answers we provided to Dr. Conrad, but we forgot to tell him to send that VI to the class.
Step 6) In the case for 'Forward' do we still need to add the indices for forward to the through-put Row and Column values as was done in Lab 5 (I.e.
add zero to Row and Add 1 to Column)? This question is a Primer for my question on Step 14.
Yes, the position needs to be updated.
Step 10) Similarly, do we need to add indices to the Row and Column values for the Left and Right directions (to relocate the robots progress on the map), or does the 'marker' and Rotate Array code handle this? No updating of the robots position is noted in the tutorial.
This is a screenshot of a portion of my code that handles the rotation of the array and the updating of the robots new position. (Robot turns 90 degrees to the left and moves forward one block.)
Step 14) In the case where the position in front of the robot is 100, no rotation of the array is required (because it faces forward after the move).
No code is called out by the tutorial to update the robots position on the map. I would think some map update code is required here (either marker or Row Col update - depending on answers to prior questions)
The position needs to be updated, however, no rotation of the array is necessary. (In the case of moving forward one block my code is identical to the same case in lab 5.)
The process of updating the robots new position on the map is not clearly explained in either tutorial, which is what makes determining the update method difficult for someone trying to follow your design.
Sorry for any holes in the tutorial, I hope this helps.