Code Monkey home page Code Monkey logo

garminuino's Introduction

Garminuino

There has two sub-project use GarminHUD as:

  1. an app, Google Map HUD (Android App+GarminHUD).
  1. a speedometer HUD (Arduino+GarminHUD, STOP MAINTAIN)

Known Issue:

  • The app will crash after booting on some device (ESPECIALLY ON ANDROID 6.0), then nofication capture will un-work. There has no solution for this bug now. If you encounter this issue, please follow step below to resolve (sometimes works) :
    1. Uninstall the app
    2. rebooting
    3. Install the app after booting.

Belows are two sub-proejct put together: GoogleMap navigation HUD(Left)+ Speedometer HUD(Center) Two Garmin HUD application

Belows are two sub-proejct & Android Auto put together:
GoogleMap navigation HUD(Left1)+ Speedometer HUD(Left2) + Android auto(Right1)
Two Garmin HUD application + Android Auto

Android App: Google Map HUD

App layout


ToDo List

  1. Add auto-connection function.
  2. Auto lanunch google map when HUD connected.
  3. ~~Comment source-code.
  4. Show some usage infomation when navigation is done, don't make it seems hang when navigating done.
  5. Figure out auto connection is working well or not.
  6. Lets "Show Speed" function working well.
  7. ~~Better auto-connection with GarminHUD
  8. ~~Support Sygic & OsmAnd (GIVE UP! Cause of bad text recongnition).
  9. Support Android Q's screen capture.
  10. Improve arrow recognition.

Authors

Contributor

  • Gabriel Valky / Frank Huebenthal - garmin hud protocol research - github

  • Niklas04 - help improve parsing & add German language support github

  • intervigilium - add support for BMW HUD github

  • Android-BluetoothSPPLibrary - Bluetooth SPP Library, use to link Garmin HUD. github

  • Android-BluetoothSPPLibrary - Bluetooth SPP Library also, which fixed issue of auto connection. github


Folder Structure

.
├── GoogleMap_Arrow_Recognize   # Arrow Recognize Experimental Project for Visual Studio C++
├── GoogleMaps_HUD              # Pure Android App based Google Maps HUD
├── navigation HUD              # Arduino based Googoogle Maps HUD (deprecated)
├── pics                        # Some pictures for README usage
└── speedometer HUD             # Arduino based Speedmeter with Garmin HUD

Hence the information below is not necessary anymore, but I still keep it for commemorative.

Initial concept of Garminuino This is the inital concept of Garminuino, but the implment is slight difference to the concept. For example, Garmin Hud is not linked by BLE, so BLE moduble is needless.

IMAGE ALT TEXT HERE

(click image can link to Youtube film)

A OBD/CanBus parser by Arduino, and a speed info transmitter by bluetooth(to GarminHUD) .

navigation HUD (deprecated now!)

IMAGE ALT TEXT HERE

(click image can link to Youtube film)

Besides parts of Speedometer HUD, a USB Host Shield with a Android mobile phone can fetch Google Navigation info, and transmit info by bluetooth to GarminHUD, too.


garminuino's People

Contributors

intervigilium avatar niklas04 avatar skyforcetw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

garminuino's Issues

No issue just talking

I got no problem with your app, is just wanted to say thank you!
I bought the Garmin HUD 6 month before the end of its life (Garmin pulling the plug on all apps),

I was ready throwing it away but luckily forgot.

Today I found it and were curious if there was any other way for it to work, and then I found you and your app using Google maps my since then preferred navigation system.

I am really grateful for what you are doing here because i really liked the concept of the HUD ad the vastly superiority of Google Maps.

IMHO I hope you will add some more features, like for example the lane pointer under the arrows.

But for now this app is really great and I hope you will support it for a long time and maintaining it.

Unstable connection issue while Google navigation is in use

Hello,
First of all, I have to say thank you very much for this project!
I have the official retrofitted MINI (BMW) HUD, but I could not use it for a while because the support by Garmin is ended a few years ago.
So, this solution is perfect for me.

Just tried the GoogleMaps HUD, and it did found and paired with my HUD.
However, when I started the navigation using Google Map, the connection to HUD got unstable and the communication between the app and HUD did not work well.

