rot_3d_model
Rotate a 3d model in a gimbal frame for visualizing animal orientation.
Syntax
rot_3d_model(F,prh) % Matlab & Octave
Description
Rotate a 3d model in a gimbal frame for visualizing animal orientation.
Inputs
Input var | Description | Default value |
---|---|---|
F | is a structure containing plot handles from a previous call to plot_3dmodel. | N/A |
prh | is a vector or matrix of pitch, roll and heading angles in radians, | N/A |
speed (optional) | is the animation speed, very roughly in Hz (although this depends on how quickly the figure can be updated by the program). | 20 |
Outputs
Output var | Description | Units |
---|---|---|
F | is a structure containing handles to the components of the display which can then be manipulated using rot_3d_model | N/A |
Notes & Assumptions
- prh = [pitch,roll,heading]. Each row of prh defines a separate orientation and these are played in sequence. For a single orientation, prh should be a 3-element row vector.
- The 3d model must be first created in the current figure using plot_3dmodel.
Example
Matlab & Octave
About
bugs@animaltags.org Last modified: 10 May 2017