element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
element14 presents
  • Challenges & Projects
  • More
element14 presents
element14 presents Forum How should my runners run??
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join element14 presents to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Locked Locked
  • Replies 17 replies
  • Subscribers 108 subscribers
  • Views 1185 views
  • Users 0 members are here
  • strava
  • element14 presents
  • arduino
Related
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How should my runners run??

lorrainbow
lorrainbow over 2 years ago

My next element14 presents video uses an arduino to move runners along a track, according to their strava data. The first runner to reach 100km wins!

There's a short video on my twitter: 

And runner 1 takes it!!
This project uses an @arduino WiFi to download @Strava data from 4 friends. It moves them along a track depending on how far they've run. I need to seal the box and decorate the track before it's ready for @E14Community #element14presents pic.twitter.com/koLAfJV7eM

— Lorraine Underwood (@LMcUnderwood) May 6, 2023

The questions I have for my lovely element14 community is how should I move the runners?

At the moment they're running all of their kilometres at once, one at a time. e.g. runner1 runs their total 50km, runner2 runs their total 75km, etc.

We could make them all run at once. 

We could make them run each run at a time, e.g. runner1 runs their first run 5km, runner2 runs their first run 10km and so on and then loop back to runner1 and their 2nd run. OR finally all runners run run1, then all runners run run2, etc. 

EDIT: To clarify, it's not a live track. There's a button and when it's pressed all the runners reverse to the start line then start running. Otherwise I'd miss my runner moving!

  • Cancel
  • beacon_dave
    beacon_dave over 2 years ago

    I think it depends on how you are planning on displaying this ?

    I would have expected for the runners to advance as their data is updated on Strava.

    However you would rarely see any animation that way just who is currently in the lead the next time you looked.

    But you could have a user button that does an action replay whereby the runners are temporarily reset back to the start line and it replays the activity in the order that it happened,  from zero to the current position.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • baldengineer
    baldengineer over 2 years ago

    A total then B total is probably more accurate.

    However, All running simultaneously per run would give it more of a race look.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • beacon_dave
    beacon_dave over 2 years ago in reply to beacon_dave

    You're not planning on becoming one of those 'high speed types' that lap me ten times on the campus perimeter road and make me feel bad about myself are you ?

    (I'll be the one in the fifth lane - no need bothering with a motor on that one, just glue me to the start position...)

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • lorrainbow
    lorrainbow over 2 years ago in reply to beacon_dave

    Exactly how I plan to do it, have a reset to start line. I've updated the post to clarify

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • beacon_dave
    beacon_dave over 2 years ago in reply to lorrainbow

    I think an option to replay in sequence of actual activity then.

    Runner 1 might complete 3 runs before runner 2 completes their first run. So replay would show:

    • Runner 1, Run 1
    • Runner 1, Run 2
    • Runner 1, Run 3
    • Runner 2, Run 1
    • Runner 1, Run 4
    • Runner 2, Run 2

    with a slight pause between them to indicate that Runner 1 did three runs before Runner 2 did their first run.

    If runners 3 and 4 go out for a run together, then they should replay together.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • dougw
    dougw over 2 years ago

    Very nice looking machine so far - smooth.

    I like option 2 - all run together to their current totals, even if they are different. This allows the whole race to be re-run to the latest data every time you reset and it will always look like a race.

    If you have advancement grid lines on the track, you can shoot the video from an angle so all runners are visible even when running neck-a-neck, and you would still be able to tell relative position.

    Will real runners be able to log in to the camera and reset/rerun the race?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • beacon_dave
    beacon_dave over 2 years ago

    I think you may have been spending too much time in Blackpool recently Slight smile

    You don't have permission to edit metadata of this video.
    Edit media
    x
    image
    Upload Preview
    image

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • beacon_dave
    beacon_dave over 2 years ago

    Are you going to make the design modular such that it is easily scalable ?

    You may have 4 runners to start with but say a couple more runners want to join in.

    Can you remove a side, slot in two additional track modules, daisy chain them onto the existing bus, then replace the side; so as to now have a 6 runner simulation ?

    Could be fun for STEM type activities where each student gets to build their own track section and then they are combined together into a larger project. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • dougw
    dougw over 2 years ago

    If you want to get really fancy, you could equate the time your avatar runners take to run the course (running continuously) to the total time the total race period is expected to take and have each avatar start each leg at a time proportionately equivalent to the time they actually reported running the leg. For example if the race period is 10 days and the avatars can run their course in 10 seconds; then each day or runner time corresponds to 1 second of avatar time. If a runner starts their first leg half a day after the race starts, then their avatar would start its first leg a half second after the avatar race start. If their second run starts 2 days into the race period, then the avatar's second leg would start 2 seconds into the avatar race. You might want to scale it so there is a minimum of 1 second between legs, because real runners will also have that 1 day gap. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • beacon_dave
    beacon_dave over 2 years ago in reply to dougw

    If you are only running an hour a day that would mean the avatar would cover their distance for the day in 1/24 second. Although given that no-one is likely to be running >12h in one day, you could perhaps safely add 1/2 second to the avatar motion. 

    Apparently real runners use cars these days Slight smile

    https://www.bbc.co.uk/news/uk-scotland-65322631

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube