4.0

4.0 | 1 rating Rate this file 44 Downloads (last 30 days) File Size: 13.27 KB File ID: #27653
image thumbnail

Euler angle, DCM, Quaternion, and Euler Vector Conversion/Teaching GUI

by John Fuller

 

18 May 2010 (Updated 18 May 2010)

A GUI that helps users learn how Euler angles and other rotational data relate to one another.

| Watch this File

File Information
Description

This is an instructional GUI to be used for learning how Euler angles, DCMs, quaternions, and Euler vector parameters relate in the rotation of cartesian frames (A to B). Can also be used to convert between all 4 values, however see below for a function that accomplishes this.

Features:
- All 12 sequences of Euler angle rotation types.
- Color coded axes and angle labeling for reference.
- Normalization of input Q or Euler vector components.
- Plotting options for viewing Euler angles or Euler vector separately.
- Error dialog box to prohibit faulty input or notify user of possible singularities.

For the function-based rotation conversion, please see SpinCalc:

http://www.mathworks.com/matlabcentral/fileexchange/20696-function-to-convert-between-dcm-euler-angles-quaternions-and-euler-vectors

Uses an enhanced uicontrol GUI function for support of LaTeX formatting:
Function uibutton, Author: Douglas Schwarz

Source:
http://www.mathworks.com/matlabcentral/fileexchange/10743-uibutton-gui-pushbuttons-with-better-labels

This is my first venture at a GUI so if there are bugs, please let me know.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
uibutton: GUI pushbuttons with better labels, Function to Convert between DCM, Euler angles, Quaternions, and Euler vectors

MATLAB release MATLAB 7.7 (R2008b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
08 Sep 2011 Michael Völker  
Please login to add a comment or rating.
Updates
18 May 2010

Added screenshot

Tag Activity for this File
Tag Applied By Date/Time
aerospace John Fuller 18 May 2010 17:06:08
euler angles John Fuller 18 May 2010 17:06:08
dcm John Fuller 18 May 2010 17:06:08
quaternion John Fuller 18 May 2010 17:06:08
euler John Fuller 18 May 2010 17:06:08
rotation John Fuller 18 May 2010 17:06:08
gui John Fuller 18 May 2010 17:06:08
euler angles Paul 04 Aug 2010 09:52:44
dcm IVANA JAZBEC 20 Jun 2011 09:36:23
quaternion IVANA JAZBEC 20 Jun 2011 09:36:30

Contact us at files@mathworks.com