1. Stuck, Having problems with creating your mod? Let us help you: Mod Support

Using bicycle sensors (cadence, speed, HR)

Discussion in 'Utilities and programming' started by fufsgfen, Feb 9, 2019.

  1. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    5,847
    Way over my head, but reading these things tells me that I can get sensor readings to computer:
    https://www.thisisant.com/developer/
    http://www.chrispanza.com/rouleur/ant
    https://github.com/missyb/ANT_Project#start-of-content
    https://danielwertheim.se/visualisi...g-a-hue-lamp-and-a-heart-rate-sensor-and-net/

    Then I could do whatever I want with that data, for example use data to set values on virtual device axis for example, somehow? Then using that virtual device as input device of BeamNG, might work?

    So HR could affect torque for example, going too high reduces torque rapidly, pedaling could be engine rpm and speed vs cadence could give gear ratio.

    Steering is quite simple to accomplish using potentiometer so that front wheel turns disc and you get steering angle from there.

    Naturally some sort of turbo trainer is needed.

    In theory it should be possible to create much more interesting exercising when you would push yourself to limit when driving in BeamNG.

    So that is just a theory, I doubt I will have capability to make it work really, but though I post some references and idea if there are sometime some other equally crazy, but more capable person wanting to seek such paths.

    Maybe someone can come up with even more ideas, but I just think such setup would be kinda awesome.
    --- Post updated ---
    Oh yes, there actually has been / has something of such in existence:
    https://en.wikipedia.org/wiki/Gamebike
     
    • Informative Informative x 1
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice