Code Monkey home page Code Monkey logo

Comments (12)

WouterJD avatar WouterJD commented on August 10, 2024

I try to understand what you want to achieve, but cannot figure it out.
To understand, please explain what a "Raspberry Pi Zero" is.

I created wiki page Fortius ANT Configurations and perhaps that gives a hint to draw what configuration you want to achieve.

The 4th configuration (with the independant HRM strap) is an option I'm building these days.
The -H flag makes FortiusANT to listen to an ANT+ master device (a heart rate monitor strap) to pick up the heartrate when the Tacx Fortius does not supply it, in the case you would use a new ANT+ HRM that is not recognized by the Tacx Fortius. This is not essential, but makes the heartbeat display work again.

In case somebody would use a bicycle with a power-meter and cadence sensor, need would arise for a -P and -C flag, so that FortiusANT would pick it up (listen to ANT+ master devices) and send it as one integrated ANT+ FE-C master device to the training software (Trainer Road, Zwift).
This would only be usefull, if you have a trainer brake without power/cadence sensor, integrate them with the independant devices as one ANT+ FE-C device.

As stated above, an explanation what you want to achieve would be helpfull; To answer your question, I think that adding options to GetTrainer() would NOT be usefull, since that is the USB-interface to Tacx Fortius

from fortiusant.

Alanimus avatar Alanimus commented on August 10, 2024

from fortiusant.

WouterJD avatar WouterJD commented on August 10, 2024

What device do you connect?

from fortiusant.

WouterJD avatar WouterJD commented on August 10, 2024

Also, are you on Strava? Would like to see FortiusANT results :-)

from fortiusant.

mtbiker22 avatar mtbiker22 commented on August 10, 2024

Raspberry Pi Zero (5 euro) is a open source single board computer running Linux with a very small form factor.

from fortiusant.

WouterJD avatar WouterJD commented on August 10, 2024

Raspberry Pi Zero (5 euro) is a open source single board computer running Linux with a very small form factor.
Sure, but I'm curious how this relates to FortiusANT and/or Controllable Fitness Equipment :-)

from fortiusant.

mtbiker22 avatar mtbiker22 commented on August 10, 2024

It can be a cheap platform for ‘converting’ the USB to ANT+ connection. It could run headless and be ‘integrated’

from fortiusant.

Alanimus avatar Alanimus commented on August 10, 2024

from fortiusant.

WouterJD avatar WouterJD commented on August 10, 2024

I guessed something like this was going on.

New to ANT+? I hope you are familiar with www.thisisant.com and
D00001163_-_ANT+Device_Profile-_Bicycle_Speed_and_Cadence_2.1.pdf?
It took me a while to get from the antifier source to that documentation, so ask the dumb question.

If you want to use FortiusANT and read data from cadense/speed sensor:

  • in antDongle.py add channel_CSC as a unique channel ID
  • in FortiusAnt.py Tacx2Dongle()
    -- open a slave channel to the sensor
    -- expect messages from the sensor (add elif Channel == ant.channel_CSC:) where all incoming messages are handled
    -- handle message 0 (default page) with a msgUnpage0_CombinedSpeedCadence(info) function according the information at page 44 returning BikeCadenceEventTime, CumulativeCadenceRevolutionCount, BikeSpeedEventTime, CumulativeSpeedRevolutionCount

I have created an ExplorANT program to check what dongles are in my computer, what devices are on the network and what happens on the devices. I will publish shortly, after doing some final tests.
I expect this to be helpful for you since it provides a template to create slave devices, listening to master devices; where the BikeCadenceSensor is the one to be implemented by you.

Like to hear from you and your achievements.

from fortiusant.

WouterJD avatar WouterJD commented on August 10, 2024

Alana, new version upload with SCS code example added. Check antDongle.py and FortiusANT.py for "scs". Tested with https://www.strava.com/activities/3088842976

from fortiusant.

WouterJD avatar WouterJD commented on August 10, 2024

If more info needed, please reopen the issue or create a new one.

from fortiusant.

WouterJD avatar WouterJD commented on August 10, 2024

@Alanimus you will like to see the RPI developments!

from fortiusant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.