Materials and CAD Files

Structural Components

Electronics and Motors

Hardware

Custom Part Files

Tube Materials

Assembly Guides

Custom Part Manufacturing Guide

Full System Assembly

Cart Assembly

Tube Fabrication

Electronics Setup

Electronics Board Setup

Firmware Installation

Wire Management

Full System Test

Kinematics

Calculating Kinematics of a CTR

Implementing Kinematics

Troubleshooting Kinematics

Experiments

Installing Tubes

Homing the Robot

Graph Paper In-Plane Bending Experiment

Out-of-Plane Rotation Experiment

This page will guide you through doing a full test of your actuation system.


  1. Download the sample code. Go to https://github.com/comet-lab/CTR_Educational_Platform and download the code. The simplest way is to download the code as a zip file. If you would like to fork the repository or clone it to your device, you can also do that.

  2. Open MATLAB to the folder that you just downloaded. Double click on the Drive.m file to open it. Change the COMPort variable on line 7 to match the COM Port that your laptop assigned the board. (You can check this by opening Device Manager → Ports).

  3. Double click on the test.mscript to open it. This script is separated into seven sections: one for setup, and six short tests.

  4. Run the first section. You can do this by putting your cursor in the first section of code, and clicking the Run Section button. This will set up your workspace variables.

  5. Test your linear motors. For this test, you will run the linear test sections of code. First, run the Test linear 1 section of code. This should move the linear motor on Cart 1 such that Cart 1 translates 10 mm in the forward direction. Here, “forward” means towards the front of the robot. Measure the distance that the cart travels. The distance should be within 0.25mm of 10mm. Repeat this step for linear motors 2 and 3.

    Screenshot 2023-09-28 153543.png

  6. Test the rotational motors. Repeat step 5, but run the code sections that are labeled “rotational test.” This should rotate each tube pulley 90 degrees in the positive direction. Here, we define the positive direction as counterclockwise when looking from the front of the robot.

    Screenshot 2023-09-28 155309.png


That is all for the electronics test! If everything works as expected, you can move on to writing your own script to control the robot.