-
Notifications
You must be signed in to change notification settings - Fork 274
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
Behaviour Not As Expected #14
Comments
here are some things you should think about/check:
|
I see the arrow fine, once I adjust the camera Z distance using the up/down buttons on the DefaultARSetup. What I'm not achieving, is the movement of the arrow object in the screen as I move the tablet around. For example, I place an object at a gps location such that it's placed in the middle of a field. When I walk around the field with my tablet and my camera pointing at the field, my object moves across the screen such that it seemingly remains in the same place. |
|
Here is a dump of my logcat. It seems that the location is changing and I note that the arrow drifts slightly when I use the DefualtSetup. 11-09 13:30:27.432: D/SimpleLocationManager(13586): Step detected |
I've also noted that, when trying to move with the touch event, the objects disappear completely. Both in the DroidAR examples and in my own test projects. |
Well if the camera moves then its working correctly ;) I added now a small helper method and you now can reduce the location buffering effect with the EventManager.getInstance().setMaxNrOfBufferedLocations() method (default is 16, see the java doc of this method) |
@ThreeMarks I'm having the same sort of problem you seem to be describing here. I build a scene of several GeoObj's and try to "walk around them", expecting my view of them to change. They should remain roughly in-place in the virtual 3d scene, with the virtual camera moving around them. What I see instead, though, is the objects moving themselves to stay in the same position RELATIVE to the camera, meaning my view of them is roughly fixed throughout execution. When I turn the phone, at first it seems to turn the camera in the scene, but then gradually the objects sort of "swing" back to the same relative positions they started in. This doesn't seem like intuitive behavior to me either; did you ever find a solution? |
@bcaudell95 this "swinging back" is often because the sensors are not calibrated / need to be recalibrated, see https://support.google.com/maps/answer/6145351?hl=en |
I've spawned an arrow object at a gps location. I have also used a location listener to move the GLCamera around using the current GPS location of the device.
What I'd expect is for the arrow to remain where it is, and for the camera to "see" the object as I move around it.
However, what I get is the object seemingly remaining in the same position relative to the camera, and therefore I am unable to "move around" my arrow,
Here is the code I am using:
The text was updated successfully, but these errors were encountered: