Skip to content

Add map zone#536

Merged
362780316 merged 6 commits into
dev_sprint_138from
sprint_138/zone
May 21, 2026
Merged

Add map zone#536
362780316 merged 6 commits into
dev_sprint_138from
sprint_138/zone

Conversation

@362780316
Copy link
Copy Markdown
Contributor

No description provided.

@362780316 362780316 changed the title add zone interface add map zone Apr 28, 2026
Comment thread sample/src/main/java/com/robotemi/sdk/sample/new_feature/Test138Activity.kt Outdated
Comment thread sdk/src/main/java/com/robotemi/sdk/map/MapDataModel.kt
Comment thread sdk/src/main/java/com/robotemi/sdk/Robot.kt
Comment thread sdk/src/main/java/com/robotemi/sdk/Robot.kt Outdated
Comment thread sdk/src/main/java/com/robotemi/sdk/map/MapDataModel.kt Outdated
Comment thread sample/src/main/res/layout/activity_test138.xml Outdated
Comment thread sdk/src/main/java/com/robotemi/sdk/Robot.kt
@362780316 362780316 force-pushed the sprint_138/zone branch 2 times, most recently from ec8b693 to 1b541fc Compare May 11, 2026 09:12
@362780316 362780316 changed the title add map zone Add map zone May 14, 2026
Comment thread sdk/src/main/java/com/robotemi/sdk/Robot.kt Outdated
Comment thread sdk/src/main/java/com/robotemi/sdk/Robot.kt Outdated
Comment thread sdk/src/main/java/com/robotemi/sdk/Robot.kt Outdated
Comment thread sdk/src/main/java/com/robotemi/sdk/Robot.kt Outdated
Comment thread sdk/src/main/java/com/robotemi/sdk/Robot.kt Outdated
Comment thread sdk/src/main/java/com/robotemi/sdk/map/MapDataModel.kt Outdated
Comment thread sdk/src/main/java/com/robotemi/sdk/map/MapDataModel.kt Outdated
Comment thread sdk/src/main/java/com/robotemi/sdk/Robot.kt
Comment thread sdk/src/main/java/com/robotemi/sdk/map/MapDataModel.kt Outdated
@362780316 362780316 requested a review from zjn0505 May 18, 2026 03:49
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds SDK and sample support for map zones, including zone retrieval, zone entrance callbacks, and dynamic GoTo controls.

Changes:

  • Adds zone models/listeners and AIDL methods for current zones and GoTo session controls.
  • Updates map parsing/display to include zone layers.
  • Adds a sample “138 New Features” screen for exercising zone and GoTo APIs.

Reviewed changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
sdk/src/main/java/com/robotemi/sdk/Robot.kt Adds zone listener handling, zone retrieval APIs, and GoTo session control APIs.
sdk/src/main/java/com/robotemi/sdk/map/StringOrObjectAdapter.kt Adds Gson adapter for string-or-object layer data.
sdk/src/main/java/com/robotemi/sdk/map/MapDataModel.kt Adds zone support to map data, layer parsing, and zone properties.
sdk/src/main/java/com/robotemi/sdk/listeners/OnZoneEntranceStatusChangedListener.kt Adds listener interface for zone entrance changes.
sdk/src/main/java/com/robotemi/sdk/constants/SdkConstants.kt Adds provider selection parameter for layer category.
sdk/src/main/aidl/com/robotemi/sdk/ISdkServiceCallback.aidl Adds zone entrance callback method at the end of the interface.
sdk/src/main/aidl/com/robotemi/sdk/ISdkService.aidl Adds current-zone and dynamic GoTo methods at the end of the interface.
sample/src/main/res/layout/group_settings_and_status.xml Adds entry button for 1.138 sample features.
sample/src/main/res/layout/activity_test138.xml Adds sample UI for zone and dynamic GoTo controls.
sample/src/main/java/com/robotemi/sdk/sample/new_feature/Test138Activity.kt Implements sample interactions for new zone and GoTo APIs.
sample/src/main/java/com/robotemi/sdk/sample/new_feature/Test137Activity.kt Corrects the log tag.
sample/src/main/java/com/robotemi/sdk/sample/MapActivity.kt Displays zones in map data output.
sample/src/main/java/com/robotemi/sdk/sample/MainActivity.kt Wires the new sample activity entry point.
sample/src/main/AndroidManifest.xml Registers the new sample activity.
gradle.properties Bumps snapshot version.

Comment thread sdk/src/main/java/com/robotemi/sdk/map/MapDataModel.kt Outdated
Comment thread sdk/src/main/java/com/robotemi/sdk/Robot.kt
Comment thread sdk/src/main/java/com/robotemi/sdk/Robot.kt
@362780316 362780316 merged commit 8fd72b1 into dev_sprint_138 May 21, 2026
@362780316 362780316 deleted the sprint_138/zone branch May 21, 2026 08:38
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