Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
VAMatlab
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Institute of Technical Acoustics (ITA)
VAMatlab
Commits
11d25980
Commit
11d25980
authored
Oct 06, 2017
by
Dipl.-Ing. Jonas Stienen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactoring
parent
80626278
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
213 additions
and
213 deletions
+213
-213
src/VAMatlabExecutable.cpp
src/VAMatlabExecutable.cpp
+210
-210
src/VAMatlabTracking.cpp
src/VAMatlabTracking.cpp
+2
-2
src/VAMatlabTracking.h
src/VAMatlabTracking.h
+1
-1
No files found.
src/VAMatlabExecutable.cpp
View file @
11d25980
This diff is collapsed.
Click to expand it.
src/VAMatlabTracking.cpp
View file @
11d25980
...
...
@@ -40,7 +40,7 @@ void TrackerDataHandler( sFrameOfMocapData* sFrame, void* pUserData )
{
try
{
VistaVector3D
vPosOffsetLocalCoordinateSystem
=
pVAMatlabTracker
->
vTracked
Listen
erTranslation
;
VistaVector3D
vPosOffsetLocalCoordinateSystem
=
pVAMatlabTracker
->
vTracked
SoundReceiv
erTranslation
;
VistaQuaternion
qOrientRotation
=
pVAMatlabTracker
->
qTrackedListenerRotation
;
const
sRigidBodyData
&
oBodyData
(
sFrame
->
RigidBodies
[
iTrackedReceiverRigidBodyIndex
-
1
]
);
...
...
@@ -137,7 +137,7 @@ void CVAMatlabTracker::Reset()
{
iTrackedSoundReceiverID
=
-
1
;
iTrackedListenerRigidBodyIndex
=
1
;
vTracked
Listen
erTranslation
.
SetToZeroVector
();
vTracked
SoundReceiv
erTranslation
.
SetToZeroVector
();
qTrackedListenerRotation
.
SetToNeutralQuaternion
();
iTrackedRealWorldSoundReceiverID
=
-
1
;
...
...
src/VAMatlabTracking.h
View file @
11d25980
...
...
@@ -39,7 +39,7 @@ public:
int
iTrackedSoundReceiverID
;
//!< -1 if deactivated, will be preferred over source
int
iTrackedListenerRigidBodyIndex
;
//!< Starts with 1 (default)
VistaVector3D
vTracked
Listen
erTranslation
;
//!< Position offset from pivot point (default NatNet rigid body barycenter)
VistaVector3D
vTracked
SoundReceiv
erTranslation
;
//!< Position offset from pivot point (default NatNet rigid body barycenter)
VistaQuaternion
qTrackedListenerRotation
;
//!< Orientation rotation from default orientation (initial NatNet rigid body orientation)
int
iTrackedRealWorldSoundReceiverID
;
//!< -1 if deactivated
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment