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
7fab7edc
Commit
7fab7edc
authored
Jan 15, 2018
by
Dipl.-Ing. Jonas Stienen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding tracker info getter for Matlab, and fixing some function names
parent
fae0ee54
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
9 deletions
+15
-9
matlab/itaVA.m.proto
matlab/itaVA.m.proto
+15
-9
No files found.
matlab/itaVA.m.proto
View file @
7fab7edc
...
...
@@ -298,7 +298,7 @@ classdef itaVA < handle
function
set_tracked_real_world_sound_receiver_head_rigid_body_index
(
this
,
index
)
%
Sets
the
index
of
the
rigid
body
to
be
tracked
for
real
-
world
sound
receiver
(
default
is
1
)
VAMatlab
(
'set_tracked_real_world_sound_receiver_rigid_body_index'
,
this.handle
,
index
)
VAMatlab
(
'set_tracked_real_world_sound_receiver_
head_
rigid_body_index'
,
this.handle
,
index
)
end
function
set_tracked_real_world_sound_receiver_torso_rigid_body_index
(
this
,
index
)
...
...
@@ -306,7 +306,7 @@ classdef itaVA < handle
VAMatlab
(
'set_tracked_real_world_sound_receiver_torso_rigid_body_index'
,
this.handle
,
index
)
end
function
set_tracked_real_world_sound_receiver_head_r
igid_body_translation
(
this
,
translation
)
function
set_tracked_real_world_sound_receiver_head_r
b_trans
(
this
,
translation
)
%
Sets
the
pivot
point
translation
for
the
tracked
real
-
world
sound
receiver
rigid
body
%
%
Parameters
:
...
...
@@ -316,7 +316,7 @@ classdef itaVA < handle
VAMatlab
(
'set_tracked_real_world_sound_receiver_head_rigid_body_translation'
,
this.handle
,
translation
)
end
function
set_tracked_real_world_sound_receiver_head_r
igid_body
_rotation
(
this
,
rotation
)
function
set_tracked_real_world_sound_receiver_head_r
b
_rotation
(
this
,
rotation
)
%
Sets
the
rotation
of
orientation
for
the
tracked
real
-
world
sound
receiver
rigid
body
%
%
Given
rotation
has
to
be
a
Matlab
quaternion
type
(
order
:
w
(
real
),
i
,
j
,
k
)
...
...
@@ -340,22 +340,22 @@ classdef itaVA < handle
VAMatlab
(
'set_tracked_sound_source'
,
this.handle
,
source_id
);
end
function
set_tracked_source_rigid_body_index
(
this
,
index
)
function
set_tracked_sou
nd_sou
rce_rigid_body_index
(
this
,
index
)
%
Sets
the
index
of
the
rigid
body
to
be
tracked
for
source
(
default
is
1
)
VAMatlab
(
'set_tracked_source_rigid_body_index'
,
this.handle
,
index
)
VAMatlab
(
'set_tracked_sou
nd_sou
rce_rigid_body_index'
,
this.handle
,
index
)
end
function
set_tracked_source_rigid_body_translation
(
this
,
translation
)
function
set_tracked_sou
nd_sou
rce_rigid_body_translation
(
this
,
translation
)
%
Sets
the
pivot
point
translation
for
the
tracked
source
rigid
body
%
%
Parameters
:
%
%
translation
[
double
-
3
x1
]
Translation
in
local
coordinate
system
of
rigid
body
[
m
]
%
VAMatlab
(
'set_tracked_source_rigid_body_translation'
,
this.handle
,
translation
)
VAMatlab
(
'set_tracked_sou
nd_sou
rce_rigid_body_translation'
,
this.handle
,
translation
)
end
function
set_tracked_source_rigid_body_rotation
(
this
,
rotation
)
function
set_tracked_sou
nd_sou
rce_rigid_body_rotation
(
this
,
rotation
)
%
Sets
the
rotation
of
orientation
for
the
tracked
source
rigid
body
%
%
Given
rotation
has
to
be
a
Matlab
quaternion
type
(
order
:
w
(
real
),
i
,
j
,
k
)
...
...
@@ -364,7 +364,13 @@ classdef itaVA < handle
%
%
rotation
[
quaternion
]
Rotation
of
rigid
body
%
VAMatlab
(
'set_tracked_source_rigid_body_rotation'
,
this.handle
,
rotation
)
VAMatlab
(
'set_tracked_sound_source_rigid_body_rotation'
,
this.handle
,
rotation
)
end
function
get_tracker_info
(
this
)
%
Returns
the
tracker
configuration
state
%
VAMatlab
(
'get_tracker_info'
,
this.handle
)
end
...
...
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