I will try to explain and put the details as much as possible, but please let me know if you need any other information.
It might be related to the device environment of my mobile, so I will put the details of my mobile as well just in case.


[Version of the software]

GoogleMaps HUD v0.8.9

[HUD model]

MINI HUD (retrofitted at MINI dealer), which is the same model as BMW HUD.
The connection to the device is made by WiFi, and use the mobile data to get the map data etc.

[Device]

Sony H9436 (Xperia XZ3 dual SIM, European model)
Android 10
Build number: 52.1.A.3.137

[Problem]

When the Google Map navigation is in use, the connection to HUD got unstable and the communication between the app and HUD did not work well.
I have attached the video, hope it helps to understand what I am seeing.

[Actual issue]

In the MAIN tab, Status which indicates the connection to HUD keeps dropping off.
It continuously shows 'BMW HUD connected' for a sec, then changes back to 'HUD disconnected'.
When I see the DEBUG tab, I can find that the notifications are sent every second or so.
The HUD display shows the correct next turn symbol (straight, turn right, etc.), but the distance is always '0'.
Also, it does not show the estimated arrival time.

[Note]

My device is also connected to a smart watch, but the problem did not resolved after disconnecting it by disabling Bluetooth.


comminucation_issue.mp4

Show Speed only works for some seconds

When using Google Maps on Android 11, on a Samsung device, everything works fine except the "show speed feature". This is freezing after some seconds. Also lane assist etc doesn't work cause the app is telling me that it needs a screenshot but I have no clue how to handle this 😅.

new arrows style? (HUD+ not showing directions)

hello and thank you for this project.
i have a HUD+ and decided to revive it by using this project.

now what works:

  • pairing
  • speed
  • current time
  • test buttons in debug (all 3)

what does not work (that i could observe):

  • directions
  • ETA (i believe it’s related to above)
  • manual brightness (but it’s less important that above 2 issues)

some pictures, sorry for the poor quality of them.

my arrows style:
C2F1E312-FB2D-4D51-860F-4F9BA029B5FD

testing buttons in debug:
79681479-C106-467C-BCD1-8B296F88B413

version and statuses:
E8249063-C593-47AF-B0FD-C3210A95E375

notifications ok:
49C21F27-A1FA-4541-A8F9-CAF8734FBA32

The App crashes

Hi!

First, I really like your Idea of bringing the Garmin Hud back to life and sync it with Google Maps!

But i can't get it to work... Perhaps you can help me? I tryied severel App-Versions but the problem is always the same: the first time, i run the app after installation, i'm able to connect the hud and everything seems to work fine. But if i want to reconnect the hud, the hud doesn't connect automaticaly. And if i want to open the app to reconnect it manually, the app keeps crashing. The only solution i found, is to delete the storage of the app and set everything up from the beginning. Again, everything is working... Until the next reconnect.

I'm using your app on a Pixel 2 with Android 10 in german language.

I hope you understand what i'm writing, my english is not the best 😉

No Notifications Capture, no matter what

so i've been struggling with this for a couple of weeks.. no matter what i try: reboot device or reinstall app, i can't get the notification toggle on.

android 6,
huawei p8 lite

any help would be greatly appreciated...
Screenshot_2021-08-06-17-29-07

Instalation issue

Hi,
I face with basic problem with instalation of the software:

Settings:

  • allow to install from external source = on
  • do not perform verification of the software = on
    Systems (two phones):
    4.4.2
    And
    7.0.4
    File downloaded from section „assets” (gmaps_hud_relese_v0.4.7.apk, also tested 0.4.6)
    Both cases I recived error during trial of instalation:
    „during pack analisis occure error”

I’m pretty sure that it’s something obvious but I’m not android expert :/... But the project is so good that I plan to switch.
Please advice.

Best,
Michal

Garminuino-App doesn't work with Google Maps 10.9.2

Hi,
I've updated Google Maps to Version 10.9.2 and Garminuino-App won't work anymore.
The HUD shows "Ok" but the navigation informations doesn't show up.

