Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
monado
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
blender
monado
Commits
b6f440fa
Commit
b6f440fa
authored
3 years ago
by
Ryan Pavlik
Browse files
Options
Downloads
Patches
Plain Diff
aux/tracking: Move general docs to a separate header.
parent
348b7dff
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/xrt/auxiliary/tracking/t_documentation.h
+70
-0
70 additions, 0 deletions
src/xrt/auxiliary/tracking/t_documentation.h
src/xrt/auxiliary/tracking/t_tracking.h
+0
-49
0 additions, 49 deletions
src/xrt/auxiliary/tracking/t_tracking.h
with
70 additions
and
49 deletions
src/xrt/auxiliary/tracking/t_documentation.h
0 → 100644
+
70
−
0
View file @
b6f440fa
// Copyright 2019-2021, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
/*!
* @file
* @brief Documentation-only header.
* @author Pete Black <pblack@collabora.com>
* @author Jakob Bornecrantz <jakob@collabora.com>
* @author Ryan Pavlik <ryan.pavlik@collabora.com>
* @ingroup aux_tracking
*/
#pragma once
#ifdef __cplusplus
extern
"C"
{
#endif
/*!
* @defgroup aux_tracking Tracking
* @ingroup aux
* @brief Trackers, filters and associated helper code.
*
*
* ### Coordinate system
*
* Right now there is no specific convention on where a tracking systems
* coordinate system is centered, and is something we probably need to figure
* out. Right now the stereo based tracking system used by the PSVR and PSMV
* tracking system is centered on the camera that OpenCV decided is origin.
*
* To go a bit further on the PSVR/PSMV case. Think about a idealized start up
* case, the user is wearing the HMD headset and holding two PSMV controllers.
* The HMD's coordinate system axis are perfectly parallel with the user
* coordinate with the user's coordinate system. Where -Z is forward. The user
* holds the controllers with the ball pointing up and the buttons on the back
* pointing forward. Which if you read the documentation of @ref psmv_device
* will that the axis of the PSMV are also perfectly aligned with the users
* coordinate system. So everything "attached" to the user have it's coordinate
* system parallel to the user's.
*
* The camera on the other hand is looking directly at the user, it's Z-axis and
* X-axis is flipped in relation to the user's. So to compare what is sees to
* what the user sees, everything is rotated 180° around the Y-axis.
*/
/*!
* @dir auxiliary/tracking
* @ingroup aux
*
* @brief Trackers, filters and associated helper code.
*/
#ifdef __cplusplus
namespace
xrt
::
auxiliary
{
/*!
* @brief Namespace used by C++ interfaces in the auxiliary tracking library code.
*/
namespace
tracking
{
}
// namespace tracking
}
// namespace xrt::auxiliary
#endif
#ifdef __cplusplus
}
#endif
This diff is collapsed.
Click to expand it.
src/xrt/auxiliary/tracking/t_tracking.h
+
0
−
49
View file @
b6f440fa
...
...
@@ -21,42 +21,6 @@
extern
"C"
{
#endif
/*!
* @defgroup aux_tracking Tracking
* @ingroup aux
* @brief Trackers, filters and associated helper code.
*
*
* ### Coordinate system
*
* Right now there is no specific convention on where a tracking systems
* coordinate system is centered, and is something we probably need to figure
* out. Right now the stereo based tracking system used by the PSVR and PSMV
* tracking system is centered on the camera that OpenCV decided is origin.
*
* To go a bit further on the PSVR/PSMV case. Think about a idealized start up
* case, the user is wearing the HMD headset and holding two PSMV controllers.
* The HMD's coordinate system axis are perfectly parallel with the user
* coordinate with the user's coordinate system. Where -Z is forward. The user
* holds the controllers with the ball pointing up and the buttons on the back
* pointing forward. Which if you read the documentation of @ref psmv_device
* will that the axis of the PSMV are also perfectly aligned with the users
* coordinate system. So everything "attached" to the user have it's coordinate
* system parallel to the user's.
*
* The camera on the other hand is looking directly at the user, it's Z-axis and
* X-axis is flipped in relation to the user's. So to compare what is sees to
* what the user sees, everything is rotated 180° around the Y-axis.
*/
/*!
* @dir auxiliary/tracking
* @ingroup aux
*
* @brief Trackers, filters and associated helper code.
*/
/*!
* @addtogroup aux_tracking
* @{
...
...
@@ -548,19 +512,6 @@ t_debug_hsv_filter_create(struct xrt_frame_context *xfctx,
struct
xrt_frame_sink
*
passthrough
,
struct
xrt_frame_sink
**
out_sink
);
#ifdef __cplusplus
namespace
xrt
::
auxiliary
{
/*!
* @brief Namespace used by C++ interfaces in the auxiliary tracking library code.
*/
namespace
tracking
{
}
// namespace tracking
}
// namespace xrt::auxiliary
#endif
/*!
* @}
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment