Code covered by the BSD License
-
VU_testBtRxTx(port)
VU_testBtRxTx demonstrates BT communication with the VU_testBtTxRx.mdl Simulink model
-
VU_testUsbRxTx1()
VU_testUSBRxTx demonstrates USB communication with the VU_testUsbTxRx.mdl Simulink model
-
closeNXT(h)
-
cygwin_naming(varargin)
-
ecrobot_hooks(inid)
ecrobot_hooks(file)
-
generate_oil(modelName)
-
installer(cmd,rootInstallDir,...
INSTALLER Installs the VU-LEGO Real Time toolbox and associated third party tools
-
lrt_make_rtw_hook(hookMethod,...
AUTOSAR_MAKE_RTW_HOOK - This is the standard ERT hook file for the RTW build
-
makeInfo=rtwmakecfg()
RTWMAKECFG adds include and source directories to rtw make files.
-
nexttool(actionStr,optionsStr...
Calls John Hansen's NeXTTool program to communicate with LEGO NXT brick
-
nxtblocks
slblocks
-
openNXT(port)
Establishes a USB connection between the host and NXT brick
-
port_disp(blk)
-
servo_cb(blk, state, initrevs...
-
sl_customization(cm)
-
status_cb(blk, statussrc)
-
voltone_cb(blk,volsrc,vol,fre...
-
nxtusb(varargin)
NXTUSB Constructor
-
w32serial.m
-
param_controller.m
-
param_controller_fixpt.m
-
param_nxtway_gs.m
-
param_plant.m
-
param_sim.m
-
VU_NXTWay
-
VU_NXTWay_Simple
-
VU_lineFollow
-
VU_lineFollow1
-
VU_lineFollow1b
-
VU_lineFollow2
-
VU_motorSpdCtrl
-
VU_testBtTxRx
-
VU_testSoundTone1
-
VU_testSoundTone2
-
VU_testSoundTone3
-
VU_testUsbTxRx
-
lego_nxt_lib
-
View all files
VU-LEGO Real Time Target
by James Peyton Jones
30 Dec 2010
(Updated 23 Apr 2012)
A user-friendly Blockset for embedding real time Simulink designs on the LEGO Mindstorms NXT brick.
|
Watch this File
|
| File Information |
| Description |
The Villanova University LEGO Real Time Target (VU-LRT) enables rapid implementation of Simulink-based designs on the LEGO Mindstorms NXT platform. It is similar in aim to the Embedded Coder Robot (ECRobot) package by Takashi Chikamasa, but is more consistent with the Real Time Workshop development pathway, and is less constrained by ECRobot's function call / data store architecture. An automated installer is shipped with VU-LRT - see the README.pdf in the download. Examples include motor speed control, a line-following robot, and a re-implementation of the NXTway-GS self-balancing two-wheeled robot.
***NOTE***
VU-LRT was developed as an NSF and MathWorks funded project aimed at exploiting Simulink code generation tools and low-cost hardware platforms, (such as the LEGO MindStorms NXT), for educational purposes. In R2012a, the MathWorks added code generation capabilities to core Simulink without the need for additional toolboxes thereby providing a more cost-effective solution for bringing rapid prototyping into the classroom. The MathWorks also provided a free LEGO MindStorms NXT Target support package which delivers similar functionality to VU-LRT, but which is now professionally supported by the MathWorks. As a result, VU-LRT will no longer be actively maintained after the R2011b release and the authors will be transitioning their own courses to the new R2012a Simulink and MathWorks LEGO MindStorms NXT Target support package. The authors wish to thank the many enthusiastic supporters of VU-LRT who have developed so many creative projects with VU-LRT. We hope and expect that this creativity will continue to expand and flourish using the new MathWorks tools that have become available.
|
| Acknowledgements |
The author wishes to acknowledge the following in the creation of this submission:
Embedded Coder Robot NXT Demo, ECRobotInstaller – Simplified installation of tools for Embedded Coder Robot, NXTway-GS (Self-Balancing Two-Wheeled Robot) Controller Design
|
| Required Products |
Real-Time Workshop
|
| MATLAB release |
MATLAB 7.10 (2010a)
|
| Other requirements |
Windows XP or Windows 7; Bluetooth 2.0 adapter (eg. D-Link DBT-120 C); LEGO® Mindstorms NXT kit; A collection of related third party tools / products are also installed automatically by the installer program included in the VU-LRT distribution |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 23 Feb 2011 |
Minor bug fixes; Installer enhancements; Additional ADC and PWM blocks; NXTway example. |
| 09 Nov 2011 |
Version 1.02 includes additional blocks, improved support and documentation for USB and Bluetooth communications, improved installation, and additional examples. |
| 23 Apr 2012 |
The Project Description was updated to point new users to the the free MathWorks LEGO MindStorms NXT Target support package. |
|
Contact us at files@mathworks.com