Skip to content

TLS#68

Open
lsakunes wants to merge 14 commits into
mainfrom
TLS
Open

TLS#68
lsakunes wants to merge 14 commits into
mainfrom
TLS

Conversation

@lsakunes

@lsakunes lsakunes commented Mar 5, 2026

Copy link
Copy Markdown

Description

Created a simple Total Least Squares implementation using SVD in attitude utils.

Input: matrix with each row containing [input row vector, expected output]
Output: Vector that dots with each input vector to minimize the error of the outputs

The implementation is pretty simple, it just uses SVD to find a vector closest to the null space

Artifacts for PR #68 (DO NOT CHANGE)

@lsakunes lsakunes marked this pull request as draft March 5, 2026 01:36
@lsakunes lsakunes requested review from j4lando and nguy8tri March 5, 2026 07:36
@lsakunes lsakunes marked this pull request as ready for review March 7, 2026 05:03

@nguy8tri nguy8tri left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uh oh, I cannot review this until Josh's code review is merged, because it is both his and your PR. Please have Josh follow up on my comments first.

*
* @param data An NxM matrix with each row corresponding to a vector and an expected dot product output
*
* i.e rows enumerated by j may contain [position[j].x, position[j].y, position[j].z, 1]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these comments specify how you use the TLS in CRA not what an the TLS algorithm does. Try righting more general comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants