AltGraph v.1.0.33 – A 3D Isometric Altimetry & Radar extension for Karoo

Comments

147 comments

  • Avatar
    David Garcia

    Yes I have it in Fixed beacon (graph scrolls). I am attaching screenshot and showing the version I am using.

    For roundabouts and new logic which you have improved.....please test it against this one (53.500323, -6.592821). I rode it in 3 different ways and got the same result, it was showing as an road end.

     

     

    0
    Comment actions Permalink
  • Avatar
    HesiOX

    Hi everyone,

    We’ve released ALTGRAPH 3.0.31 with several improvements:

    • 5 m terrain is now available for 22 Spanish provinces.
    • Improved Road Horizon road and street recognition, including junctions and connected roads.
    • Improved roundabout exits and continuation onto the main road.
    • Added the predicted Road Horizon route to the map when no navigation route is loaded.
    • You can enable or disable this map line and smooth its colour transitions.
    • Fixed continuous 3D profile scrolling with the fixed 20/80 beacon.
    • The 3D header now supports Speed and Average Speed fields when no route is loaded.
    • Updated the province terrain pack selector and translated the new options into all supported languages.

    The OTA update and APK are available here:

    https://github.com/DAVOE75/AltGraph/releases/tag/v3.0.31

    0
    Comment actions Permalink
  • Avatar
    David Garcia

    I've been enjoying the extension lately with all new additions. Quick bit of feedback from yesterday's 2 hour ride.
    Loading a route worked really well, and the 3D graph was great. The issue was after I finished the route and kept riding for the last 30 mins or so. The ribbon seemed not fully fixed any more and wasn't in sync with the profile. It just seemed a bit like sluggish and buggy.

    I'll try to reproduce it this week and let you know. Might be worth checking what happens when you finish a loaded route and carry on riding.

    0
    Comment actions Permalink
  • Avatar
    HesiOX

    Hi David, thanks a lot for the feedback, and for the detail about what happened after you finished the route. You were right: there was a real bug.

    What was happening
    When you rode past the end of a loaded route and Karoo kept the route active, the 3D view froze its window on the last stretch and pinned the beacon to the right edge. So the ribbon stopped being fixed and drifted out of sync with the profile for the rest of the ride.

    Fixed in v3.0.35

    • Once you finish the route and ride more than 150 m past its end, AltGraph now falls back to the free Tactical Horizon (beacon fixed at 20%, predicted road ahead, alerts) until you load another route or start a new ride.
    • The same applies to detours. If you leave the route by more than 100 m, you get the Tactical Horizon, and when you get back within 40 m of the track it picks the route up again.
    • I haven't been able to test this on a real ride yet, so if you can reproduce the end-of-route case this week, I'd love to hear whether it behaves now.
    0
    Comment actions Permalink
  • Avatar
    David Garcia

    You described it there exactly as it was! Excellent.

    A small one here. Next time you do your next release you may want to include/fix this. One for perfectionist really!

    Small % number or Current Gradient title are overlapping so one needs to be sized down.

    0
    Comment actions Permalink
  • Avatar
    HesiOX

     

    Thanks David, glad the description matched what you saw. And thanks for the extra detail on the overlap.

    Fixed in v3.0.36:

    • Overlap: the small % (and km/m) unit next to the big number could rise into the column title, like "CURRENT GRADIENT". It now stays below the title, and the number and title keep their size.
    • Separators: I added a thin dark-grey vertical separator between the header data. With three data it draws two, one each side of the middle one.
    • Axis: at the start of a ride the distance axis could show a negative label ("-1m") at the left edge. It now starts at 0 m, under the beacon.

    I haven't tested it with every font, text scale or in landscape, so if the overlap shows up again in some combination, tell me which one.

    The route end and detour fix from v3.0.35 is still waiting for your real ride, so let me know how that goes.

     

    0
    Comment actions Permalink
  • Avatar
    Carsten Weigandt

    It would be possible to enlarge the fonts. As a spectacle wearer, I can hardly see her.

    1
    Comment actions Permalink
  • Avatar
    Carsten Weigandt

    The zoom buttons don't work. 

    0
    Comment actions Permalink
  • Avatar
    David Garcia

    I found some bugs using the extension today riding off route mode. The road profile was showing for half of the route ahead as 0% and would only populate till getting to it (the 0% section). It happened 4/5 times on a straight road with no junctions or roundabouts or turns.

    I'll replicate and report them to you tomorrow.

    A wish from me if possible and easy to implement. Would it be possible to have an option to make the 3d graph turn into 2d instead? Keeping everything else identical and removing the "boxy" look.

    0
    Comment actions Permalink
  • Avatar
    HesiOX

    Thanks all for the feedback, it's very useful. v3.0.38 is out with the following.

    New

    • Flat 2D profile (David): there is a new "Flat 2D profile" switch in the 3D tab. It draws the graph without the isometric depth, so the "boxy" look goes away, and everything else stays the same. This is a first version: it's off by default, and if you see any leftover edges or odd rendering, please tell me.
    • Larger fonts: there is a new XXL text size (2x) in the font size selector, on top of Normal, Large and XL. If you're wearing glasses, please try it and let me know whether it's readable enough or if it needs to go bigger.

    Still investigating

    • Road profile showing 0% ahead (David): I haven't been able to reproduce it yet, and I don't have a fix for it in this version. My two suspects are missing terrain data in the far part of the horizon, or the predicted road ending earlier than requested. I've added a warning to the log so I can tell which one it is. If it happens again, could you send me the log from that moment (filtered by "RoadHorizon")? It would also help to know whether you have the 5 m province pack installed for that area.
    • Zoom buttons don't work (Carsten): sorry about that. Could you tell me which graph (Global Route, Tactical Horizon or Climb Viewer) and which version you are on? I changed how zoom works in the Tactical Horizon recently, but I can't confirm yet that it covers your case.

    Thanks again for the detailed reports.

    0
    Comment actions Permalink
  • Avatar
    David Garcia

    Thanks for the 2d flat version now. I really like it and prefer it to the "boxy" look of the 3d. I am not sure if you can but would you mind removing the lines inside the elevation graph?

    I tested now the XL text font and the Current Gradient number overlaps the header title. Not big deal for me but I thought I'd let you know. Maybe reduce the size of number or remove the header all together? I'd go for removing the current gradient title if it was my call but then that may not work as well if you add another field ....not sure. Maybe just leave it as it is for now. :-)

    I'll repeat those bugs for you today and send you the ride and the log. Question. Which log are you referring to? Where can I get it from?

    Thanks again for the great work as always.

    0
    Comment actions Permalink
  • Avatar
    HesiOX

    Thanks David, really glad you like the flat 2D look!

    Lines inside the graph: I've added a "Block separator lines" switch in the 3D tab, so you can turn those lines off for a cleaner look. They are on by default, because they show where each block starts and many people use them as a reference.

    XL font overlap: thanks for letting me know. The Current Gradient number was growing until it touched the title. It now stops growing before it reaches the title, so with XL (and the new XXL) they no longer overlap.

    The 0% section: since you're in other country you're using the 30 m terrain data, which the app downloads in 1° tiles around you, over Wi-Fi only by default, within a radius of 30 km. If the road ahead reaches a tile that hasn't been downloaded yet (for example if you rode far from where you were on Wi-Fi, or a tile failed to download), the app doesn't have heights there and the profile shows flat, at 0%. That could explain what you saw, but I haven't confirmed it. Could you check in the PRO tab, in the Road Horizon terrain section, whether the area where it happened is downloaded? If you can, try pressing the download button over Wi-Fi before you ride, and tell me if it still happens.

    About the log: I'm referring to the Android log of the Karoo (logcat), filtered by the tag RoadHorizon. In the latest version I added a warning that tells me how many heights are missing and where the terrain came from, so it will show whether this is the cause. The simplest way to get it:

    1. Connect the Karoo to a computer by USB (with adb installed).
    2. Right after the ride, before restarting the device, run:
      adb logcat -d -s RoadHorizon > horizon-log.txt

    The Karoo log buffer is small and is lost when the device restarts or fills up, so the sooner you grab it after you see the 0% section, the better. If you can't use adb, the ride file is already helpful. You'll find it in the FitFiles folder of the Karoo, or you can export it from Strava / Hammerhead Dashboard. Please also tell me roughly where it happened (time or km).

    Thanks again for the kind words and the careful testing.

    Install new release 3.0.41

    0
    Comment actions Permalink
  • Avatar
    David Garcia

    Hi,

    It happened 5 times today. I recalled 4 of them. I was going to record it in my mobile but was a bit too cold to take off my gloves :-)

    1- Around 7:40/45

    2- Around 10.30

    3- Around km 21

    4- Just before km 25

    Please let me know if you can figure out what it is going. It is a straight road so a bit odd. I was using a second karoo extension called Road Ahead which pretty much does the same and I was not having the same problem with it.

    I deleted and downloaded the elevation again just in case that may have been the issue but it was not.

    0
    Comment actions Permalink
  • Avatar
    HesiOX

    Thanks David, really useful, and sorry about the cold hands! I was able to download your FIT file and look at it.

    What I found

    • The whole ride fits in a single 30 m terrain tile, so it is not a missing tile or a tile border. Your terrain screenshot also looks correct (two tiles, 49 MB).
    • The four moments were at 33–42 km/h on gently rolling road, which fits what you describe.

    What I think is happening
    I found a likely cause in how the predicted road is built. When one road segment ends and the next one starts, the next point was rejected as "already visited" if it was within 8 m of an earlier point. On roads with very short segments (for example nodes at crossings, bus stops or speed limit changes), the next point is just a few metres from the junction itself and got rejected. That cut the predicted road short even on a straight road, and the rest of the window was filled flat at 0%. When you got closer, the road was recalculated and the missing part appeared, which matches what you describe.

    Fix: please download the latest version (v3.0.42)
    I changed that check so it ignores the last 30 m of the path. Please update to v3.0.42, which is available now. I couldn't confirm it on your exact road (I don't have the Irish map), so it's a likely cause rather than a certain one.

    The log is still useful
    If it happens again with v3.0.42, the log will tell me how long the predicted road really was compared to what was requested (look for the warning that contains "short/flat risk"). Same command as before, right after a ride: adb logcat -d -s RoadHorizon > horizon-log.txt.

    Thanks for testing so thoroughly.

    0
    Comment actions Permalink
  • Avatar
    David Garcia

    I think the last release may have fixed my issue but hard to tell as it introduced a new bug :-(
    I couldn't change the route ahead view. It was defaulted to next 500m and not matter what I changed it to it would stay at 500m.

    This is the horizon text log anyway in case you want to have a look. I road the same roads than yesterday.

    https://drive.google.com/file/d/14dy4080tDZSs-5Wjvow_O7Ws1MyKCp8h/view?usp=drivesdk

    0
    Comment actions Permalink
  • Avatar
    David Garcia

    One suggestion from today's ride.

    I wanted to change how far ahead the road view shows, and had to leave the dashboard and go back into the extension settings to do it. That's slow and awkward mid-ride.

    Proposal: keep the distance you set in the extension as the default (say 3 km), but let a tap on the graph step the view down through the shorter distances, then return to the default.

    Example with 3 km set: tap once for 2 km, tap again for 1 km, tap a third time and it jumps back to 3 km. Each tap zooms in until you loop back to your starting point.

    A related change to the distance options: I'd drop 500 m. At that range you see so little ahead that it isn't useful, and I wouldn't miss the half-kilometre steps (1.5, 2.5, 3.5 and so on) either. Whole kilometres from 1 to 5 would cover it, then larger steps beyond that up to around 10 km. I can't see much value beyond 5 to 10 km, since you'll be turning well before then.

    The result would be one setting for your preferred distance and a quick tap to zoom in when you need to, without touching the settings.

    Happy to test a beta if it helps.

    0
    Comment actions Permalink
  • Avatar
    HesiOX

    Thanks David, v3.0.43 is out with both things you reported.

    The view stuck at 500 m was a bug I introduced: the visible distance was tied to an old saved value, so changing the setting did nothing. Now the distance you set is the default view.

    Your tap proposal is in:

    • Tap the graph to step down through shorter distances (for example with 3 km: 2 km, then 1 km), and the next tap jumps back to your default. The zoom buttons also step through the same distances.
    • The distance options are now whole km from 1 to 10, plus 15 and 20. The 500 m and half-km steps are gone. If you had an old value saved, it is rounded to the nearest option.
    • If you prefer the zoom to follow the map instead, there is a separate "Match predictive horizon to radar zoom" switch.

    Please update to v3.0.43 and let me know how the tap feels. Thanks also for the log, I'll take a look at it to check whether the 0% sections are gone in v3.0.42 and later.

    0
    Comment actions Permalink
  • Avatar
    David Garcia

    Just back from a spin out. Oddly today it worked perfect! Even without having updated to 0.43. 

    It only failed in a roundabout....if you do not mind having a look at why that happened at km 1.0/1.3 or so. I passed again in my way back so you'll see it the failure again.

    https://drive.google.com/file/d/14dy4080tDZSs-5Wjvow_O7Ws1MyKCp8h/view?usp=drive_link

    In a different note, you know the exageration option......would there be possible to have in the settings, under those two options (fitting the grahp..., exageration....), a drop down menu to select the exageration number. Let's say it is X15,X20 or something like it. Maybe it does not fit things for me but the issue I am trying to solve is the way sometimes the elevation graph goes down almost to the very bottom of the graph if you understand what I mean. I can send you screenshots next time if my point is not coming across clear enough to you.

    0
    Comment actions Permalink
  • Avatar
    HesiOX

    Thanks David, glad it behaved today.

    The roundabout: the Drive link you shared opens as an empty file on my side, so I couldn't read the log. Could you share it with "Anyone with the link"? Otherwise, if you can tell me the exact time or km for the outward and return passes, that would help too. My guess is that the road after the roundabout is unnamed or split in the map data, so the exit is chosen from the entry direction, but I'd rather confirm it.

    Exaggeration: done, there will be a "Vertical exaggeration" drop-down right under those two options, with x5 up to x40 and x15 as the default. Higher means more pronounced relief. I'm not sure it will fix the profile dropping to the bottom, because that depends on how the axis is placed rather than on the factor, so yes please, send me the screenshots next time.

    I'll tell you when the version is out.

    0
    Comment actions Permalink
  • Avatar
    David Garcia

    The txt file is now dowloading empty! :-(

    It is this roundabout 53.510164, -6.556834

    It is an odd now but I think you can change the logic to make it work.

    Many thanks!

    0
    Comment actions Permalink
  • Avatar
    HesiOX

    Thanks again David, v3.0.44 is out and you can download it from the releases page: https://github.com/DAVOE75/AltGraph/releases/tag/v3.0.44

    What's in it:

    • Roundabouts: they are now always treated as one-way, as defined in the map data. At the joint between two ring pieces (your roundabout is split into four), the extension could pick the wrong direction, and that should be fixed. I can't test it on your roundabout since I don't have the Irish map, so please let me know if it still fails on your way out or back.
    • Exaggeration: there is a new "Vertical exaggeration" drop-down under the fit-axis and exaggeration-tag switches, with x5 up to x40 and x15 as the default (the same as before). I'm not sure it will fix the graph dropping to the bottom, since that depends on how the axis is placed rather than on the factor. If it still happens, a screenshot would help a lot.

    Thanks for the careful testing!

    0
    Comment actions Permalink
  • Avatar
    David Garcia

    I’m testing a separate AltGraph version, which I built using Github Copilot, with changes to the 3D elevation graph. Mainly for riding without a loaded route:

    - Five selectable dynamic axis-scaling presets.
    - The exaggeration setting now also adjusts the 3D graph when Fit axis is enabled; x15 is neutral.
    - The profile is positioned somewhat lower, with a target minimum margin of 5% below the terrain.
    - Axis animation is faster: 1 second instead of 3.5 seconds.


    It installs separately from the original AltGraph, so both versions can coexist for comparison. Hope that is ok. I will let you know how I get on and whether or not it is something you may wish to implement in the AltGraph extension.

    0
    Comment actions Permalink
  • Avatar
    HesiOX

    Hi David,

    Thank you so much for your help with AltGraph. Your testing and your ideas are really valuable to me, and I'm glad you're trying things out on your own device. The axis presets, the lower profile position and the faster animation all sound like good ideas.

    Please keep testing. When you're happy with how your changes work, send them to me (a description, screenshots or the code) and I'll gladly implement them in AltGraph, and I'll credit you for your contribution.

    And if you can, a screenshot or two of the profile dropping to the bottom would help me a lot.

    Thanks again, I really appreciate it!

    0
    Comment actions Permalink
  • Avatar
    David Garcia

    Morning.

    Have a look at the work I've done around your version v3.0.44 and let me know what you think. You may like some of the work and may want to implement it in the official version. Please feel free to use it all if you feel like it. The Readme files should contain all the changes from your version but ask me if not.

    I am yet to test some of the new logics about road predictions but so far I like what I see. I still think it needs a bit of further testing for me to be 100% confident.

    https://github.com/DavidGarciaLLion/AltGraph-version-v3.0.44--Testing

    0
    Comment actions Permalink
  • Avatar
    Carsten Weigandt

    Today I drove a planned route in the opposite direction. The remaining kilometers and altitude meters, as well as the distance, were incorrectly displayed. You can change the fact that everything is displayed correctly when you drive the route in the opposite direction. The Karoo offers this option.

    0
    Comment actions Permalink
  • Avatar
    HesiOX

    Thanks both for your feedback, it directly shaped the new release, v3.0.48.

    Carsten – thanks for reporting the reversed-route problem. I found the cause: when a route is ridden in the opposite direction, the app treated the reversed route as a cropped version of the original. That shifted the distances and kept the old elevation profile and climbs, so the remaining km, ascent and distance were wrong. The app now detects the reversed route and resets everything. I haven't been able to test it on a real ride yet, so please try it with the "ride in opposite direction" option and tell me if anything still looks off.

    David – thanks for sharing your test version and the detailed README. I installed it on my Karoo and went through it carefully. Really nice work, especially the settings panel. I only had your APK and README, not the source, so I reimplemented some of your ideas from your description, not copied, and details may differ:

    • Extra Karoo header stats, with and without a route, showing -- when there is no data.
    • Optional whole-number gradient labels, off by default.
    • Optional Wahoo-inspired gradient colours, off by default. I picked the exact colour values myself.
    • Settings reorganised into collapsible groups per tab, styled after yours (coloured cards with icon, summary and arrow), in all six languages.

    I did not add your vertical fitting, because 3.0.45 already has an automatic fit with similar behaviour. I also left out the faster turn detection and the junction / road-end markers, as they need more real-road testing first. Please let me know how those go. If you can share the source or a diff, I'm happy to look at anything else worth merging.

    Download: https://github.com/DAVOE75/AltGraph/releases/tag/v3.0.48

    Thanks again, and ride safe!

    0
    Comment actions Permalink
  • Avatar
    David Garcia

    Glad you found some of the stuff valuable and implemented in the extension :-)

    I've done a bit more work which I will share with you together with the source. I just need to do more road testing around some of the unpolished road detection logic. I may use Fable 5.2 to give me a hand with it. I'll get back to you once I am happy with it.
    By the way, I ride with your extension and this other version side by side so can compare logics and refine the one which works best for Ireland so may not be the best for other locations.

    0
    Comment actions Permalink

Please sign in to leave a comment.