Using the HEXA Simulator

We provide a 3D HEXA Simulator application so you can modify your HEXA from your computer.

You can use it as a sandbox for prototyping and designing new moves.

HEXA Simulator is available for both Windows and macOS.

Sandbox Editor

You can drag and drop shapes into the world to mimic obstacles that HEXA might encounter. Currently we support cubes, spheres, and capsule shapes. You can change the color, position, and coordinates of each shape as well as of the HEXA.

How to Edit or Create a New Motion

You can design new motions for the HEXA from within the Simulator. To do so, first you'll need to create or open an existing World.

Once you've loaded your World, you can see the sandbox editor and 3D environment to test HEXA's motions. In order to create a new motion, select 'Menu' at the top left of your screen and then 'New Motion'.

This will bring you to the motion design screen. Here you can control and modify each joint and leg of the HEXA, and play back the motions on screen to test them.

As you can see, you can select each leg and the head independently, and interactively change the angle of each joint with the sliders provided. A #D preview shows what that configuration looks like on the HEXA.

The Timeline

Once you've gotten a few good positions worked out for HEXA, it's time to string them together into a fluid motion. The handclap example shown here is a simple one that consists of two frames: HEXA moving its legs apart and then together in a clapping motion.

You can add more frames to create complex motions like dancing, then play it back in the simulator.

How to Export Your Motions

Once you've created a new motion in the HEXA Simulator, you can export it for use on your HEXA robot.

In the Motion Designer, right-click the motion you are interested in, then select 'Export'. You can select a name and location for the file to be saved.

HEXA Motions are saved as .vsm files, and if you open it with a text editor this is what you'll see:

It might look like a nonsense string of letters and numbers, but it follows a specific pattern to tell HEXA how to move.

Here's how it works:

Frames of motion are separated by the pip character "|".

The text in each frame tells us the angle of HEXA's 18 leg joints and its head. The formatting looks like this: VxxAxxVxxAxx...Txx

The number after the T refers to the execution time of the frame. It is also referred to as the "duration" of the movement.

The number after the A refers to the angle of that joint in degrees. So A90 means 90 degrees.

The number that comes after the V refers to the number of HEXA's joint. They joints are numbered starting with joint 0 of leg 0. So 0, 1, and 2 refer to the 0th, 1st, and 2nd joint of the 0th leg. Then when you get to 3, we're talking about leg number 1. Here's a list to help you map numbers to legs and joints.