Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

You are here: Forum Home → ANT+ Forums → ANT+ Bike Power → Thread

   

Varying Bike Power & HR data with Simulant

Rank

Total Posts: 1

Joined 2019-03-07

PM

Noob question, but is it possible to vary the power, heart-rate and cadence output data readings when using the simulant+ app?
For instance, instead of having the power at a constant of, say, 200watts, is it possible to vary it between 180-200w?
     
RankRankRankRank

Total Posts: 370

Joined 2012-06-27

PM

For the heart rate profile there is a script "hr_SensorSweep.py", and for bike power (power-only) there is "bpwr_SensorSweepInstantaneousPower.py". Other similar scripts can be found in the Scripts folder.

You can use these scripts as an example, alongside "SimulANT+ Scripting Interface.chm", to build a script that implements the particular sweep you desire.      

Signature

Ian Haigh

Rank

Total Posts: 5

Joined 2019-12-29

PM

haighi - 06 August 2019 11:21 AM
For the heart rate profile there is a script "hr_SensorSweep.py", and for bike power (power-only) there is "bpwr_SensorSweepInstantaneousPower.py". Other similar scripts can be found in the Scripts folder.

You can use these scripts as an example, alongside "SimulANT+ Scripting Interface.chm", to build a script that implements the particular sweep you desire.


How do you build a custom script? Or edit a existing one?

/Z      
RankRankRankRank

Total Posts: 370

Joined 2012-06-27

PM

The scripts are stored relative to the exe at CertScripts/*PROFILE NAME*.

You can create your own script by copying one in that folder and renaming. You can use the "Load..." button to select a script that isn't in the drop down list.

Details for writing scripts are in the "SimulANT+ Scripting Interface.chm" file.

Ian      

Signature

Ian Haigh

Rank

Total Posts: 5

Joined 2019-12-29

PM

haighi - 27 January 2020 04:32 PM
The scripts are stored relative to the exe at CertScripts/*PROFILE NAME*.

You can create your own script by copying one in that folder and renaming. You can use the "Load..." button to select a script that isn't in the drop down list.

Details for writing scripts are in the "SimulANT+ Scripting Interface.chm" file.

Ian


Found it. But if i set it too for example 150-320watt over 200sec duration. The power curve Will look like its computermade. Is it possible to make the script randomize poweroutput f/e 250-310watt Every 3 seconds?      
Rank

Total Posts: 7

Joined 2019-10-15

PM

Zraight - 15 February 2020 02:16 PM


Found it. But if i set it too for example 150-320watt over 200sec duration. The power curve Will look like its computermade. Is it possible to make the script randomize poweroutput f/e 250-310watt Every 3 seconds?


its likely not, but reading the above does make it seem like fudging zwift data or some sort :-p