Using MATLAB Robotics System Toolbox and Baxter Simulator
In these next sections, we will explore using MATLAB to publish and subscribe to the Baxter Simulator and control some primary functions of his arms and grippers.
Installing Baxter messages in MATLAB
Baxter has a unique set of ROS messages that are used to communicate with a real Baxter and Baxter Simulator in Gazebo. MATLAB requires that these custom Baxter message and service definitions be processed into ROS custom messages understood by MATLAB.
Locate the ROS packages for Baxter on your computer. If you followed the installation instructions in Chapter 6, Wobbling Robot Arms Using Joint Control, these packages will be located in your Baxter workspace, ~/baxter_ws
.
In the MATLAB command ...
Get ROS Robotics By Example - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.