This example demonstrates how to design and validate control algorithms using the LabVIEW Robotics Simulator. This example applies the artificial neural network (ANN) control algorithm on the simulated NI Starter Kit 1.0 to track a predefined path using a predefined velocity.
Unzip the file to the installed LabVIEW directory. For example, the installed LabVIEW directory is typically C:\Program Files\National Instruments\LabVIEW 2011 on a 32-bit OS.
How to Run This Example
Complete the following steps to run this example.
Open LabVIEW. Select File » Open Project in the Getting Started window to open the project file of this example. This example is located at labVIEW\examples\robotics\Simulator\Artificial Neural Network\Artificial Neural Network.lvproj.
In the Project Explorer window, expand the ANN on Simulated Starter Kit 1.0 node. Run the ANN on Simulated Starter Kit 1.0 VI.
Click Training to input (v, w) to ANN and train ANN to output the optimized velocity of the left and right wheels. The training process will take a few minutes to collect data. After the training completes, click Back to return to the main configuration page.
On the main configuration page, select the Model Type. The Analytical Kinematic Model is a traditional method of tracking demo while the ANN Kinematic Model is the artificial neural network method.
Enter the expected velocity of the robot in the Linear Velocity control. The range of the linear velocity is [0, 1].
Click Demo to run the demo. The simulator service starts and the robot follows the path predefined by the red points.
Click Quit to stop the demo.
To uninstall this example, remove the labVIEW\examples\robotics\Simulator\Artificial Neural Network folder.
Refer to the readme_ANN.pdf for more information about this example.