Skip to Content
Mastering ROS for Robotics Programming - Second Edition
book

Mastering ROS for Robotics Programming - Second Edition

by Lentin Joseph, Jonathan Cacace
February 2018
Beginner
580 pages
13h 20m
English
Packt Publishing
Content preview from Mastering ROS for Robotics Programming - Second Edition

Configuring the Simulink model

Now that our model is fully connected, we only need to configure and simulate it. Firstly, we need to import the ros_rate module to synchronize the Simulink simulation. In this case, a higher frame rate assures a better behavior, so you can double click on the ros_rate block and set the rate to 100 Hz. Then, open the Model Configuration Parameters by clicking on Simulation | Model Configuration Parameters from the main menu bar of the model window or just type Ctrl + E. A suggested configuration is to use a Fixed-step size solver, specifying the desired step size (we can use 0.01 seconds):

Figure 25: Model configuration ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering ROS for Robotics Programming - Third Edition

Mastering ROS for Robotics Programming - Third Edition

Lentin Joseph, Jonathan Cacace
Effective Robotics Programming with ROS - Third Edition

Effective Robotics Programming with ROS - Third Edition

Luis Sanchez, Enrique Fernandez Perdomo, Anil Mahtani

Publisher Resources

ISBN: 9781788478953Supplemental Content