Hello,
I'm trying to use the Rotation vector (TYPE_ROTATION_VECTOR) sensor on my app but I can't get it working on the Shield. I have registered the sensor to fire the event onSensorChanged(), and it works on any other devices but the Shield.
When I list all available sensors, the ROTATION_VECTOR is there. Using CPU-Z, I can see the MPL Rotation Vector sensor but there is no data. I can see data on other devices.
Do you have any idea where would this problem come from?
Thank you!
Related
Anybody know of a current or recent phone that can be developed for and which includes a 3-axis accelerometer.
I'm looking this for a project that would enable to do movement (rough) capture in 3D space. Think big hand drawn lines in the air done with glow stick in the dark, but of course now on mobile phone and capturing the data.
I know some phones have 2-axis accelerometers, but that's not enough.
Any EUR/USA models with 3-axis sensors (in theory it could be something other than an accelerometer, just that it enables motion capture).
Anyone?
Hey, guys!
I am working on a project using HTC magic which requires the data from the electronic compass, including both the accelerometer and magnetic sensor. But I find that there is a significant latency between the move of the phone and the trigger of the sensorChanged event. In other word, the acceleration and magnetic data obtained from sensor are updated about half of a second after my motion. And I have several questions about the problem as follow.
1. Are the orientation data computed by the acceleration and magnetic data? Or are there a physical sensor for orientation?
2. Does the latency result from the android API (using the event) or the physical limitation of the electronic compass?
3. It is said that the model of the electronic compass is AK8976A from Asahi Kasei. Does anybody have the datasheet or know the frequency of the sampling?
4. Any idea to improve the real-time experience?
Thank you in advance!
Hi,
Is there any difference between G-Sensor and Gyro Sensor?
HTC Sensation specifications states both sensors
Sensors
Gyro sensor
G-Sensor
Digital compass
Proximity sensor
Ambient light sensor
There is, but it's kinda subtle.
A G-sensor (accelerometer) can measure the change in acceleration of the device towards a direction. If you move the handset with a constant speed (no acceleration) then it shouldn't pick any signal. However, when moving their hand people change the speed slightly so an accelerometer picks that, but it will look sluggish.
A gyroscope can measure orientation, rotation and speed, so it can complement data collected from the accelerometer to smoothen out the reading of movement a great deal.
It's not the most important thing ever, but it's definitely a plus. Apps that use gyroscopes (mostly games and augmented reality apps) behave way more smoothly with it.
To put it more simply: The G-sensor measures the movement of the device. (By measuring acceleration). The gyro measures the tilt. They can work together to get more precise measurments of both.
Thanks for the explanations Guys...
My phone already has ACCELEROMETER and COMPASS. Why would I need GYROSCOPE? Can somebody give me example of practical applications that use Gyro sensor that the other two cant handle?
thanx
good question. Gyro is an extension to the accelerometer. It help you move with the devise in the same time. I see it being used on google street view (when u turn left/right the map is turning too) and in some shooting games.
Turn left right? Isnt that covered by the compass?
Bump!
Plus about the Atrix 4G...
Accelerometer, still no games utilises 6dof, if there is, not practical (like walking while holding the phone)
I guess the gyroscope mainly assists the GPS info + Compass...
Take it as like this:
Gyroscope assists Compass in rotation speed ( so u get real time)
Gyroscope assists accelerometer in pre-calibration proccess... (+ shaking games)
So I still argue with games like Asphalt 6 not working with accelerometers...
Both Gyroscope and Accelerometer are Fused, or Fusion proccess (combing the raw data map) so it will be enough real time...
Though 6DOF experience using a gyro is too useless for its accuracy... It comes hand when you buy a 400+ bux gyroscope Like headtracking systems...
Doesn't someone happen to have a complete list of sensors in OP8 (proximity, light, rotation etc.) - ideally as an output of some sensor detect app (I don't trust manufacturer specs .
I'm especially interested whether pressure/barometric sensor is included this time.
Thanks!
hedik said:
Doesn't someone happen to have a complete list of sensors in OP8 (proximity, light, rotation etc.) - ideally as an output of some sensor detect app (I don't trust manufacturer specs .
I'm especially interested whether pressure/barometric sensor is included this time.
Thanks!
Click to expand...
Click to collapse
All except Baro no pressure sensor