Embedded Coder Robot NXT Demo
Editor's Note: This file was selected as MATLAB Central Pick of the Week
News! R2012a Simulink supports LEGO MINDSTORMS NXT as a product standard feature. You can play with LEGO even without ECRobot NXT.
- This demo supports R2006a -> R2012a
Simulink plant and controller models are used with LEGO's latest high-tech robot (ARM-based LEGO Mindstorms NXT) to illustrate industrial application of Model-Based Design with Production Code Generation. Take note of the model architecture and component definition, as well as, use of fixed- and floating-point designs.
This demo includes three examples:
Maze walking tricycle robot
Line tracing tricycle robot
Self balancing bi-wheeled robot
NXT Remocon demo
In each example, you can simulate the robot on your personally designed bmp track with 3D virtual reality.
<Disclaimer>
LEGO(R) is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this demo.
LEGO(R) and Mindstorms(R) are registered trademarks of The LEGO Group.
Cite As
Takashi Chikamasa (2024). Embedded Coder Robot NXT Demo (https://www.mathworks.com/matlabcentral/fileexchange/13399-embedded-coder-robot-nxt-demo), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Code Generation > Embedded Coder > Deployment, Integration, and Supported Hardware > Embedded Coder Supported Hardware >
- Robotics and Autonomous Systems > Robotics System Toolbox > Code Generation >
- Robotics and Autonomous Systems > ROS Toolbox >
- Robotics and Autonomous Systems > ROS Toolbox > ROS Toolbox Supported Hardware >
Tags
Acknowledgements
Inspired by: Simulink Keyboard Input, NXTway-GS (Self-Balancing Two-Wheeled Robot) Controller Design, Model-Based Design for Electrical Automobile Chassis Control
Inspired: NXTway-GS (Self-Balancing Two-Wheeled Robot) Controller Design, NXT SCARA (Two-Link Planar Robot Arm) Controller Design, NXT Scanner with Lego Mindstorms NXT, NXT Ballbot (Self-Balancing Robot On A Ball) Controller Design, VU-LEGO Real Time Target
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
ecrobotNXT/
ecrobotNXT/environment/
ecrobotNXT/environment/@NXT/
ecrobotNXT/environment/@nxtusb/
ecrobotNXT/environment/@w32serial/
ecrobotNXT/environment/private/
ecrobotNXT/externalsources/
ecrobotNXT/nxtmouse/
ecrobotNXT/nxtracer/
ecrobotNXT/nxtremocon/
ecrobotNXT/samples/
ecrobotNXT/environment/
ecrobotNXT/externalsources/
ecrobotNXT/nxt2nxt/
ecrobotNXT/nxtmouse/
ecrobotNXT/nxtracer/
ecrobotNXT/nxtremocon/
ecrobotNXT/samples/
Version | Published | Release Notes | |
---|---|---|---|
1.18.0.0 | Updated description since R2012a released. |
||
1.17.0.0 | Updated ecrobotnxtsetup.m to support GNU Make 3.82 |
||
1.15.0.0 | Support Windows7 (32bit/64bit)
|
||
1.14.0.0 | Updated copyright notifications. |
||
1.13.0.0 | Updated to support R2010a.
|
||
1.12.0.0 | Updated Description. |