qdomyos-zwift
qdomyos-zwift copied to clipboard
[REQ] Add Google Maps Display when "travelling" imported GPX Files
When "traveling" through a imported GPX File it would be a nice Addition to see the current Position on Google Maps or even Street View if available.
Yeah I'd really love the street view implementation:) I will check if it's possible Thanks for the idea
openlayers.zip html + javascript ready i "just" need to add a websocket to QZ engine and passing the coordinate through it
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@Bepo7012 are you still interested in this? I'm working in these days on this!
Hi Roberto
Yes i would be interested but unfortunately, I had an accident which makes it currently impossible for me to ride anything but an E-Bike with maximum Power added ☹
Best Thanks Bernhard
Von: Roberto Viola @.> Gesendet: Montag, 16. Mai 2022 15:19 An: cagnulein/qdomyos-zwift @.> Cc: Bepo7012 @.>; Mention @.> Betreff: Re: [cagnulein/qdomyos-zwift] [REQ] Add Google Maps Display when "travelling" imported GPX Files (Issue #455)
@Bepo7012https://github.com/Bepo7012 are you still interested in this? I'm working in these days on this!
— Reply to this email directly, view it on GitHubhttps://github.com/cagnulein/qdomyos-zwift/issues/455#issuecomment-1127663792, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWDBIKFA7I76ZTAOTPUNMK3VKJDL5ANCNFSM5GEX47HA. You are receiving this because you were mentioned.Message ID: @.@.>>
@Bepo7012 argh i'm so sorry! I hope the best for you!
This would be fascinating.
@laurenweinstein1 actually this is already possible with 3d maps, did you test this?
I actually did look over the documentation on maps (and saw the 3D references) but didn't see anything specific about how to tie into ground level imagery. The tutorial video also seemed to be 2D only at the time it was made. Is there a reference for tying into Street View? Thanks!
street view is not implemented because google street view has some crazy fee!
but did you play with the 3d maps with the current android version?
I may be using it wrong -- I haven't had any luck getting the mapping to work so far. I load one of the sample GPX tracks (the map option is set to 3D). I hit start -- the treadmill starts -- but I'm still on the tile page. If I go back to the load GPX page, I see the 2D map but no noticeable activity. No effect from pressing the icon toward the top of the tile page showing an unfolded map with a location pointer on it.
BTW, when I click Filter on the load GPX page I get a list of apparently fragmented words down the screen whose meaning is not immediately obvious ...
did you click on the icon of the map in the main screen on the top right corner after pressing start?
Correct. Multiple tries. Nothing happens.
you have to press start and pause on qz first in order to engage the gpx
Il giorno dom 5 mar 2023 alle 06:25 Lauren Weinstein < @.***> ha scritto:
Correct. Multiple tries. Nothing happens.
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/455#issuecomment-1454994493, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWAG5AYKLB2R7HFCZYTW2QPVLANCNFSM5GEX47HA . You are receiving this because you were assigned.Message ID: @.***>
-- Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud
Right, that's what I do. The box comes up that says GPX loaded. I press START, the treadmill starts. I press the map icon -- nothing changes.
do a start pause start sequence, i guess it was in pause mode and so the gpx is not loaded
It doesn't seem to make any difference what I do, the map icon on the main page never does anything.
Here's the sequence:
Start QV. Load GPX Back to main page (box appears saying GPX loaded, map icon appears). Press map icon. Nothing happens. No sequence of START/STOP, etc. causes any difference, the map icon does nothing, no map appears (except the 2d map on the load gpx page itself).
Do I have the sequence correct? Thanks.
send me a debug log, i guess you are doing something wrong but it's easier with a debug log
Il giorno lun 6 mar 2023 alle 02:52 Lauren Weinstein < @.***> ha scritto:
It doesn't seem to make any difference what I do, the map icon on the main page never does anything.
Here's the sequence:
Start QV. Load GPX Back to main page (box appears saying GPX loaded, map icon appears). Press map icon. Nothing happens. No sequence of START/STOP, etc. causes any difference, the map icon does nothing, no map appears (except the 2d map on the load gpx page itself).
Do I have the sequence correct? Thanks.
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/455#issuecomment-1455308421, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWE7O2O2WZ34X5WFD33W2U7NNANCNFSM5GEX47HA . You are receiving this because you were assigned.Message ID: @.***>
-- Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud
@laurenweinstein1 checked and yes you're doing it right, i guess i found your issue. Disable the "Treadmill Speed Forcing" setting and restart qz. I guess it will solve your issue. If so this is about the fact that this gpx that you're loading is for a bike, and so QZ went crazy because it doesn't have speed reference for this. Let me know
Well, this was interesting. Turned off the Treadmill Speed Forcing option. Now it appears that the mapping tries to start up and the treadmill starts. However, the treadmill beeps continuously (about twice a second perhaps), and the following error box appears:
Error constructing CesiumWidget Verify that your browser and hardware support WebGL, try another browser ... etc.
If I hit OK on that error, I see the statistics box in the lower right, and a bit of what might be colored mapping lines in the lower right, but the treadmill incline goes nuts rapidly going up and down until treadmill manually stopped. So, not very successful so far. Thanks again.
On Sun, Mar 5, 2023 at 11:08 PM Roberto Viola @.***> wrote:
@laurenweinstein1 https://github.com/laurenweinstein1 checked and yes you're doing it right, i guess i found your issue. Disable the "Treadmill Speed Forcing" setting and restart qz. I guess it will solve your issue. If so this is about the fact that this gpx that you're loading is for a bike, and so QZ went crazy because it doesn't have speed reference for this. Let me know
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/455#issuecomment-1455564388, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC3AUEAGOJGMHZ463NWX5CTW2WEPDANCNFSM5GEX47HA . You are receiving this because you were mentioned.Message ID: @.***>
Actually what I think I'm seeing in the lower right is a green/yellow/red incline indication. However, as I mentioned, the incline on my treadmill started going up and down continuously until manually stopped. I didn't see any mapping imagery, the rest of the page was white.
On Mon, Mar 6, 2023 at 10:21 AM Lauren Weinstein @.***> wrote:
Well, this was interesting. Turned off the Treadmill Speed Forcing option. Now it appears that the mapping tries to start up and the treadmill starts. However, the treadmill beeps continuously (about twice a second perhaps), and the following error box appears:
Error constructing CesiumWidget Verify that your browser and hardware support WebGL, try another browser ... etc.
If I hit OK on that error, I see the statistics box in the lower right, and a bit of what might be colored mapping lines in the lower right, but the treadmill incline goes nuts rapidly going up and down until treadmill manually stopped. So, not very successful so far. Thanks again.
On Sun, Mar 5, 2023 at 11:08 PM Roberto Viola @.***> wrote:
@laurenweinstein1 https://github.com/laurenweinstein1 checked and yes you're doing it right, i guess i found your issue. Disable the "Treadmill Speed Forcing" setting and restart qz. I guess it will solve your issue. If so this is about the fact that this gpx that you're loading is for a bike, and so QZ went crazy because it doesn't have speed reference for this. Let me know
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/455#issuecomment-1455564388, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC3AUEAGOJGMHZ463NWX5CTW2WEPDANCNFSM5GEX47HA . You are receiving this because you were mentioned.Message ID: @.***>
the opengl means that your device can't support the 3d maps unfortunately.
anyway about the inclination issues, do you have a debug log? i guess the main issue is that qz is sending in this case an inclination each second and your treadmill is trying to following it even if it can't changes 0.01 of inclination. it's fixable of course, just let me check the debug log
Here's a debug. In this case (for the particular map) the incline went to zero and stayed there, but the treadmill kept beeping continuously so I think QZ was still continuing to send incline change commands. -L
debug-Mon_Mar_6_11_45_33_2023.log https://drive.google.com/file/d/10QzW8P3R2r444MiJXKy0NJLcSB1Ruvgh/view?usp=drive_web
On Mon, Mar 6, 2023 at 11:22 AM Roberto Viola @.***> wrote:
the opengl means that your device can't support the 3d maps unfortunately.
anyway about the inclination issues, do you have a debug log? i guess the main issue is that qz is sending in this case an inclination each second and your treadmill is trying to following it even if it can't changes 0.01 of inclination. it's fixable of course, just let me check the debug log
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/455#issuecomment-1456817526, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC3AUEDGDOAYN6DXDHOCUB3W2Y2QRANCNFSM5GEX47HA . You are receiving this because you were mentioned.Message ID: @.***>
thanks got the issue, very simple of course: in this case the inclination is negative so your treadmill is filtering it but it beeps :)
so tomorrow i will add a filter in order to send inclination only if it have a gap from the current inclination.
about the opengl issue, do you have another device to test ? which is the one with the opengl error?
Yeah, that should also nab the continuous positive inclination changes I was having earlier. Thanks. Yep, my other devices will probably be fine with WebGL. It's the Chromebook with the issue, which is mainly what I use for QZ since it has by far the biggest display. I went in and turned on all the WebGL related flags in there -- so apparently it has some level of WebGL support -- but I'm still getting that initial error and the other effects.
qz is using this https://www.cesium.com/ try to check if there are some post about chromebook and this
There appear to be a wide array of Cesium apps working with Chromebooks, so apparently there isn't a generic problem with Cesium on them as far as I can tell right now.
@laurenweinstein1 ok i guess I fixed the beep thing. It was tricky because i have also to keep in the game the inclination override thing #1244 . so please @paulreed999 test it also on your side if the inclination is still working fine. In case send me an email in order to get the new beta.
#1298
Hi Roberto
Everything is working fine for me on the latest beta I have - 2.12 (503).
From: Roberto Viola @.> Date: Tuesday, 7 March 2023 at 09:04 To: cagnulein/qdomyos-zwift @.> Cc: paulreed999 @.>, Mention @.> Subject: Re: [cagnulein/qdomyos-zwift] [REQ] Add Google Maps Display when "travelling" imported GPX Files (Issue #455)
@laurenweinstein1https://github.com/laurenweinstein1 ok i guess I fixed the beep thing. It was tricky because i have also to keep in the game the inclination override thing #1244https://github.com/cagnulein/qdomyos-zwift/issues/1244 . so please @paulreed999https://github.com/paulreed999 test it also on your side if the inclination is still working fine. In case send me an email in order to get the new beta.
#1298https://github.com/cagnulein/qdomyos-zwift/issues/1298
— Reply to this email directly, view it on GitHubhttps://github.com/cagnulein/qdomyos-zwift/issues/455#issuecomment-1457801822, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASAVCMFTLRQU7RRVZ7XWFALW2322BANCNFSM5GEX47HA. You are receiving this because you were mentioned.Message ID: @.***>
yeah @paulreed999 I will send you this new beta (not build yet) that shouldn't change anything on your side, but let's double check it