MATLAB Answers

0

Why MATLAB mobile is not supporting all the sensors in Motorola Moto G3

Asked by Shivam Upadhyaya on 25 May 2017
Latest activity Commented on by Shivam Upadhyaya on 25 May 2017
My MATLAB mobile is supporting accelerometer and magnetometer and GPS, not all the sensors in Moto G3 .... Is there any problem in my phone or bug in MATLAB mobile

  0 Comments

Sign in to comment.

1 Answer

Answer by Walter Roberson
on 25 May 2017

In Android, sensors do not "self-identify": with appropriate C code you can get the list of sensor device numbers, but the code is then expected to know how to control that kind of device and how to interpret it. There is no interface to say "Sensor #34, tell me what you are and all the various settings you have and recommend to me some good settings".

  1 Comment

As per your answer The MATLAB Support Package for Android Sensors lets you acquire and log data from the supported Android sensors to obtain the indicated measurements:
Acceleration on 3-axes Magnetic field on 3-axes Angular velocity on 3-axes Azimuth, roll, pitch Latitude, longitude, altitude, horizontal accuracy, speed, and course.
But in my phonethere is no support for angular velocity data and pitch roll and azimuth data .... On selection the MATLAB shows a message that this sensor is not available on your device ... But I double checked that the sensor is there and other 3rd party apps show their data ...

Sign in to comment.