Examples for the HEBI Robotics API for MATLAB
Clone or download
iamtesch and daverolli Example edits (#71)
* Update ex1b_newGroup_single_module.m

* Update ex1a_lookup.m

* Update ex1b_newGroup_single_module.m

* Update ex1c_newGroup_multiple_modules.m

* Update ex3a_command_position.m

* Update ex3b_command_velocity.m

* Update ex3d_command_pos_vel.m

* Update ex3e_command_pos_vel_effort.m
Latest commit 2f96694 Sep 14, 2018



This repository contains examples to go with the online documentation that help to get started with the HEBI Robotics APIs for MATLAB.


All examples in this repository require the HEBI Robotics API for MATLAB in order to run. The API is included in this repository. You can set it up using any of the startup.m scripts in the various example directories.

Basic Examples

This folder contains examples that help you get started with the HEBI Robotics APIs for MATLAB. There are separate examples for each of our different products.

  • X-Series Actuator

  • I/O Board

  • Mobile I/O

The examples provided in each product work progressively through the following concepts:

  • Lookup / Groups

  • Feedback

  • Commands

  • Gains

  • Trajectories

  • Kinematics

  • Example - Robot Arm

These API features and concepts are documented in more detail at:


This folder contains example code for various preconfigured kits. Additional documentation is available in the corresponding kit directories.

Kit Comment
  • A variety of arm configurations, from 4-DoF to 6-DoF.

  • A 6-legged, 18-DoF, legged mobile robot

  • A 2-wheel, 2-arm, dynamic balancing mobile robot

  • An 2-arm omni-drive mobile robot

  • A 6-DoF mobile manipulator that includes a gripper

Advanced Examples

This folder contains examples that show less commonly used concepts.

File Topics
  • implementing custom P / PID controllers using direct PWM strategy

  • connecting multiple MATLAB instances

  • position step inputs from a second instance


The demos folder contains the source code for some of our YouTube videos as well as common demos.

Video / Demo Source Code

Hackathon (Japan Oct, 2017)