dmwnz / simcycling Goto Github PK
View Code? Open in Web Editor NEWUse your bike and your home trainer as a controller in racing simulation games.
License: MIT License
Use your bike and your home trainer as a controller in racing simulation games.
License: MIT License
Objective : be able to use workout files from https://app.trainerday.com/workouts/
FTP included in file, watts are absolute
[COURSE HEADER]
VERSION = 2
UNITS = ENGLISH
DESCRIPTION = Ejercicio con 5 series de 3', en las que realizamos un sprint de 15" a tope, mas una pirĂ¡mide.
FILE NAME = Pirmide 1h - ergdb
FTP = 250
MINUTES WATTS
[END COURSE HEADER]
[COURSE DATA]
0.00 138
5.00 188
5.00 188
15.00 225
15.00 225
20.00 225
20.00 375
20.25 375
...
58.00 188
58.00 138
63.00 138
[END COURSE DATA]
Like ERG but FTP not included in file, watts are relative to FTP (needs to be set in configuration file)
[COURSE HEADER]
VERSION = 2
UNITS = ENGLISH
DESCRIPTION = Ejercicio con 5 series de 3', en las que realizamos un sprint de 15" a tope, mas una pirĂ¡mide.
FILE NAME = Pirmide 1h - ergdb
MINUTES PERCENT
[END COURSE HEADER]
[COURSE DATA]
0.00 55
5.00 75
5.00 75
15.00 90
15.00 90
20.00 90
20.00 150
20.25 150
...
58.00 75
58.00 55
63.00 55
[END COURSE DATA]
XML Zwift workout format. Can include continuous ramps (Ramp, CoolDown) & cadence
<workout_file>
<author></author>
<name>Pirmide 1h - ergdb</name>
<description>Ejercicio con 5 series de 3', en las que realizamos un sprint de 15" a tope, mas una pirĂ¡mide.</description>
<sportType>bike</sportType>
<tags></tags>
<workout>
<Ramp Duration="300" PowerLow="0.55" PowerHigh="0.75"/>
<Ramp Duration="600" PowerLow="0.75" PowerHigh="0.9"/>
<SteadyState Duration="300" Power="0.9"/>
<SteadyState Duration="15" Power="1.5"/>
<SteadyState Duration="165" Power="0.9"/>
<SteadyState Duration="15" Power="1.5"/>
<SteadyState Duration="165" Power="0.9"/>
<SteadyState Duration="15" Power="1.5"/>
...
<SteadyState Duration="60" Power="0.75"/>
<SteadyState Duration="300" Power="0.75" Cadence="60"/>
<CoolDown Duration="240" PowerLow="0.4" PowerHigh="0.31"/>
</workout>
</workout_file>
As soon as I discovered the existence of this brilliant mod I wanted to give it a try. Unfortunately, it seems broken. As reported earlier, the dashboard shows that trainer data is picked up correctly (W, cadence, etc.) but the car remains stationary. I used the supplied controller template .ini files to ensure the mapping to vjoy is correct. I tried installing older versions of Vjoy but to no avail.
@TimoWintz @dmwnz do you have an idea what might be causing the issue? 🙏
Watts and km/h registering and vjoy binding seems fine but car is not moving. Getting this error in DOS:
"Failed to write record.Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index"
Are there any tips to solve this. Many thanks in advance and appreciate the great work you have done here!
Great project you have made! 😄
I have found because the GTABikeV
So, this mod can work with BLE sensors?
Hello, I love this mod, it is a great application for riding on circuits and roads around the world. I have a problem, everything works fine except the turn, the car goes in zigzag. I saw that this person solved it,
https://www.racedepartment.com/threads/simcycling-for-assetto-corsa.182783/post-3266644
but I don't understand how he did it. Can you help/explain the steps to follow to create a new vjoy 2 and how to modify the files and settings so that it works or if you can send me the already modified files. Thanks for your answer.
Then I have also tried using the Monect PC Remote application for the turn, but I can't get it to be detected by the assetto corsa.
Thanks for your answer
Cadence HRM both working. As I don't have a power sensor is there a setting for the the ANT speed sensor to be translated into approximated power so I can get moving?
Many thanks for the great work!
Looks like I've got a problem between SimCylcing and VJoy. Car won't move, even after following each of the suggestions in the FAQ. Inside the terminal application of SimCycling, whenever I click on "Start" in-game, I get the following text:
`VJD_STAT_FREE
vJoy Device 1 is free
Acquired: vJoy device number 1.
Init Ac
AC Is running : False
Cadence sensor Found ! (%i)
Track = pk_gunsaitouge_enhanced, Config =
Found AC :
Failed to write record.Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Failed to write record.Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Failed to write record.Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Power found ! (63197)
Failed to write record.Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Failed to write record.Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Resetting speed.`
On the VJoy monitor and feeder nothing appears to change in values whenever I pedal, even if the HUD of SimCycling inside AC does measure my performance.
I've also tried playing with and without Content Manager.
My current VJoy version is v2.2.1.1 by GitHub user "njz3". I've also tried with the one downloadble on SourceForge, but it's the same.
Do you know what the problem might be?
App is slow / buggy when a workout is loaded, seemingly due to poor management of concurrent access to AntManagerState.
Todo : add a flag to notify AC Python App when it is OK / not OK to read from shared memory.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.