Headwind extension

Comments

37 comments

  • Avatar
    timklge

    Hi,

    I've pushed a small update to version `1.6.3`. This adds a compass data field, a tab with an embedded windy.com map and the option to use the karoo's built-in magnetometer to obtain the current direction instead of GPS.

    By default, the app will continue to determine the current direction based on GPS (as done by the Karoo itself). Magnetometer usage is disabled by default. If you enable magnetometer usage in the app settings, the direction should update even if you are rotating on the spot without moving. I added this as an experiment because I was curious how well this works and how accurate it is; there's probably a reason why Hammerhead doesn't use it in the ride app itself (increased battery usage?), so it is turned off by default.

    The windy data tab added to the main menu shows a wind overview map for your current location by default. It is only available if you are connected to Wifi (or use a K2 with SIM inserted). Originally, I wanted to add a rain / wind radar overlay to the main karoo map, but this is not feasible because of the low bandwidth of the bluetooth bridge and there is no way to draw overlays onto the map using the current SDK. All the windy.com tab does is open an embedded web view. I like their visualizations, so I added it because it was easy to do.

    If you click on the "Headwind" item in the extension library, the Karoo should show an "Update" button. 

    Full Changelog: https://github.com/timklge/karoo-headwind/releases/tag/1.6.3

    0
    Comment actions Permalink
  • Avatar
    Johnny Pugh

    I added the compass datafield to my map page and enabled the magnetometer. On my ride the compass needle was pointing south instead of north for the first 4-5 miles. Then it switched to pointing north, but it soon drifted to pointing east! When I switched off the magnetometer, the compass needle froze in the pointing east position. 

    0
    Comment actions Permalink
  • Avatar
    timklge

    Hm thats unfortunate, I had tested it on some rides with rather good results. I guess the magnetometer stuff is an interesting experiment, but will not provide much value due to the lower accuracy when moving. The compass should fall back to the gps bearing when the magnetometer feature is disabled, I'll check if I messed up the fallback.

    It might be worthwhile to use the magnetometer when standing still and rely on GPS bearing when moving, but I think I'll just remove the magnetometer feature if it doesn't prove useful.

    You can recalibrate the magnetometer by making an 8 gesture with the karoo. Are you using a K2 or a Karoo 3?

    0
    Comment actions Permalink
  • Avatar
    Johnny Pugh

    Hi Tim,

    I have a Karoo 3. I will try it again after doing the figure 8 calibration.

    Johnny

    0
    Comment actions Permalink
  • Avatar
    Christian Renner

    Hi @timklge, I wanted to thank you for this extension. Second of your's I am using (and it's only four in total)! :-)

    I have a minor request regarding the graphs (temperature, precipitation, wind). Would it be possible to align them (in particular the y-axis x-positions)? I have all three graphs on one page, but the graphs are somewhat misaligned, because you position and scale them depending on the tick label sizes (widths). Personally, I would prefer (since it is more eye-pleasing), to have all graphs horizontally aligned. Any chance you could do this?

    0
    Comment actions Permalink
  • Avatar
    timklge

    Sure, will include it in the next update

    0
    Comment actions Permalink
  • Avatar
    Christian Renner

    Awesome, @timklge. I'd also suggest to match the lengths of the x-axis, so that all data lines up (vs. time/km). :-)

    0
    Comment actions Permalink

Please sign in to leave a comment.