Hi, I am a student using the OSL for research and been able to preform the basic motion test (homing joints, setting desired angles, etc.) but when I try using the compiled controller or any usage of the Loadcell/ADC sensors I am met with this error
First there is a way to format the code (Ctrl+E) which makes it easier to read
The errors means that you tried to open a specific spi bus (defined by the self._spi_bus and the self._spi_cs) but it did not find it.
First check your configuration (sudo raspi-config) and make sure that the spi is enabled.
You can also see if there is error about the spi with dmesg | grep spi.
You will need to fix this to have a correctly working FSM.
Thank you so much for your response, it pointed me in the right direction
By following your directions I was able to get past the Loadcell/ADC issue and have been looking into the SPI of my device. Unfortunately I have ran into another issue (Error num 5 - Input Output Error - the connection to the ankle is failing). The leg I am using uses I2C bus 1 and should have register 66 and 69 running for the knee and ankle respectively but it is only detecting register 66. I think that this is an electrical issue and am currently checking the wiring of the ankle for issues. Let me know if there is anything that I should also be considering.
I suggest that if you encounter a problem which is not directly related to the subject of your post, you create a new post. It makes it easier for other people to help you but also to fix their own problems. So instead of replying to this post I would suggest you to create a new post with all the information and the reply to this post.
What are the devices connected to your PI ? How are they connected ?