Skip to content

merge #3

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

Merged
merged 61 commits into from
Jun 2, 2021
Merged

merge #3

merged 61 commits into from
Jun 2, 2021

Conversation

XieMaster
Copy link
Owner

No description provided.

runger1101001 and others added 30 commits March 6, 2021 00:46
This implementation has been tested with the AS5048a PWM output.  It follows an almost identical format to the existing MagneticSensorAnalog implementation.
adding MagneticSensorPWM implementation
Since there are no objections, and only the SAMD code is affected, I'm going to go ahead and merge this. Woohoo! SimpleFOC now supports SAMD51
fix compile problem on AVR due to SAMD header
random fixes related to current sensing
this is to use the enable pin on the DRV8316, which is actually a
driver_off pin, and therefore active-low for enabled state
this enables two things:
1. you can still see the sensors change and update in SimpleFOCStudio
even if you disable the motor. This is useful to determine sensor
accuracy etc.
2. you previously ran the risk of losing track of full rotations if the
motor was (e.g. manually) moved while disabled. With this change we
always track the sensor values and keep track of all rotations.
Avoid the need for a custom header file for ESP32 compilation.
runger1101001 and others added 29 commits May 5, 2021 01:09
SAME51 support (tested on Feather M4 CAN) and minor tweaks
The eol character is now configurable
The user can now actuvate echo feedback to see what he is typing
I also removed a duplication in two run() overload, while fixing what I think was a mistake by enforcing the use of the provided argument Stream& even if the ctor one is not null.
Lastly, I warn the user if \n is configured but \r is detected (only in user friendly mode)
All the past code should work as before (no API change required)
I renamed the enum member EXTERN to EXTERNAL. For consistency, I also
renmaed INTERN.
The solution is to define them based on the equivalent rp2040 constants
until I find a way to make it compatible, it is disabled when compling
for rp2040. Problem is that SPIClass and SPISettings are not defined,
SPI seems to work somewhat differently in rp2040
Issue #46: motor.command() and CRLF
@XieMaster XieMaster merged commit 6622346 into XieMaster:master Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants