A simulation application for a Starter Kit robot is organized in a LabVIEW project with the same types of simulation-related files as other robotics simulation applications. Use the following methods to generate a LabVIEW project for simulating a Starter Kit robot:
Both wizards save a manifest file, which defines the simulation scene and components in the scene, in the LabVIEW project under the simulator target (). After you create the LabVIEW project, you can launch the Robotics Environment Simulator Wizard to modify components in the simulation scene, such as the environment, and save the changes in the manifest file. The Robot Environment Simulator reads the manifest file to display the simulation scene.
After you create a project with a simulator target, you can use the Starter Kit VIs to communicate with simulated versions of the Starter Kit robot similar to how you interface with a real robot. To begin the application, use the appropriate initialization VI for your simulation application—the Initialize Starter Kit 1.0 VI or the Initialize Starter Kit 2.0 VI—with the Start Simulator Service VI.
After you start the simulator, write a VI to control the simulation. With the exception of the initialization VI, you can use all other Starter Kit VIs in applications for real or simulated robots. The ability to reuse these VIs is useful because you can design and test a simulated Starter Kit application and then use the same LabVIEW project to deploy the same application to a real robot.
When you finish simulating the robot application, you can prepare the project and files to be deployed to a real robot.
Refer to the Starter Kit 1.0.lvproj in the labview\examples\robotics\Starter Kit 1.0 directory for an example of using the Starter Kit VIs to simulate the Starter Kit 1.0 robot.
Refer to the Starter Kit 2.0.lvproj in the labview\examples\robotics\Starter Kit 2.0 directory for an example of using the Starter Kit VIs to simulate the Starter Kit 2.0 robot.