Master Thesis Code
by Simon Moser
Loading...
Searching...
No Matches
animateQuat.m File Reference

animates a quaternion vector More...

Go to the source code of this file.

Functions

function animateQuat (in quat, in options)
 
function timer_callback (in ignoredArg, in ignoredArg)
 
function my_closereq (in ignoredArg, in ignoredArg)
 

Detailed Description

animates a quaternion vector

animateQuat(quat) animates the orientation data quat. The animation is done in a new figure window with a poseplot. The data must be provided either as a Nx4 numeric vector or as Nx1 quaternion vector.

animateQuat(quat, options) allows to specify additional options for the animation.

animateQuat(quat1, quat2, ..., quatN) animates multiple orientation data sets in the same figure window.

Parameters
quat- Nx4 numeric vector or Nx1 quaternion vector
options(optional) - struct with optional input arguments
  • names - cell array with names for the orientation data (default: 1:N)
  • freq - Sampling frequency of the data [Hz] (default: 200)
  • fps - Desired Frames per second [Hz] (default: 30)
  • speedup - Speedup factor of the animation (default: 1)
  • title - Title of the figure (default: "Orientation Animation")
  • position - Position of the figure window (default: [0,0,0.5,0.5])
Return values
none

Definition in file animateQuat.m.

Function Documentation

◆ animateQuat()

function animateQuat ( in quat,
in options )

◆ my_closereq()

function my_closereq ( in ignoredArg,
in ignoredArg )

◆ timer_callback()

function timer_callback ( in ignoredArg,
in ignoredArg )