Hi all,
I’m a new SimpleFOC user and currently working on a project to make a mini robotic arm that would have two encoders:
- Input: Incremental Optical - Quadrature
- Output: Absolute Magnetic - SPI
The goal is to use the output encoder to get better resolution. The input side is what SimpleFOC would use in the feedback loop to control the position. I already have standalone code for the sensors to work without SimpleFOC. I’m wondering if there is a way to import this code to use instead of the built in Quadrature and SPI classes and how I should go about correctly linking the sensor. Is this something that can be simple to implement? At least for the magnetic encoder, reading and writing the registers is different from the default settings in SimpleFOC and I’d feel more comfortable using my existing code. Does anyone have any thoughts on where to go with this?