Skip to content

Clarify vector semantics#115

Merged
tfoote merged 4 commits intomasterfrom
point_vector_semantics
May 19, 2020
Merged

Clarify vector semantics#115
tfoote merged 4 commits intomasterfrom
point_vector_semantics

Conversation

@tfoote
Copy link
Copy Markdown
Contributor

@tfoote tfoote commented May 18, 2020

Fixes #92

Fixes #92

Signed-off-by: Tully Foote <tfoote@osrfoundation.org>
@@ -1,4 +1,7 @@
# This represents a Vector3 with reference coordinate frame and timestamp

# Note that this follows vector semantics with it alwasy being at the origin,
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
# Note that this follows vector semantics with it alwasy being at the origin,
# Note that this follows vector semantics with it always anchored at the origin,

Signed-off-by: Tully Foote <tfoote@osrfoundation.org>
@tfoote tfoote self-assigned this May 18, 2020

# This is semantically different than a point.
# A vector is always anchored at the origin.
# When a trasform is applied to a vector only
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
# When a trasform is applied to a vector only
# When a transform is applied to a vector only

Signed-off-by: Tully Foote <tfoote@osrfoundation.org>
@tfoote tfoote requested a review from jacobperron May 19, 2020 08:50
Copy link
Copy Markdown
Member

@mjcarroll mjcarroll left a comment

Choose a reason for hiding this comment

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

LGTM with suggestions applied.

Only nit is that your wrapping is inconsistent between the two files (wrapping at comma in one and at fixed length at other?)

Signed-off-by: Tully Foote <tfoote@osrfoundation.org>
@tfoote tfoote merged commit dd4b1ec into master May 19, 2020
@delete-merged-branch delete-merged-branch bot deleted the point_vector_semantics branch May 19, 2020 17:33
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.

Improve documntation of semantic difference between Point and Vector

4 participants