This page contains information about the virtual lab software, including instructions on download and installation, using the lab software, and resources you might need for the lab sequence. Click on the headings below for more information about each item.
Getting the Laboratory Software
The first laboratory exercise covers the installation of software used in the virtual laboratory. The software packages can be individually downloaded from the following links:
- National Instruments LabVIEW 2013: http://www.ni.com/gate/gb/GB_ACAD6MLVBERKELEY/US. This is a distribution prepared especially for students enrolled in this course and is made available for free. Note that at the above URL, you will be directed to create an ni.com account to download the package. This account will enable NI to provide support for students enrolled in this class.
- Microsoft Visual Studio Express: (available free)
- For Windows 7 and later, download Microsoft Visual Studio Express 2013 for Desktop from http://www.visualstudio.com/en-us/products/visual-studio-express-vs.aspx.
- For Windows XP and Vista, download Microsoft Visual C++ Express 2010 from http://www.visualstudio.com/downloads/download-visual-studio-vs#DownloadFamilies_4
- Laboratory Courseware: updated 2014-05-21 23:10 UTC (6:10pm PST).
Download CyberSim, CyberSim source, and exercise source code v1.52 (~ 38.2MB). Check back here for any updates or revisions to the software.
For those who downloaded version 1.51, you may patch CyberSim to version 1.52. Download the CyberSim v1.52 patch. See the included README file for instructions on how to apply the patch.
For those who downloaded version 1.50, please save your irobotNavigationStatechart.c file, extract the new 1.52 version and replace the template file with your code. You may delete version 1.50.
- v1.52 2014-06-04 16:00 UTC (10:00am PST).
- Changed all boolean indicator lights to shine red when firing (one of them previously flashed green which confused some students).
- Cliff and wall analog signals were not correctly updating (boolean sensors were functional).
- Increased cliff boolean sensor sensitivity.
- Increased navigation reorientation time to 40s (up from 30s)
- Added one additional hill climb debugging feedback test
- v1.51 2014-05-21 23:10 UTC (6:10pm PST). Resolved three issues:
- Running CyberSim before compiling libstatechart.dll may produce an error.
- On Windows XP, pressing the Check Answer button produced Error 13.
- Removed LabVIEW Statechart dependency on LabVIEW Robotics which produced an error if LabVIEW Robotics was not installed. LabVIEW Robotics is no longer required.
- v1.50 2014-05-21 17:00 UTC (1:00pm PST). Initial release.
The laboratory companion to Lee & Seshia provides a suite of laboratory documentation and exercises.
This textbook frequently links to additional documentation. There are two versions of the textbook PDF that reference these documents in different ways:
Local documentation (recommended for desktop reading): All referenced documentation accompanies the textbook PDF. Links in the textbook will automatically open the referenced document to the appropriate page and section. This is a larger download in a .zip archive. Use when reading the textbook on a desktop computer.
Remote documentation (recommended for tablet reading): All referenced documentation is mirrored online. Links in the textbook will open in a browser window. This is a smaller download in a .pdf format. Use when reading the textbook on a tablet.
Please cite this textbook as follows:
Jeff C. Jensen, Edward A. Lee, and Sanjit A. Seshia, An Introductory Lab in Embedded and Cyber-Physical Systems, http://LeeSeshia.org/lab, First Edition v1.50, 2014.
An Introductory Lab in Embedded and Cyber-Physical Systems by Jeff C. Jensen, Edward A. Lee and Sanjit A. Seshia is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Development Tool Tutorials
Laboratory Hardware (optional)
An optional hardware track will be released as part of the laboratory sequence. The software you use to program the virtual laboratory may also be used with the real hardware. In case you want to experiment with implementing your lab assignments on actual hardware, we provide here links to information on how to do that. Note that this is NOT required for this course and is completely optional. The course staff may be unable to answer questions related to hardware implementation.