Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove GetLatestMapInfo from SLAM #313

Merged
merged 13 commits into from
Feb 7, 2024

Conversation

jeremyrhyde
Copy link
Contributor

@jeremyrhyde jeremyrhyde commented Dec 29, 2023

This PR removes the GetLatestMapInfo endpoint from SLAM in viam-cartographer module.

JIRA Ticket: https://viam.atlassian.net/browse/RSDK-6133

@viambot viambot added the safe to test This pull request is marked safe to test from a trusted zone label Dec 29, 2023
@jeremyrhyde jeremyrhyde changed the title Remove get latest map info Remove GetLatestMapInfo from SLAM Dec 29, 2023
@jeremyrhyde jeremyrhyde marked this pull request as ready for review January 17, 2024 22:30
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Jan 17, 2024
Copy link
Contributor

@kkufieta kkufieta left a comment

Choose a reason for hiding this comment

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

LGTM % nits

go.mod Outdated
Comment on lines 332 to 333

replace go.viam.com/rdk => /Users/jeremyhyde/Development/rdk
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove this

Copy link
Contributor Author

@jeremyrhyde jeremyrhyde Jan 22, 2024

Choose a reason for hiding this comment

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

Will remove after RDK release and before merge

@@ -116,19 +116,14 @@ func testCartographerPosition(t *testing.T, svc slam.Service, useIMU bool, expec

// Checks the cartographer map and confirms there at least 100 map points.
func testCartographerMap(t *testing.T, svc slam.Service, localizationMode bool) {
timestamp1, err := svc.LatestMapInfo(context.Background())
prop, err := svc.Properties(context.Background())
Copy link
Contributor

Choose a reason for hiding this comment

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

[nit] Clearer to read

Suggested change
prop, err := svc.Properties(context.Background())
props, err := svc.Properties(context.Background())

@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Jan 22, 2024
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Feb 6, 2024
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Feb 6, 2024
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Feb 6, 2024
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Feb 6, 2024
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Feb 7, 2024
@jeremyrhyde jeremyrhyde merged commit 014d13d into viam-modules:main Feb 7, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test This pull request is marked safe to test from a trusted zone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants