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

animates a quaternion vector with position data More...

Go to the source code of this file.

Functions

function animateQuatPos (in quat, in pos, in options)
 
function timer_callback (in ignoredArg, in ignoredArg)
 
function my_closereq (in ignoredArg, in ignoredArg)
 

Detailed Description

animates a quaternion vector with position data

animateQuat(quat, pos) animates the orientation data in the quaternion vector with the position data in the position vector.

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

animateQuat(quat1, pos1, quat2, pos2, ...) animates multiple quaternion and position vectors in the same figure.

Parameters
quat- Nx4 numeric vector or Nx1 quaternion vector
pos- Nx3 numeric vector with position data
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 and Position Animation")
  • position - Position of the figure window (default: [0,0,0.5,0.5])
Return values
none

Definition in file animateQuatPos.m.

Function Documentation

◆ animateQuatPos()

function animateQuatPos ( in quat,
in pos,
in options )

◆ my_closereq()

function my_closereq ( in ignoredArg,
in ignoredArg )

◆ timer_callback()

function timer_callback ( in ignoredArg,
in ignoredArg )