Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Problems with Bullseye32 (Installation broken ?) #407

Closed
decodeais opened this issue Dec 14, 2022 · 7 comments
Closed

Installation Problems with Bullseye32 (Installation broken ?) #407

decodeais opened this issue Dec 14, 2022 · 7 comments
Labels
bug Something isn't working invalid This doesn't seem right Raspberry Issues related to Raspberry under investigation Being studied for implementation in next version

Comments

@decodeais
Copy link

I wanted to test your new versions.So I thought it would be a good occasion to test your install scripts with the Bullseye release, but I had to do a lot of changes. The greatest problem was the new wheel for wxPython. I put it to
Google Drive and changed the installation Path.
The second problem for me was the broken RollResistance calibration (-c) option on all branches.
I tried to fix it, but then I found out the confusion starts a little deeper.
Tested to change:
self.CalibrateRR = float(self.args.CalibrateRR.replace(',', '.'))
to:
self.CalibrateRR = float(self.args.CalibrateRR.replace(",", "."))
but then I got a Typemismatch instead.
I would like to send you the branch with the Installation changes.
Shall I make a pull request ?

@decodeais
Copy link
Author

If somebody has Problems too, here is my version with the changes for Bullseye32. May be it can help.
Branch from FortiusMaster

@decodeais
Copy link
Author

decodeais commented Dec 19, 2022

To get a full working version I took a Backup from my Computer with:
Bullseye32 OS
Bluetooth realized with node
Working pathtthrough for ANT+ heart rate to Bluetooth.
...

I put it on a googledrive to help other people who have the same problem : Raspi image with preinstalled FortiusAnt.
The size of compressed selfexpanding image is only 2.9GB.
User is Pi
Password raspberry
If you have a different ANT+ stick you have to change the USB ID-number.
You can start FortiusAnt with the usual start menu.

Here I will stop with the monolog and wait for the response.

@WouterJD WouterJD added the question Further information is requested label Dec 28, 2022
@WouterJD
Copy link
Owner

self.CalibrateRR = float(self.args.CalibrateRR.replace(',', '.'))


        if self.args.CalibrateRR != None:
            try:
                self.CalibrateRR = float(self.args.CalibrateRR.replace(',', '.'))
            except:
                logfile.Console('Command line error; -c incorrect calibration of Rolling Resistance=%s' % self.args.CalibrateRR)


Please explain what the problem is with this statement.
It first replaces comma's in the string with dots and then converts to float
If this fails for whatever reason, an error is given

Please add the errors that are given

@decodeais
Copy link
Author

The ' has to be " in the replace command, I think. But the software is waiting for a integer and so it does not work at all. Please try to enter this parameter.
If you succeed send me a command line example in your response.

@WouterJD WouterJD added bug Something isn't working invalid This doesn't seem right under investigation Being studied for implementation in next version and removed question Further information is requested labels Mar 7, 2023
@WouterJD
Copy link
Owner

WouterJD commented Mar 7, 2023

I think this is an inconsistency indeed and is subject for further investigation.

-c is to calibrate the RollingResistance
A value from 0...100 is allowed
The value is converted to float
The RollingResistance is a figure of 0.004 default

I leave that for a future moment for now.

@WouterJD
Copy link
Owner

WouterJD commented Mar 7, 2023

Is there a specific reason you need to adjust the RR?

@WouterJD WouterJD added the Raspberry Issues related to Raspberry label Mar 7, 2023
@WouterJD
Copy link
Owner

I have installed some rpi's tonight and things seem to work well.
If problems persist, please let me know and we can reopen the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right Raspberry Issues related to Raspberry under investigation Being studied for implementation in next version
Projects
None yet
Development

No branches or pull requests

2 participants