Skip to content

Conversation

vlad0209
Copy link

This pull request brings big upgrades to the arcore_flutter_plugin, with a focus on turning on and using geospatial features. The changes aim to boost the plugin's function and strength letting developers create more engaging, location-aware AR experiences. Here's a rundown of the updates:

Geospatial Mode Activation

Added support to turn on geospatial mode in AR sessions (enableGeospatialMode).

Camera Geospatial Pose Tracking

Added a feature to keep tabs on the camera's geospatial position during AR sessions.

Created a new Dart class, ArCoreGeospatialPose, to package geospatial info (latitude, longitude, altitude, and orientation).

Built a platform channel method to get the geospatial position from the native ARCore session.

Technical Details

Android Implementation:

Changed ArCoreView.kt to include checks for geospatial mode support using session.isGeospatialModeSupported.

Tweaked configuration to make sure geospatial features turn on when supported.

Expanded platform channel communication to pull geospatial position data from the AR session.

Dart Interface:

Changed arcore_android_view.dart and arcore_view.dart to include methods and parameters for geospatial features.

Made the API easier to use and better at handling errors for geospatial mode integration.

Impact

Helps create AR apps for navigation or location-based services.

Testing

Checked that geospatial mode starts on devices that can use it.

Made sure the AR sessions get accurate geospatial pose data.

This pull request sets up the basics for adding better map features to Flutter apps. It helps developers create AR experiences that are more engaging and aware of their surroundings.

@DavidDWiser
Copy link

@giandifra Any updates on this one?

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.

2 participants