Back to Trending
RepositoryMATLAB
mathworks-robotics

mathworks-robotics/designing-robot-manipulator-algorithms

MATLAB and Simulink files for modeling and simulation of ROBOTIS OpenManipulator

59stars
27forks
0issues
3views

Robot Manipulator Control Example

Copyright 2017-2019 The MathWorks, Inc.


About the Example

This example uses the ROBOTIS OpenManipulator Chain robot to demonstrate the design of manipulator algorithms using MATLAB and Simulink.

This submission depends on files from the following Git repository: https://github.com/ROBOTIS-GIT/open_manipulator. The startupExample script will attempt to download them, but if there are any errors there is a pre-imported model of the robot manipulator so you can still run the examples.

Forward and inverse kinematics are demonstrated using functions available within MATLAB as well as supervisory logic implemented in Stateflow.

Robot geometries are imported to MATLAB using the "importrobot" function and to Simscape Multibody using the "smimport" function. For more information on these functions check the associated documentation pages.

To learn more, refer to these videos:


Main Example Files

  1. openManipulatorIK.m

    This file shows how to import a robot from a URDF description and use the generated rigid body tree representation to implement forward and inverse kinematics algorithms

  2. openManipulatorWaypointTracking.slx

    This Simulink model uses Simscape Multibody as the environment and shows how to integrate the forward and inverse kinematics algorithms into Simulink to be used with Stateflow supervisory logic to pickup a ball, follow a trajectory, and finally drop the ball.

  3. openManipulatorBallTracking.slx

    This Simulink model builds on the waypoint tracking model and adds simple perception to track and catch a moving ball using a polynomial extrapolation of the ball trajectory.

  4. openManipulatorTorqueCtrlCfg.slx

    This Simulink model tests the closed-loop torque controller, in configuration space, using joint position commands (no inverse kinematics or supervisory logic).

  5. openManipulatorTorqueCtrlTask.slx

    This Simulink model tests the closed-loop torque controller, in task space, using end effector position commands (no supervisory logic).


Product Requirements

This submission was last updated and tested using MATLAB R2019b.

The required toolboxes to run all examples are:

  • MATLAB
  • Simulink
  • Robotics System Toolbox
  • Simscape
  • Simscape Multibody
  • Stateflow

Similar Projects

Discover other similar projects and AI models.

RepositoryMATLAB
mathworks-robotics/trajectory-planning-robot-manipulators

MATLAB and Simulink examples for trajectory generation and evaluation of robot manipulators.

168
Jul 2, 2025
RepositoryMATLAB
mathworks/awesome-matlab-students

An awesome list of helpful resources for students learning MATLAB & Simulink. List includes tips & tricks, tutorials, videos, cheat sheets, and opportunities to learn MATLAB & Simulink.

780
Nov 17, 2026
RepositoryMATLAB
mohammadrezwankhan/matlab-simulink-energy-lab

Run reduced-order battery, thermal, converter and BESS control models with transparent equations and repeatable testing.

383
Nov 23, 2026
RepositoryMATLAB
mathworks/Simscape-Battery-Electric-Vehicle-Model

A Battery Electric Vehicle (BEV) model in Simscape for longitudinal powertrain analysis

164
Aug 20, 2026
RepositoryMATLAB
mathworks-robotics/modeling-and-simulation-of-an-AUV-in-Simulink

This repository contains a variety of demonstration example models associated with the Design, Modeling and Simulation of Autonomous Underwater Vehicles webinar and video series.

119
May 14, 2021
RepositoryMATLAB
MathWorks-Teaching-Resources/Virtual-Controls-Laboratory

Virtual labs and mechanisms for studying controls.

109
Nov 4, 2026
RepositoryC++
petercorke/robotics-toolbox-python

Robotics Toolbox for Python

3.6k
Dec 1, 2026
RepositoryHTML
matlab/simulink-agentic-toolkit

The Simulink Agentic Toolkit gives your AI agent both the tools and the expertise to work effectively with Simulink and Model-Based Design.

1.4k
Nov 25, 2026
RepositoryC++
dartsim/dart

DART: Dynamic Animation and Robotics Toolkit

1.2k
Dec 3, 2026