7. 7
Move from Simulation to Implementation?
Hand convert
to C/C++
node?
Simulation Implementation
8. 8
Demos…
1. Airplane Wing Landing Gear Control
2. Design and Test Robotics Algorithms Robots or
Simulators with MATLAB
3. Design and Test Robotics Algorithms Robots or
Simulators with Simulink
10. 10
Demo 2 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 with
rosbag
Switch to Demo
11. 11
Demo 2: Design and Test Robotics Algorithms
• Prototype a path-planning algorithm in MATLAB
12. 12
Demo 2: Design and Test Robotics Algorithms
• Test it with Gazebo through MATLAB-ROS Interface
13. 13
Demo 2: Design and Test Robotics Algorithms
• Test it with a physical robot running ROS
14. 14
Demo 2: Design and Test Robotics Algorithms
• Analyze the performance by reading rosbag files
15. 15
Demo 3 Overview: Generate a ROS Node from
a Simulink Model
Prototype
algorithms
(e.g., Collision
Avoidance)
in Simulink
Test algorithms
with a ROS-
enabled Simulator
or Robot
Generate a
standalone ROS
node from the
Simulink Model
Switch to Demo
16. 16
Demo 3: Generate a ROS Node from a
Simulink Model
• Connect Simulink Model to a ROS network to simulate a Collision
Avoidance algorithm
17. 17
Demo 3: Generate a ROS Node from a
Simulink Models
• Convert Simulink model to C++ code for a standalone ROS node
18. 18
Demo 3: Generate a ROS Node from a
Simulink Model
• Verify the generated ROS node
19. 19
Key Features of Robotics System Toolbox (v1.0)
• MATLAB-ROS Interface
• Simulink-ROS Interface
• Robotics Algorithms
• Comprehensive Demos
20. 20
Key Takeaways
Robot simulation is important
Moving from simulation to implementation is easy,
especially if you use MATLAB/Simulink
MathWorks new launched Robotics System Toolbox
has seamless integration between MATLAB/Simulink
and ROS and Gazebo