gabonator / Work-in-progress

Various unfinished or small projects
67 stars 10 forks source link

project problem #8

Open korng9757 opened 4 years ago

korng9757 commented 4 years ago

Hello, I'm the person implementing your project, 'SygicHudEsp32. If you run the 'Sygic Hud' App, you will not see any straight icons and leftovers. Do you have a solution?

gabonator commented 4 years ago

Can you send me the console output log from arduino?

korng9757 commented 4 years ago

It's hard for me to give you the code because of the current circumstances. Data can be given after 8 hours and coding will be uploaded without error.

gabonator commented 4 years ago

Can you please explain it more?

korng9757 commented 4 years ago

I am sorry for the late reply. "The aduino console output logno console output log is " Leaving... Hard resetting via RTS pin..." And I'm working on the SigicHudEsp32 project with my iPhone. But https://www.youtube.com/watch?v=Kb0fgH8GiYA' Straight arrow, distance remaining, and speed limit functions are not displayed on the display as in the image. The functions that appear on the current display are left and right arrows, and the current speed. What is the solution?

gabonator commented 4 years ago

so, it properly shows the current speed and some turning instructions? that means, that the device communicates with the phone well. and the only problems are that some instructions and speed limit is not shown? regarding the speed limit - it should show the same number as in the application. not all roads in the map have the speed limit attribute set. and for the missing instructions - it should be easy to add them if you understand some basics of C++ programming. just duplicate some of the icons, and put a reference to it somewhere

korng9757 commented 4 years ago

Thank you for your kind answer!! But since I applied the arduino coding data provided, it was uploaded without any errors. Is it possible to solve the problem in this situation?

gabonator commented 4 years ago

please send here your changes (or whole .ino file) so I can review if you did it right.

korng9757 commented 4 years ago

sygichud.zip I am sending you the 'ino file' that I applied here. Additional iPhone 13.3, App 18.4.3.

gabonator commented 4 years ago

but this is the original code, I was expecting you to add some new icons at the end of the file like this one:

CIcons::icon_t CIcons::iconRight = {
 0b00000000000000000000000100000000,
 0b00000000000000000000000110000000,
 0b00000000000000000000000111000000,
 0b00000000000000000000000111100000,
 0b00000000000000000000000111110000,
 0b00000000000000000000000111111000,
 0b00000000000000000111111111111100,
 0b00000000000000001111111111111110,
 0b00000000000000011111111111111111,
 0b00000000000000111111111111111110,
 0b00000000000000111111111111111100,
 0b00000000000000111110000111111000,
 0b00000000000000111110000111110000,
 0b00000000000000111110000111100000,
 0b00000000000000111110000111000000,
 0b00000000000000111110000110000000,
 0b00000000000000111110000100000000,
 0b00000000000000111110000000000000,
 0b00000000000000111110000000000000,
 0b00000000000000111110000000000000,
 0b00000000000000111110000000000000,
 0b00000000000000111110000000000000,
 0b00000000000000111110000000000000,
 0b00000000000000111110000000000000,
 0b00000000000000111110000000000000,
 0b00000000000000111110000000000000,
 0b00000000000000111110000000000000,
 0b00000000000000111110000000000000,
 0b00000000000000111110000000000000,
 0b00000000000000111110000000000000,
 0b00000000000000111110000000000000,
 0b00000000000000111110000000000000};

and then put reference to it in getIcon function

korng9757 commented 4 years ago

I didn't get it. In my "ino file," CIcons::icon_t CIcons::iconRight = { 0b00000000000000000000000100000000, 0b00000000000000000000000110000000, 0b00000000000000000000000111000000, 0b00000000000000000000000111100000, 0b00000000000000000000000111110000, 0b00000000000000000000000111111000, 0b00000000000000000111111111111100, 0b00000000000000001111111111111110, 0b00000000000000011111111111111111, 0b00000000000000111111111111111110, 0b00000000000000111111111111111100, 0b00000000000000111110000111111000, 0b00000000000000111110000111110000, 0b00000000000000111110000111100000, 0b00000000000000111110000111000000, 0b00000000000000111110000110000000, 0b00000000000000111110000100000000, 0b00000000000000111110000000000000, 0b00000000000000111110000000000000, 0b00000000000000111110000000000000, 0b00000000000000111110000000000000, 0b00000000000000111110000000000000, 0b00000000000000111110000000000000, 0b00000000000000111110000000000000, 0b00000000000000111110000000000000, 0b00000000000000111110000000000000, 0b00000000000000111110000000000000, 0b00000000000000111110000000000000, 0b00000000000000111110000000000000, 0b00000000000000111110000000000000, 0b00000000000000111110000000000000, 0b00000000000000111110000000000000};

You want me to add this?

korng9757 commented 4 years ago

If you still use the "ino.file" provided by "https://github.com/gabonator/Projects/blob/master/SygicHudEsp32/sygichud.ino," does the "distance" function work normally?

korng9757 commented 4 years ago

If the current "distance" function is implemented and the remaining distance does not exceed "km", then the remaining distance is marked as "m". However, even if the remaining distance goes over "km", there is a problem that is marked "m. What is the solution to this problem?

And other "icon" is displayed, but not only "iconStraight" What is the solution to this problem?