EFeru / hoverboard-firmware-hack-FOC

With Field Oriented Control (FOC)
GNU General Public License v3.0
1.12k stars 932 forks source link

Separate motor speed control & position approximation #371

Closed skywa04885 closed 1 year ago

skywa04885 commented 1 year ago

Variant

HOVERBOARD

Control type

Sinusoidale

Control mode

Speed

Description

I want to control both motors separately and change their speeds / read back their position data (sort-off approximated by the HAL sensors in the wheels), before analyzing the entire project, I would like to know if this is possible. In this case I want to control both wheels separately using an Arduino, and check their position (approximation by HAL sensor). Is this possible? Steering won't do the thing, I need full, separate control.

Candas1 commented 1 year ago

Hi, read the wiki

skywa04885 commented 1 year ago

Hi, read the wiki

I've read the wiki and saw nothing about separate motor control, I only found that in the feedback of UART mode there is the data from both the motors.

Candas1 commented 1 year ago

Look up tank steering

skywa04885 commented 1 year ago

Look up tank steering

Okay yes, I've found that. But how can I get the HAL sensor feedback?

Candas1 commented 1 year ago

It not available with this firmware unless you can code There is a fork doing that it's linked in the wiki