|
| 1 | + |
| 2 | +# <span style="color:rgb(213,80,0)">MATLAB Support for Niryo Ned2 Robots</span> |
| 3 | + |
| 4 | +With the Robotics System Toolbox and ROS Toolbox, you can easily connect to and control Niryo Ned2 Robots, leveraging MATLAB's advanced capabilities in robotics and automation. |
| 5 | + |
| 6 | +This repository requires [MATLAB](https://www.mathworks.com/products/matlab.html)® R2024b or later, [Robotics System Toolbox](https://www.mathworks.com/products/robotics.html) and [ROS Toolbox](https://www.mathworks.com/products/ros.html). |
| 7 | + |
| 8 | +## Why Use Niryo Ned2 Robots with MATLAB? |
| 9 | +- **Interactive Learning:** Experiment with real\-world robotics applications, bridging the gap between theory and practice. Simulate, control, and visualize robot operations all in one place. |
| 10 | +- **Project\-based exploration:** Create projects that challenge creativity and problem\-solving skills, from basic control tasks to advanced AI\-driven robotics. |
| 11 | +- **Comprehensive Curriculum:** Leverage MathWorks' extensive educational resources to design courses that cover fundamental to advanced robotics concepts. Use real\-time data and simulations to make abstract concepts tangible. |
| 12 | +# Getting started |
| 13 | + |
| 14 | +To get started, install and look at *FirstSetup.mlx* for more information on using the toolbox. |
| 15 | + |
| 16 | +| **File** <br> | **Description** <br> | |
| 17 | +| :-- | :-- | |
| 18 | +| Ned2\_Simulation.mlx <br> | Control a simulated model of Niryo Ned2. <br> | |
| 19 | +| | <img src="README_media/image_0.gif" width="628" alt="image_0.gif"> <br> | |
| 20 | +| Ned2\_Hardware.mlx <br> | Control a real Niryo Ned2 robot (requires ROS Toolbox) <br> | |
| 21 | +| | <img src="README_media/image_1.gif" width="627" alt="image_1.gif"> <br> | |
| 22 | + |
| 23 | + |
| 24 | +## Core Functions |
| 25 | +| **Function** <br> | **Description** <br> | |
| 26 | +| :-- | :-- | |
| 27 | +| SetPose() <br> | Control robot joint angles. <br> | |
| 28 | +| PlanTrajectory() <br> | Plan a trajectory that follows multiple waypoints <br> | |
| 29 | +| Move() <br> | Use Inverse Kinematics to find a joint configuration for a given XYZ position <br> | |
| 30 | + |
| 31 | +## Features to Explore |
| 32 | +- [**Stateflow**](https://www.mathworks.com/help/stateflow/getting-started.html): Develop complex logic and state machines for advanced control systems, making your robot smarter and more autonomous. |
| 33 | +- [**Motion and Path Planning**](https://www.mathworks.com/help/robotics/motion-and-path-planning.html): Experiment with different path planning algorithms to optimize robot movements with collision avoidance, enhancing efficiency and performance. |
| 34 | +- [**Image Processing**](https://www.mathworks.com/help/images/index.html) **and** [**Computer Vision**](https://www.mathworks.com/help/vision/recognition-object-detection-and-semantic-segmentation.html): Integrate sensors and use MATLAB's image processing capabilities to add perception to your robot, enabling it to interact with its environment intelligently. |
| 35 | + |
| 36 | +# Related Courseware Modules |
| 37 | +### |
| 38 | +<div style="display: flex"> |
| 39 | + <table> |
| 40 | + <tr> |
| 41 | + <td colspan="2" style="text-align:center;"> |
| 42 | + <a href="https://www.mathworks.com/matlabcentral/fileexchange/130124-robotic-manipulators">Robotic Manipulators</a> |
| 43 | + </td> |
| 44 | + <td colspan="2" style="text-align:center;"> |
| 45 | + <a href="https://www.mathworks.com/matlabcentral/fileexchange/136364-applied-linear-algebra">Applied Linear Algebra: Robotics</a> |
| 46 | + </td> |
| 47 | + </tr> |
| 48 | + <tr> |
| 49 | + <td style="text-align:center;"> |
| 50 | + <img src="README_media/image_2.png" width="146" alt="image_2.png"><br> |
| 51 | + </td> |
| 52 | + <td> |
| 53 | + Available on:<br> |
| 54 | + <a href="https://github.com/MathWorks-Teaching-Resources/Robotic-Manipulators"> |
| 55 | + <img src="README_media/image_3.png" width="81" alt="image_3.png"> |
| 56 | + </a><br> |
| 57 | + <a href="https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Robotic-Manipulators&project=RoboticManipulators.prj"> |
| 58 | + <img src="README_media/image_4.png" width="131" alt="image_4.png"> |
| 59 | + </a><br> |
| 60 | + <a href="https://github.com/MathWorks-Teaching-Resources/Robotic-Manipulators">GitHub</a><br> |
| 61 | + </td> |
| 62 | + <td style="text-align:center;"> |
| 63 | + <img src="README_media/image_5.png" width="147" alt="image_5.png"><br> |
| 64 | + </td> |
| 65 | + <td> |
| 66 | + Available on:<br> |
| 67 | + <a href="https://www.mathworks.com/matlabcentral/fileexchange/136364-applied-linear-algebra"> |
| 68 | + <img src="README_media/image_6.png" width="81" alt="image_6.png"> |
| 69 | + </a><br> |
| 70 | + <a href="https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Applied-Linear-Algebra&project=AppliedLinAlg.prj"> |
| 71 | + <img src="README_media/image_7.png" width="131" alt="image_7.png"> |
| 72 | + </a><br> |
| 73 | + <a href="https://github.com/MathWorks-Teaching-Resources/Applied-Linear-Algebra">GitHub</a><br> |
| 74 | + </td> |
| 75 | + </tr> |
| 76 | + </table> |
| 77 | +</div> |
| 78 | + |
| 79 | +Explore our other [<u>modular courseware content</u>](https://www.mathworks.com/matlabcentral/fileexchange/?q=tag%3A%22courseware+module%22&sort=downloads_desc_30d). |
| 80 | + |
| 81 | +# Self\-Paced Online Courses |
| 82 | +| [**Multibody Simulation Onramp**](https://matlabacademy.mathworks.com/details/multibody-simulation-onramp/ormb) <br> | [**MATLAB Onramp**](https://matlabacademy.mathworks.com/details/matlab-onramp/gettingstarted) <br> | [**Stateflow Onramp**](https://matlabacademy.mathworks.com/details/stateflow-onramp/stateflow) <br> | |
| 83 | +| :-: | :-: | :--: | |
| 84 | +| <img src="README_media/image_8.png" width="171" alt="image_8.png"> <br> | <img src="README_media/image_9.png" width="172" alt="image_9.png"> <br> | <img src="README_media/image_10.png" width="171" alt="image_10.png"> <br> | |
| 85 | + |
| 86 | +# License |
| 87 | +The license is available in the <samp>license.txt</samp> file within this repository. |
| 88 | + |
| 89 | +# Contribute |
| 90 | +Looking for more? Find an issue? Have a suggestion? Please contact the [< u>MathWorks teaching resources team</ u> ](mailto:%[email protected]). If you want to contribute directly to this project, you can find information about how to do so in the [< u>CONTRIBUTING.md</ u> ](./CONTRIBUTING.md) page on GitHub. |
| 91 | + |
| 92 | +Copyright 2024-2025 The MathWorks, Inc. |
0 commit comments