HKUST-Aerial-Robotics / VINS-Mobile

Monocular Visual-Inertial State Estimator on Mobile Phones
GNU General Public License v3.0
1.27k stars 524 forks source link

VINS Mobile iPad Pro Unsupported Device? #109

Open michaelcli opened 6 years ago

michaelcli commented 6 years ago

I managed to get VINS Mobile onto an iPad Pro, but the app raises an unsupported device notification, and the initialization always stays at 0 percent after that. Is there any way to fix this issue, for those who've gotten it to work on the iPad?

Nemiop commented 3 years ago

Yes, but you need to add its device name to a few places:

Solution:

1) Get new device name in ‘deviceName’ (ViewConroller Line-1754) by printf("%s \n", [device, UTF8String]) . See name in log Then add new else if condition below Line-1754

2) Add device_name to Global Parameters (global_param.cpp)

3) And finally use device_name in DeviceType (global_param.hpp)