You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it's because it was added as part of commit e4bf72f, but that commit didn't come with a version bump.
This is problematic, in that Foc has private fields, so cannot be constructed without a method, but when you search docs.rs for Foc and check return types, there is nothing, nor could I find a way to access one through a field of another struct.
The text was updated successfully, but these errors were encountered:
That is correct, see the last bit of my reply here #1 (comment). I'll be looking to make a new release soon which should have the Foc struct usable from user-facing code and with more robust PI controllers.
It's weird, but at time of writing,
foc::Foc::new
is not coming up: https://docs.rs/foc/latest/foc/struct.Foc.htmlI think it's because it was added as part of commit e4bf72f, but that commit didn't come with a version bump.
This is problematic, in that Foc has private fields, so cannot be constructed without a method, but when you search docs.rs for
Foc
and check return types, there is nothing, nor could I find a way to access one through a field of another struct.The text was updated successfully, but these errors were encountered: