tommetge / trixter

Platform to turn the Trixter Dream Bike into a real training platform
MIT License
0 stars 0 forks source link

Xbike with zwift. #1

Open zeon98 opened 3 years ago

zeon98 commented 3 years ago

Do you still have your bike, I have one and want to use it with zwift but have no idea where to even start.

chungcu201 commented 3 years ago

Quite a coincident. I had just picked up 1 as well. Though it's kinda broken I can't turn. Looking into replacing the old bulky desktop with my leftover surface 1 but can find the original setup file of the software. Looking for more info here.

zeon98 commented 3 years ago

This software does still work with the raspberry pi. I had an issue with the port not picking up the correct one. I solved this by assigning an alias to the ttyUSB0 and now works.

chandlermark commented 3 years ago

Quite a coincident. I had just picked up 1 as well. Though it's kinda broken I can't turn. Looking into replacing the old bulky desktop with my leftover surface 1 but can find the original setup file of the software. Looking for more info here.

Hey @chungcu201 I may be able to help.

I've got an XDream, which was working great, but then the steering stopped responding. I tried all sorts - re-calibrating the bike, running the setup, reinstalling the software - nothing.

But then I found a file called main.txt

It has the option to set autosteering to 1.

Did that.

Now I can't steer the bike, but at least I can ride it without veering off to the left and it resetting, rendering it useless.

There were a few files called main.txt

It only worked when I changed the most recently modified one, that was called mainNN204.txt or some other random sequence.

Hope it helps!

chungcu201 commented 3 years ago

Thanks, I found an option to change the steering setting to fully assisted. Let me know if you want to see how it work I can do a recording.

On Tue, 13 Apr 2021 at 05:45, chandlermark @.***> wrote:

Quite a coincident. I had just picked up 1 as well. Though it's kinda broken I can't turn. Looking into replacing the old bulky desktop with my leftover surface 1 but can find the original setup file of the software. Looking for more info here.

Hey @chungcu201 https://github.com/chungcu201 I may be able to help.

I've got an XDream, which was working great, but then the steering stopped responding. I tried all sorts - re-calibrating the bike, running the setup, reinstalling the software - nothing.

But then I found a file called main.txt

It has the option to set autosteering to 1.

Did that.

Now I can't steer the bike, but at least I can ride it without veering off to the left and it resetting, rendering it useless.

There were a few files called main.txt

It only worked when I changed the most recently modified one, that was called mainNN204.txt or some other random sequence.

Hope it helps!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tommetge/trixter/issues/1#issuecomment-818087518, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS3MXKHKZL3QYQ5FK6OB7SDTINEUTANCNFSM4W6XJZ7A .

-- Best regard

Chung Nguyen

chandlermark commented 3 years ago

Thanks, I found an option to change the steering setting to fully assisted. Let me know if you want to see how it work I can do a recording. On Tue, 13 Apr 2021 at 05:45, chandlermark @.***> wrote: Quite a coincident. I had just picked up 1 as well. Though it's kinda broken I can't turn. Looking into replacing the old bulky desktop with my leftover surface 1 but can find the original setup file of the software. Looking for more info here. Hey @chungcu201 https://github.com/chungcu201 I may be able to help. I've got an XDream, which was working great, but then the steering stopped responding. I tried all sorts - re-calibrating the bike, running the setup, reinstalling the software - nothing. But then I found a file called main.txt It has the option to set autosteering to 1. Did that. Now I can't steer the bike, but at least I can ride it without veering off to the left and it resetting, rendering it useless. There were a few files called main.txt It only worked when I changed the most recently modified one, that was called mainNN204.txt or some other random sequence. Hope it helps! — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS3MXKHKZL3QYQ5FK6OB7SDTINEUTANCNFSM4W6XJZ7A . -- Best regard Chung Nguyen

No, I'm good thanks, I've got it working without having to steer.

Have you managed to get any other software working on it?

I know that Trrixter brought out a v2, which utilized a touch-screen display, and used actual video of cycling, which looked cool.

I wonder if you could upgrade the software to this, despite not using a touch-screen system...

drmason789 commented 2 years ago

I've had success at getting v3.50.0.3 of the X-Dream software from the v1 bike working in Windows 10. The only unsolved problem I have is that the "attract" wmv files and the end-of-tier wmv files play with blank blue video in the simulation, while playing fine in in media players outside the app. If I use dgVoodoo, the videos play fine but other things break.

Do let me know if you need any help.

zeon98 commented 2 years ago

I've had success at getting v3.50.0.3 of the X-Dream software from the v1 bike working in Windows 10. The only unsolved problem I have is that the "attract" wmv files and the end-of-tier wmv files play with blank blue video in the simulation, while playing fine in in media players outside the app. If I use dgVoodoo, the videos play fine but other things break.

Do let me know if you need any help.

I'd love to try and upgrade to v3. If you can help me out that would be great. What changes are there in v3?

drmason789 commented 2 years ago

@chungcu201 and @chandlermark did you get your steering fixed? It may need a new potentiometer (search for "trixter potentiometer" on ebay (UK)) or a new controller PCB (search "ARE YOUR BUTTONS NOT WORKING TRIXTER XDREAM HEAD PCB").

There are different versions of the controller and they calibrate in different ways.

Start the console application that shows the telemetry from the bike Confirm that it is showing telemetry Power the bike off and leave it for 30s to drain everything Holding the left gear up button, turn the power on Let the left gear up button go. If the console stays black { lean the handlebar all the way left, then all the way right, then all the way left, then release to center. press the left gear up button } else { power off the bike for 30s holding the left gear up button, power the bike on and don't let go of the left gear up button lean the handlebar all the way left, then all the way right, then all the way left, then release to center. release the left gear up button }

Now the console app should show telemetry

drmason789 commented 2 years ago

I've even had the software running on a tiny ACEPC-T6 but it's a little jerky in some complicated bits of some tracks. Running it in a window using DxWnd, I can run the Task Manager CPU usage graph alongside, and see that the little 4-core computer isn't actually being stressed much - the software seems to use only 2 cores. Unfortunate.

drmason789 commented 2 years ago

@zeon98 I've not used 2.x (for V1 bike) since about 2013 when I used these bikes at Virgin Active so I'm not sure, but from what I've read, they switched to using a Postgres server for the user data. The one I bought recently came with v3.5.0.3. It looks much the same. AFAIK 3.50.0.3 is the latest version for the V1 bike.

drmason789 commented 2 years ago

I've established a private repo for x-bike / x-dream discussion and invited all of you. I intend to have more public discussion and make my work on the topic (in another repo) public once I've contemplated it some more.

drmason789 commented 2 years ago

I've now dumped the majority of my knowledge of getting the X-Dream software off the Trixter PC and running on another in discussions in the aforementioned private repo.

I intend to make the content public in another repo by the end of this month.

chungcu201 commented 2 years ago

Hey @drmason789, I changed the setting to auto steering and happy with it.

I have been able to run the original software off my Surface pro 4 in window mode (using DxWind too). Issue: no buttons were working. I then switch the USB cable back to the original Dell desktop but it didn't connect either. Try to reset multiple times, plug the USB cable to different USB port to no avail. Got frustrated and left it there for a month or so. Suddenly on a beautiful day it works. I decided not to mess with either the cable or the computer again and that's how I settled :)

chandlermark commented 2 years ago

I haven't been on mine for a while - it's running on Windows XP at the moment, I'm not sure what version it is.

I'd like to install it on another PC I have running Windows 7 - where can I get the drivers and software to hook the bike up to it? Any ideas?

drmason789 commented 2 years ago

Please see the discussions in my repository: trixter-xdream-bike.

Notably, this one: X-Dream on other hardware

drmason789 commented 1 year ago

I mentioned earlier that I had X-Dream working in Windows 10, but with blank blue videos. I now have a solution to that, and additionally instructions for running X-Dream in Linux, in the discussions in my repository: trixter-xdream-bike.

drmason789 commented 7 months ago

If you're willing to get a Raspberry Pi 4, check out a branch from a fork of a repository and build it yourself, then it is now possible to use your Trixter X-Dream bike in Zwift, both workout and simulation mode; and Rouvy.

Please join the PR at https://github.com/cagnulein/qdomyos-zwift/pull/899 if you're interested. I'm looking for testers, and can help you get set up.