BotConsole is a console application designed to demonstrate the capabilities of a simple ant+ powermeter bot. It is built using .NET Framework 4.8.1.
- Basic ant+ powermeter/cadence bot
- Random noise so that it doesn't look too obviously like a bot
- Joule/watt limits so that it doesn't exceed 20m power thresholds
- Simple drafting logic
- TT mode (where draft is ignored)
- .NET Framework 4.0 or .NET Framework 4.8.1
- Visual Studio
- You must have access to the wrapper dll and the corresponding ANT_Managed_Library. These are not my IP, so you'll need to go get them yourself and put them in the right spot before building.
- Clone the repository.
- Open the solution in Visual Studio.
- Build the solution to restore the necessary packages.
- Extract the ant+ libraries from thisisant.com to the correct location. I didn't include them in this project because it's not my code to share.
- Copy the wrapper dll to the correct location.
- Set the configuration values in the app.config file of the BotConsole project.
- Set the configuration values on the appsettings.json file of the ZwiftDataCollectionAgent.
- Run both applications.
- There are two console applications. ZwiftDataCollectionAgent.Console collects data from zwift and puts them in an sqlite database. BotConsole.Console is the bot that reads the data from the database and sends it to the ant+ powermeter. In the literal sense, the zwiftDataCollectionAgent isn't absolutely necessary, but provides the bot with information in game.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'). - Push to the branch (
git push origin feature-branch). - Create a new Pull Request.
- Hill detction
- Joule/watt limits so that it doesn't exceed 1m 5m and 10m power thresholds
- Simulated HRM
- Multiple rider support