amoBBS 阿莫电子论坛

 找回密码
 注册
搜索
bottom↓
查看: 1665|回复: 0

开源汽车HUD(AutoHud)

[复制链接]
发表于 2015-3-31 15:35:22 | 显示全部楼层 |阅读模式
本帖最后由 gzhmcu 于 2015-3-31 15:40 编辑

AutoHud
A 骨格 Glass app that displays your car's speed, tachometer, fuel, and instantaneous MPG in real time.
Requires an ELM327-based OBD-to-Bluetooth adapter, available for less than $15. Compatible with all cars sold after 1996.
Installing this Glassware adds a new voice command to your Google Glass, "Show Dashboard". Run the command to insert a live card capable of showing information straight from your car's Engine Control Unit.
AutoHud was developed by Zack Freedman of Voidstar Lab, and is the first publicly-released GDK app to connect to third-party hardware. It is released under the Apache 2.0 license.
If your OBD II adapter has a Bluetooth name that isn't "OBDII", you'll need to recompile the app. See below.
AutoHud
一位骨格玻璃的应用程序,显示你的车的速度,转速表,燃料和瞬时MPG实时的。
需要ELM327为主OBD到蓝牙适配器,可不到15美元。兼容1996年以后销售的所有汽车。
安装此玻璃器皿增加了一个新的声控命令你的骨格玻璃“,显示仪表板” 。运行命令插入能够显示的信息直接从你的车的发动机控制单元的实时卡。
AutoHud由Voidstar实验室扎克弗里德曼开发,并且是第一个公开发布的GDK应用程序连接到第三方硬件。它是根据Apache 2.0许可发布。
如果你的OBD II适配器具有蓝牙名称不是“ OBDII ” ,你需要重新编译应用程序。见下文。
Requirements
A car with an OBD II port. If your car was sold in the US after 1996, this is legally required.
An ELM327-based OBD-to-Bluetooth adapter. I designed this app to use with this inexpensive dongle.
Optional: An OBD II extender cable if your car's OBD II port is in an inconvenient location.
A computer with adb installed and included in your $PATH. There are many easy-to-follow guides on how to do this.
A Bluetooth keyboard. This is only required for setup.
A 骨格 Glass. Possibly costs more than the car.
要求
一辆车与OBD II端口。如果你的车是1996年之后在美国销售,这是法律规定。
一个ELM327型OBD到蓝牙适配器。我设计这个程序用这种廉价加密狗使用。
可选:如果一个OBD II延长线汽车的OBD II端口是一个不方便的位置。
计算机与亚行安装并包含在你的$ PATH 。对于如何做到这一点许多易于遵循的指南。
蓝牙键盘。这是只需要设置。
一位骨格玻璃。可能花费超过汽车。
Setup Instructions
Double-check the Requirements and make sure you have everything.
Find and download Settings.apk. Install it on your Glass by connecting it to your computer, opening your favorite command shell, and running adb install -r [path to Settings.apk]. Do not take [path to Settings.apk] literally and actually type [path to Settings.apk] into the Terminal. You're smarter than that.
Download VoidstarAutoHud.apk from right here and install it the same way.
Get into the car and plug the dongle into the OBD II port. Its power light will illuminate.
Open Settings.apk and pair the Bluetooth keyboard with your Glass. Pair with the OBDII dongle. Usual passwords are 0000, 1234, and 6789. Throw the keyboard out the window, you're done with it.
If your dongle has a name other than "OBDII", you will need to recompile and reinstall the app. See below.
Turn your car's ignition. This is not optional. Your car's ECU is only active when the engine is running.
Return to the Glass clock. Say "OK Glass, show dashboard." Tap, hit Connect.
After a few seconds, RPM, fuel, and MPG should appear. Welcome to the future!
Drive safely. Wearing Glass while driving is legal in most states, but you have a run-in with the law, it will set a legal precedent that will get many otherwise innocent people into trouble. Remember, automobile crimes on interstate highways are felonies. I strongly suggest testing the app on a track or abandoned lot instead of the road.
When you're done driving, tap the AutoHud card, select Stop, and tap it. Unplug the OBD dongle when you turn off the ignition or it will drain your battery!
安装说明
仔细检查的要求,并确保你拥有了一切。
查找和下载Settings.apk。在你的玻璃将其连接到电脑,打开你最喜欢的命令外壳,并运行ADB安装-r [路径Settings.apk]安装它。别拿[路径Settings.apk]字面和实际键入[路径Settings.apk]到终端。你聪明得多。
下载VoidstarAutoHud.apk从这里并安装它以同样的方式。
进入汽车连接器插入的OBD II端口。它的电源指示灯会亮起。
打开Settings.apk并与玻璃配对的蓝牙键盘。配对的OBDII加密狗。常用的密码是0000,1234,6789和扔掉键盘窗外,你用它做。
如果你的软件狗有一个名称不是“OBDII”等,则需要重新编译和重新安装应用程序。见下文。
打开汽车的点火。这不是可有可无的。你的车的ECU是发动机运行时才有效。
返回到玻璃时钟。说“OK玻璃,仪表板显示。”自来水,打连接。
几秒钟之后,转速,燃料,和MPG应出现。欢迎来到未来!
安全驾驶。穿玻璃,而驾驶是法律在大多数国家,但你有一个磨合的法律,将设置一个法律先例,将得到许多其他无辜的人陷入困境。请记住,在州际公路汽车犯罪是重罪。我强烈建议测试曲目或放弃很多,而不是在道路上的应用程序。
当你完成驾驶,挖掘AutoHud卡,选择停止,并点击它。拔下OBD加密狗,当你关闭点火,否则会耗尽你的电池!
Special Instructions
If your dongle is called something other than "OBDII", AutoHud will not detect it. For the time being, the name is hardcoded in. To compile a custom version with your dongle's name, follow these steps:
Install the Android Developer Toolkit, sdk-tools, and the GDK.
Pull AutoHud's source from GitHub and open it in ADT Eclipse.
Open the file "strings.xml" in the folder "values" in the folder "res". Click "obd_adapter_name" and change its Value to the name of your OBD II dongle.
Connect your Glass to your computer. Click Run → Run As → Android Application. Select your Glass and your new, tweaked version should install.
特别说明
如果你的加密狗被称为不是“ OBDII ”等, AutoHud不会检测到它。暂时,这个名字被硬编码在编译自定义版本的加密狗的名称,请按照下列步骤操作:
安装Android开发工具包, SDK ,工具,和GDK 。
从GitHub上拉AutoHud的源和ADT Eclipse中打开它。
打开文件夹“ RES ” “的strings.xml ”的文件夹“价值观” 。点击“ obd_adapter_name ”,改变其值设置为你的OBD II适配器的名称。
您的玻璃连接到您的计算机。点击运行→运行→随着Android应用程序。选择您的玻璃和新的,扭捏的版本应该安装。
Attribution
The application structure is based off the Google Glass "Compass" GDK sample and used under Apache 2.0.
The icons are taken from Font Awesome and used under SIL OFL 1.1. Font Awesome was developed by Dave Gandy and is available at http://fontawesome.io. It totally rules and you should download
归因
该应用程序的结构是基于关闭骨格玻璃“北斗” GDK样品和Apache 2.0下使用。
由戴夫·甘迪开发,可在http://fontawesome.io 。它完全规则,你应该下载

骨格== 什么 大家知道的

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
友情提示:标题不合格、重复发帖,将会被封锁ID。详情请参考:论坛通告:封锁ID、获得注册邀请码、恢复被封ID、投诉必读
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|阿莫电子论坛(原ourAVR/ourDEV) ( 公安备案:44190002001997(交互式论坛) 工信部备案:粤ICP备09047143号 )

GMT+8, 2019-10-18 01:14

阿莫电子论坛, 原"中国电子开发网"

© 2004-2018 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表