In the log I get the error "java.lang.NoSuchFieldException: No field mActions in class Landroid/app/Notification$BuilderRemoteViews; (declaration of 'android.app.Notification$BuilderRemoteViews' appears in /system/framework/framework.jar)"

I always try to figure out, where the problem could be.
The function
views.getClass() (processGoogleMapsNotification, NotificationMontitor.java)
doesn't get the class "android.widget.Remoteview" but get "android.app.Notification$BuilderRemoteViews".
In this class the Field "mActions" doesn't exist.

Don't have found any solution course of lack of experience.
I think Google made some changes to the structure of the notification.

Send Debug messages via SPP for Arudino applications

Hi,

I am working on an Arduino (ESP32 with a BC127 Bluetooth module ) project that will display navigation HUD on the center screen of a VW Cluster.
I'd very much like to use this android application to fetch data from google maps and send them to the Arduino.

If possible I'd like to avoid having to implement a GarminHUD emulator in my code, so I'd like to ask whether it would be possible to add an Arudino mode that would send the human-readable messages from DummyHUD.java via SPP. I image there are other potential users that would appreciate this option.

New arrows cannot recognize

Gmaps update the arrows for easy verifying(My guessing), the app cannot recognize arrows now.

I will collect new arrows for recognizing someday.

App keeps crashing

Hi,

I'm having the problem that the app keeps crashing when Google Maps Navigation is running and GoogleMaps HUD App is not running.
The app keeps crashing every 30 seconds until I end the navigation.
If I start the GoogleMaps HUD App everything works fine.

I was able to get the following log via Android Studio:
Unbenannt

Maybe you clue where the issue can be and fix it.

Best regards
Niklas

Apk for version 0.4.4

Hi,
may you can upload the apk for the version 0.4.4 ?

Would be happy to test the lane detection a little bit.
How does the lane detection work generally (how do you get the information for lanes)?

Niklas

Android App won't work with my device

Hi,
I've got a Garmin HUD and want to to use it with Google Maps.
I've downloaded your app but unfortunately it don't display any navigation information on the HUD.

Paring with the HUD and reading(/parsing) notification work with my device.

I've already tryed to import the code in Android Studio to get further debug information, but the main part of the app is missing.

My device is a Google Pixel 2 running Android 8.1.0. Language is set to German (but tried already with english language).

May you can figure out, what the issue is.
If I could help you somehow, it would be a pleasure.

Niklas

Somehow can't attach a picture, displayed Maps notification is:
LeaveRoundaboutUp 110 m 0:9 9,3 km Ankunft ca. 22:39 (period: 1280)

Speed won't show on the HUD

For anyone having the same issue:

The speed won't be displayed on the HUD.

I think I found the issue, but want to test it (completly), before creating a new Pull request.

Niklas

Google maps HUD keeps stopping

Hi
I don't' have the garmin HUD but wanted to test the app itself to see if it works.
The app loads fine but as soon as I try to navigate with googe maps I get the error "Google maps HUD keeps stopping"
I'm using a moto g5s with android 8.1
Thanks

Hud show ok but no navigation

Hello I just got my garminHUD to try with this. 2 issues i have so far. 1. In 0.1.5 release, nothing happen or show the bluetooth device menu when i hit "scan bluetooth".
2. I rolled back to 0.1.4. This time i got the garminHUD to pair. However it stuck showing OK, but nothing else after i started a navigation with my google maps. (The app is showing its reading notification from google map)
I have read the issues post before, it looks like it was something to do with language. I am in the US, so not sure if there's issue with the US english Google maps.

Doesn't detect roundabout left exit.

screenshot_20190215-155956

as attached in the screenshot above, The code doesn't detect roundabout left exit arrow. All other arrows are detected as expected.

can you explain the following bit of code so i can figure out by myself?

private static Arrow getArrow(ArrowImage image) { Arrow foundArrow = Arrow.None; for (Arrow a : Arrow.values()) { int sad = image.getSAD(a.value); if (0 == sad) { String shortString = Short.toString(a.value); Log.d(TAG, "Recognize " + a.name() + " " + shortString); foundArrow = a; break; } } return foundArrow; }

I'm using your latest code BTW.

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.