This example demonstrates how to use the NI OSC library and the TouchOSC iPhone app to control a Starter Kit robot. Messages are sent to the robot using the Open Sound Control (OSC) format.
Required Software:
Required Hardware:
Instructions:
- Use the TouchOSC editor to upload the "NI_Robotics_Demo_iphone.touchosc" or "NI_Robotics_Demo_ipad.touchosc" to your iOS device. Both devices must be on the same wireless network for this to work.
- Download the attached zip file.
- 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.
- Open the example project at <LabVIEW>\examples\robotics\Starter Kit OSC Control\Starter Kit OSC Control.lvproj, where <LabVIEW> is the installed LabVIEW directory.
- This project contains execution targets for both simulated and real robots. Use the VIs under the "My Computer" target to control a simulated robot. Use the VI under the "Starter Kit 2.0 Robot" or "Starter Kit 1.0 Robot" target to control a real robot.
- Run the VI, then open the TouchOSC app. Follow the instructions on the front panel of the VI.