• Dave@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    1 year ago

    The above outputs are achieved by solving energy balance equations using the immense cloud computational power provided by AWS.

    if tail_light_last_on_secs_ago < 20:
        mode = recharge
    elif tail_light_last_on_secs_ago > 60:
        mode = deploying
    else:
        mode = neutral