This subroutine simply opens the file, reads the current accelerometer data, closes the file, and returns the data without the , (comma) characters.
这个子程序将打开一个文件,从中读取当前的加速器数据,然后关闭文件,并返回不包含 “,(逗号)” 字符的数据。
This feature was implemented previously for IBM laptops using access to an accelerometer to measure acceleration (to determine whether the laptop is falling).
IBM笔记本曾经实现这个特性,用于访问加速器以测量加速度(决定笔记本是否在坠落)。
The QCN organisers have learned from their mistakes and now offer a separate accelerometer that can be screwed to the floor and attached to any computer with a USB cable.
QCN的组织者吸取了教训,现在他们提供一种能够固定在地上并且通过US B数据线连接到电脑的加速度计。
The phone's internal compass and accelerometer also come into play to help determine its location.
手机内置的罗盘和加速度计亦能帮助手机定位。
The other labeled sensors are: proximity sensor, ambient light sensor, and accelerometer.
其它被标出的传感器包括:近距离传感器,可见光传感器和加速度计。
First in our list of subroutines is a simple logic block to check if the accelerometer is available for reading.
在我们的子程序清单中首先是一个简单的逻辑块,用来检查是否有加速器可读。
How do they take advantage of the iPhone’s unique characteristics: the accelerometer, swiping features, pinch, expand and rotate functions?
它们是怎样利用iPhone独一无二的特点的:加速度计,摇晃特性,多点触摸,旋转功能?
The previous nano used the accelerometer to automatically reorient the screen when you rotated the device.
前代nano利用加速度计来在你旋转设备时自动调整屏幕方向。
Next up is the knockListen subroutine, the first five lines of which read the current accelerometer data values and adjust for the base value readings.
接下来是knockListen 子程序,前5行负责读取当前的加速器数据值,并对基本的值读取进行调整。
A major setback is that applications built this way can't access native iPhone features like accelerometer, GPS, camera, contacts, etc.
一个主要缺陷是用这种方法创建的应用程序不能获得本机iPhone的功能,例如加速器、GPS、照相机、通讯录等。
In fact, they can even tap into the functionality of the phone's hardware itself like the accelerometer and geolocation features. (Really!)
实际上,这些应用甚至也是使用手机硬件本身的一些功能,像加速度感应器(accelerometer)和地理位置感知功能。
InfoQ: How complex are your mobile GUIs, do you use any device specific features like geolocation or the accelerometer?
InfoQ:你们的手机界面复杂么,用到类似定位或加速度计这样的设备特有功能没有?
As you can see in the video, Friese and Behrens Mars rover iPhone app works using the accelerometer.
正如你在视频中看到的,弗里泽和贝伦斯火星车iPhone应用工程利用加速度计运行。
With a satisfactory touch screen and accelerometer, Android serves well as a gaming phone.
Android有一个令人满意的触摸屏和加速度加速器,作为游戏手机非常棒。
Light sensor, accelerometer, compass (magnetometer) and gyroscope.
光线感应,加速感应,内置罗盘及陀螺仪。
Used in combination with GPS, an accelerometer, a compass and the gyroscope can be used for in indoor navigation with floor accuracy.
与全球定位系统、加速度计、陀螺仪和指南针结合使用,可用于具有地面精度的室内导航。
The orientation and accelerometer sensors each provide three data values.
方向和加速表传感器都提供三个数据值。
Instead, the researchers used the data from the accelerometer to determine whether key taps were on the right or left side of the keyboard and to gauge the delays between keystrokes.
相反,研究者们利用从重力感应器得到的数据,来判断相应的按键到底是在键盘的左边还是键盘的右边,并计量两个按键之间的延时。
Hand-held devices and other accelerometer-enabled systems can also be used to employ the translation between tips, tilts, and commands.
手持设备和其他支持加速计的系统也可以用于实现翻转、倾斜和命令之间的转换。
The default is accelerometer panning of the 360-degree field of view, with virtual thumbstick aiming.
默认设置是重力感应控制360度的战场视角,屏幕上的虚拟准星用于瞄准。
The accelerometer in the phone the researchers used samples only 100 times a second, so they did not have enough data to determine the exact keys struck.
而研究人员所使用的手机,其内置重力感应器采样率仅为100次每秒,因此他们并没有足够的数据来计算得到明确的密码。
This article demonstrates techniques and code you'll need to connect accelerometer-enabled devices to applications in a traditional desktop computing context.
本文将演示的技术和代码可以使您将传统桌面计算环境中的应用程序与支持加速计的设备连接起来。
An accelerometer based game is a perfect fit for this interface.
这样一款基于重力感应的游戏非常适合这一模式。
It used the phone's accelerometer to sense a fall.
这个程序利用了手机的加速度计量器识别是否跌倒。
The software needs to know what the user wants the phone to do, so hardware technologies like multi-touch displays, and accelerometer and proximity sensors are invented to enable this.
而软件要迎合用户对于手机的需求,因此多点触摸、加速度计和角速度计才应运而生。
You control pitch and roll with the accelerometer.
你可以通过重力感应控制飞机俯冲和爬升。
You can have the video blown up in front of you and still use the phone's accelerometer controls to play the game.
你可以面对着绚丽的画面,使用手机的重力感应控制进行游戏。
There's an accelerometer that detects when your foot hits and leaves the ground, calculating that all-important contact time.
一个加速度测量仪捕捉你脚接触和离开地面的情况;
Both of them are loaded up with Bluetooth, an accelerometer, ambient light sensor, and a rechargeable battery.
两款手表均配有蓝牙,重力感应,光感,以及可充电电池。
The new nano continues to include a built-in accelerometer, although this time around it’s used only for the pedometer and the Shake To Shuffle feature.
新款 nano依然带有内建的加速度计,虽然这次它只是用来实现步程计和“摇晃切歌”功能的。
应用推荐