hey James I’m having the same problem and I’m trying to have my ODrive power hoverboard motors too, what did you do to switch to the devel firmware? Or I guess, what does it mean to be in the devel branch?
Hi,
Today we recently released a new version of the firmware, and with that comes support for hall effect feedback, hoverboard motors, and pwm input: they were not officially supported before.
You can check the hoverboard guide in the documentation.
You will need to upgrade your firmware to fw-v0.4.2, instructions here.
So i have upgraded firmware to .0.4.2 i run through the setup discussed “hoverboard guide” however i can not execute command " ``` odrv0.axis0.encoder.config.mode = ENCODER_MODE_HALL it chucks following error…
In [2]: odrvO.axis0.encoder.config.mode=ENCODER_MODE_HALL
I am having the same issue. I am have updated to version 4.2 of the firmware and I have tried upgrading Odrivetool. I am running a current version of Anaconda (per the getting started guide). Odrivetool is at version 0.4.1. Am I not on the current version of Odrivetool?
odrivetool version should match the firmware version - they are released concurrently. In particular, odrivetool 4.1 doesn’t know what the numeric value of ENCODER_MODE_HALL is, but 4.2 will.
Best I can suggest is uninstall/reinstall odrivetool and see what happens. Sorry I can’t be of more help. Hopefully someone more knowledgeable will be along soon.
Also, if you download and extract the source code from github, you can run odrivetool from the tools folder and it seems to give you the up to date version. I haven’t tested if this creates any other problems. Previous having pip installed odrive should have sorted the dependencies.
My sincere apologies, @Martin_Conway is absolutely right, I forgot to update the PyPi with the latest version when making the release. I have now updated it.
This command should now upgrade odrivetool to v0.4.2: pip install odrive --upgrade --no-cache-dir