Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Works perfectly for around 2 minutes. Then it spins randomly. #287

Closed
AmExptl opened this issue Jul 2, 2023 · 1 comment
Closed

Works perfectly for around 2 minutes. Then it spins randomly. #287

AmExptl opened this issue Jul 2, 2023 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@AmExptl
Copy link

AmExptl commented Jul 2, 2023

Works perfectly open loop (velocity) both separately and together (both motor control and sensor readings). But, in closed loop (velocity) it only works perfectly for about 2 and half minutes. Then it spins randomly. This happens every single time. Starts perfectly after reset. Using the example code for Closed Loop Velocity. Used ...MagneticSensorSPI sensor = MagneticSensorSPI(10, 14, 0x3FFF); What am I doing wrong ???

Describe the hardware setup

  • SimpleFoc mini
  • Gimbal motor 13.7 ohm 11 pole pairs
  • Arduino Uno
  • AS5048A (SPI) magnetic sensor.
  • Current sensing used? No
  • Arduino IDE

Tried the Getting started guide? - if applicable
Completed

@runger1101001
Copy link
Member

Hey, this has been traced to a bug in the velocity function, which has been fixed on the dev branch, and will be part of the next release.

@runger1101001 runger1101001 added this to the 2.3.1_Release milestone Jul 26, 2023
@runger1101001 runger1101001 added bug Something isn't working and removed possible bug labels Jul 26, 2023
@runger1101001 runger1101001 self-assigned this Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants