Skip to content

This repository holds a MATLAB coded stewart platform, used to plot leg actuation of simulators.

Notifications You must be signed in to change notification settings

Tac321/Stewart-Platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stewart Platform Simulation

Simulation environment of MATLAB and Processing is used to model the Stewart Platform problem. The MATLAB model is for graphing leg actuation. This code can ensures that the real simulator legs don't exceed maximum excursion within the operational envelop. The Processing model was made to study motion cueing methods of the simulator problem.

How to run

Open "StewLegLog.m" and press F5. A GUI will pop up and you can edit the attutide or translation of the simulator and view the corresponding leg actuation.

Note: Follow the color scheme for the rainbow "roygbv", leg No. 1 is red dashed, leg No. 2 is yellow, leg 3 No. 3 is green and etc.

Illustrations

Below, the pose information was extracted from an Arduino IMU and pushed through the Stewart simulation to extract approximate leg actuations, neglecting simulator translation actuation.

Below are the corresponding leg actuations needed to mimic the poses of the above plot.

A Processing code version of the Stewart platform is attached. This algorithm acts to track a rolling ball to a user defined position on the platform plate. Note: The ball model is not an exact nonlinear model of a sphere, this higher fidelity is to be added later.

How to run

Before running code

  1. Install libraries ControlP5, Peasy, and oscP5. Youtube videos explain how to do this.

Run code

  1. Open "Stewart_PlatformProcessing.pde"
  2. Run the program
  3. Press the following in sequence "g', 'h', 'j'
  4. Use the bottom two right side sliders to select desired marble positions on the platform, so the controller can maneuver the ball on the platform.

About

This repository holds a MATLAB coded stewart platform, used to plot leg actuation of simulators.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published