using matlab and simulink for robotics

Upload: didoumax

Post on 13-Feb-2018

243 views

Category:

Documents


1 download

TRANSCRIPT

  • 7/23/2019 Using Matlab and Simulink for Robotics

    1/16

    1

    2015 The MathWorks, Inc.

    Using MATLAB and Simulink in

    Robotics

    Yanliang Zhang (Ph.D.)

    Robotics Product and Industry Manager

    [email protected]

  • 7/23/2019 Using Matlab and Simulink for Robotics

    2/16

    2

    Agenda

    Using MATLAB and Simulink for

    Building Robots

    Developing Robotics Applications using Existing Robots

    Teaching/Learning Robotics

    Demonstrating Robotics System Toolbox

    (R2015a, March 2015) Robotics Algorithms

    MATLAB-ROS Interface

    Simulink-ROS Interface

  • 7/23/2019 Using Matlab and Simulink for Robotics

    3/16

    3

    What Are You Doing with Robotics?

    Build

    Robots

    1Develop Robotics Applications

    Using Existing Robots

    2 Teach/LearnRobotics

    3

    My Focus Today

  • 7/23/2019 Using Matlab and Simulink for Robotics

    4/16

    4

    Using MATLAB and Simulink for

    Building Robots

    Plant

    Recorded Webinar: How a Differential Equation Becomes a Robot

    Controller+

    -

    Input

    Output

    Festo Bionic Arm DLR Humanoid Robot YZU Robot Hand

    http://www.mathworks.com/videos/how-a-differential-equation-becomes-a-robot-expanding-the-power-of-matlab-with-simulink-and-the-symbolic-math-toolbox-overview-81896.htmlhttp://www.mathworks.com/videos/how-a-differential-equation-becomes-a-robot-expanding-the-power-of-matlab-with-simulink-and-the-symbolic-math-toolbox-overview-81896.html
  • 7/23/2019 Using Matlab and Simulink for Robotics

    5/16

    5

    Using MATLAB and Simulink for

    Teaching/Learning Robots

    Hardware Support Package

    No need C/C++/Python

    Drivers Provided Comprehensive Algorithms

    Build Robots with Low-Cost Hardware?

    Robotics System Toolbox

    ROS/Gazebo Interface

    ROS Node Generation

    Comprehensive Algorithms

    Use Powerful Robots Running ROS?

    Visit:

    www.mathworks.com/hardware

    Visit:

    www.mathworks.com/products/robotics

    http://www.mathworks.com/hardwarehttp://www.mathworks.com/products/roboticshttp://www.mathworks.com/products/roboticshttp://www.mathworks.com/hardware
  • 7/23/2019 Using Matlab and Simulink for Robotics

    6/16

    6

    Using MATLAB and Simulink for

    Developing Robotics Applications

    Developing RoboticsApplications using

    Existing Robots

    2

    What you have and need?

    My computer

    + My MATLAB

    1: Interface

    2: Algorithms

    Example:

    Develop a

    Human

    RobotInteraction

    Application

    My Robot

  • 7/23/2019 Using Matlab and Simulink for Robotics

    7/167

    Key Features of Robotics System Toolbox (v1.0)

    MATLAB-ROS Interface

    Simulink-ROS Interface

    Robotics Algorithms

    Comprehensive Demos

  • 7/23/2019 Using Matlab and Simulink for Robotics

    8/168

    Demo

    Design and Test Robotics Algorithms with ROS-enabledRobots or Simulators (such as Gazebo)

  • 7/23/2019 Using Matlab and Simulink for Robotics

    9/169

    Demo Overview: Design and Test Robotics

    Algorithms

    Prototype

    algorithms

    (e.g., Path Planning)

    in MATLAB

    Test algorithms

    with ROS-enabled

    Simulators such

    as Gazebo

    Test algorithms on

    a Robot

    and

    analyze the

    performance withrosbag

  • 7/23/2019 Using Matlab and Simulink for Robotics

    10/1610

    Demo: Design and Test Robotics Algorithms

    Prototype a path-planning algorithm in MATLAB

  • 7/23/2019 Using Matlab and Simulink for Robotics

    11/1611

    Demo: Design and Test Robotics Algorithms

    Test it with Gazebo through MATLAB-ROS Interface

  • 7/23/2019 Using Matlab and Simulink for Robotics

    12/1612

    Demo: Design and Test Robotics Algorithms

    Test it with a physical robot running ROS

  • 7/23/2019 Using Matlab and Simulink for Robotics

    13/1613

    Demo: Design and Test Robotics Algorithms

    Analyze the performance by reading rosbag files

    Switch to Demo

  • 7/23/2019 Using Matlab and Simulink for Robotics

    14/1614

    Key Capabilities Demonstrated

    MATLAB-ROS Interface Create a ROS node inside MATLAB

    Design and test robotics algorithms on a robot simulator

    such as Gazebo

    Test robotics algorithms on a physical robot Import rosbag log files into MATLAB

    Simulink-ROS Interface (Refer to Doc

    Examples)

    Simulink I/O with ROS networks

    ROS node generation from Simulink models

    Algorithms in Robotics System Toolbox

  • 7/23/2019 Using Matlab and Simulink for Robotics

    15/1615

    Robotics Algorithms with Other MathWorks

    Products

    Computer Vision System Toolbox Phased Array System Toolbox

  • 7/23/2019 Using Matlab and Simulink for Robotics

    16/1616

    Thank You

    Yanliang Zhang (Ph.D.)Robotics Product and Industry Manager

    [email protected]