krishna1190 / droidar

Automatically exported from code.google.com/p/droidar
0 stars 0 forks source link

Cannot see solar system on Desire HD #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
-----------------------------------------------------
1. Followed tutorial "How to use the DroidAR framework in your own application" 
here: http://www.youtube.com/watch?v=MFbEvkWJOV0&feature=related

What is the expected output? What do you see instead?
-----------------------------------------------------
The app loads successfully and shows me a button
Clicking the button should show a solar system - instead I just see the regular 
camera video output - and there is a graphic if I point the camera down - it's 
a thin angled line that is green on one end and red on the other end

What version of the product are you using? On what operating system?
-----------------------------------------------------

2. Used:
  a. Eclipse Indigo Service Release 1
  b. JDK jdk1.6.0_29 (32-bit) on Windows 7
  c. DroidAR, droidArDemo (test project) with "compiler compliance level = 6"
  d. Built against Google API 1.6

3. Running on Desire HD running Android 2.3.3

Please provide any additional information below.

Project is attached here - also I've seen this 
(http://code.google.com/p/droidar/issues/detail?id=9&can=1&q=not) - the solar 
system is not behind me

Original issue reported on code.google.com by sami....@gmail.com on 26 Jan 2012 at 10:50

Attachments:

GoogleCodeExporter commented 9 years ago
BTW, the Demo DroidAR.apk works fine and I can see all models

Original comment by sami....@gmail.com on 26 Jan 2012 at 12:04

GoogleCodeExporter commented 9 years ago
Update: Tried the same thing on a Desire HD Sensation (never deployed any 
DroidAR apps/libs on that before) - and got same result

Original comment by sami....@gmail.com on 26 Jan 2012 at 1:29

GoogleCodeExporter commented 9 years ago
Ok if the droidar apk works on the devices as expected then its not a device 
problem but a problem with your code;) 

My first guess is you just dont see the solar system because the defaultarsetup 
uses a mechanism to wait for the device accuracy to be good enough before 
loading the items to the world. So the method where your solar system is loaded 
will be called as soon as the position accuracy is high enough (check the 
defaultarsetup implementation to understand this). If you are adding your own 
buttons via _e2_addElementsToGuiSetup remember to first call the super method 
before doing your own ui stuff.

The demo setups in the demoapk are all in teh de.rwth.setups package in the 
droidar main project, so use them as tutorials and copy their code to your 
setup and then modify it. 

Original comment by simon.heinen on 26 Jan 2012 at 4:57

GoogleCodeExporter commented 9 years ago
thanks for the tips - yes, I called DebugSetup() on the onClick and it loaded 
the elements and displayed them as in the Demo - it's a really good learning 
experience going through the setups 

On a (related?) note, the "position accuracy" stays at 1%, no matter how long I 
wait - I tried the app out in the open too with GPS activated - in the video, 
your solar system loaded up almost immediately and you were indoors... was that 
app pre-loaded?

Original comment by sami....@gmail.com on 26 Jan 2012 at 5:49

GoogleCodeExporter commented 9 years ago
The accuracy should increase after at max some minutes (depends how long the 
GPS sensor wasnt used) in the video this feature wasnt implemented yet. You can 
skip the accuracy waiting procedure by clicking the icon in the left corner but 
normally the user should wait until the accuracy is high enough. Does google 
maps eg find your gps position correcly? When google maps does and Droidar not 
then its a problem in the framework.

Original comment by simon.heinen on 27 Jan 2012 at 11:27

GoogleCodeExporter commented 9 years ago
Thanks Simon! Did not know that was possible

I ran the "ModelLoaderAdapters" project - clicking the icon on top-left gave a 
"Do you want to skip accuracy detection?" button and I clicked OK

However, now I do see a shape but it is a circle - I can click the buttons to 
move it up and down and turn on/off the lights.. but I don't see any of the 
models, jaiqua-mesh.xml or any of the other models - I tried them all

FWIW, I can start the modeLoaders project and it starts a PC Java program that 
displays the model

Again, thanks!

Original comment by sami....@gmail.com on 17 Mar 2012 at 6:41

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I have two devices, one of them is HTC legend and the other one is HTC EVO 3D, 
it run OK on HTC EVO 3D but doesn't show the solar system on HTC Legend. what 
is the problem?

Original comment by nima.mah...@gmail.com on 18 Jul 2013 at 8:01