jannismoeller / VINS-Mobile-Android

GNU General Public License v3.0
110 stars 41 forks source link

UI not update always show init image #1

Open kismeter opened 6 years ago

kismeter commented 6 years ago

try to build your code and run on my device, the UI related x,y,z, total,loop etc not update and in the screen show the init image. does I miss something? init issue? from the log, I see "throw img, only should happen at the beginning"

jannismoeller commented 6 years ago

Here in the first few seconds you can see the initialization view and after that the normal view. That log should not be relevant execpt it gets repeated indefinitely. Do you see the textfields x,y,z? because they should not be visible in the initial view. Which device do you use? It could that the intrinsic and extrinsic parameters of your device differ too much from the S7 I used and thus the algorithm is not able to converge.

kismeter commented 6 years ago

@jannismoeller I didn't see the textfield value x,y,z etc. I'm using BlackBerry KEY2, Let me find S7 have a try , if works fine I'll try modify the parameters

kismeter commented 6 years ago

Hi jannismoeller,

printf("Device iPhone7 param\n"); FOCUS_LENGTH_X = 526.958; FOCUS_LENGTH_Y = 527.179; PX = 244.473; PY = 313.844;

What it PX and PY?

jannismoeller commented 6 years ago

These parameters specify the image center in the pinhole camera model. It is also referred to as the principal point.