This page contains a list of Concepts summarizing the basic functionality of the SDK on Intera
Throughout the Wiki, Tutorials, and SDK, we refer to the "SDK Shell" and your "ROS Workspace" or "Environment". These are simple environment concepts and configurations that are useful to have a basic understanding of when using the SDK and ROS.
- ROS Workspace
- Your "ROS Workspace" (also called a "Catkin Workspace" in the ROS world), is the
~/ros_ws/directory you setup in the Installation Tutorials. Inside the
src/sub-directory, you can create or checkout source code as ROS Packages, which you can then compile and link against via the
- Environment Variables
- The ROS Environment Variables have three important functions:
- Identifying your robot and Workstation on the ROS Network, based on your Network Configuration.
- Pointing to the path of the ROS Packages, tools, and programs, when you use rosrun (execute programs).
- Linking to the libraries and workspaces when compiling source code.
If you are new to the ROS world, it is highly recommended you take the time to go through the Beginner Level Core ROS Tutorials. My personal recommendation is to at least do:
- The first few Configure through 'Understanding ROS' tutorials - (Remember: we use
~/catkin_ws/but they are exactly the same).
- Also, the 'Writing a Simple Publisher and Subscriber' tutorials can be pretty useful when it comes to writing your first ROS program for the ROS newbie.
At the core of the SDK are the interfaces provided to control and access all of the robot's motors and sensors. These sections describe the hardware components of the robot and the foundation API layers upon which the SDK - and your programs - are built. These sections describe the Components of the Robot, and the Interfaces to control them.
SDK Foundations (Interfaces)
The SDK provides interfaces that control the robot hardware layer via the Robot Operating System (ROS) to any other computers on the robot's network. By using the ROS network layer API, any client library or program that can "speak ROS" can control the robot directly. For a deeper understanding of the SDK System architecture see:
By using the foundation ROS interface layer, the robot can be controlled and programmed in any Programming Language that supports ROS. This has led to a number of user-created interface libraries in different languages. In addition, the Python Baxter Interface provides a Python Class-based interface library, which wraps many of the ROS interfaces in Python Classes.
The ROS Interface is the foundation upon which all interaction with the robot passes through and all other interface layers are built upon. The ROS layer is accessible over the network via any of the standard ROS Client Libraries such as rospy (Python) or roscpp (C++).
- ROS API Reference
- The ROS API describes the base interface layer for direct access from the command line or any language.
The SDK also offers a Python API via the
intera_interface module. This module wraps the ROS Interfaces in component-based Python Classes. The SDK Examples are written using this library in order to demonstrate how to use the robot interfaces.
- Robot Interface Overview
- Gives a basic introduction to each class and component in the Python interface library 'intera_interface'.
- Code API
- View the generated Python Code API docs for the intera_interface module.
Robot Hardware Foundations
To learn more about what sensors and motors are on the robot and how to use them, see:
When you have run through the Installation procedures and you've established communication with your robot, it is time to start getting familiar with the SDK interface. This page will walk you through the basics of using the SDK.