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

Wallplotter feedrate logic #576

Merged
merged 3 commits into from
Sep 6, 2022
Merged

Wallplotter feedrate logic #576

merged 3 commits into from
Sep 6, 2022

Conversation

forbin1ab
Copy link
Contributor

Finally got around to fixing feed rate logic in wallplotter kinematics so that feedrates in cartesian space are segmented and translated into kinematic space. Also fixed segmentation bug where only one axis was being used for determining segmentation amount.
Also uncovered problem with the way PWM/Servo pulses were being generated under ESP32. This involved changes to convert logic to 32bit for the speedmap in the BESC code. I have tried two different methods for the speedmap. One involves doing 64 bit math on the entire PWM period speedmap. The other involves using the speed map logic on just the portion of the pulse that is changing in the servo pulse which is less intuitive, but more efficient as it only involves 32 bit math. Both work. I have run the wallplotter successfully with both methods and verified waveforms on oscilloscope for both. Sticking with 64 bit version for now as it is clearer????

@forbin1ab forbin1ab changed the title Devt Wallplotter feedrate logic Aug 20, 2022
@MitchBradley MitchBradley merged commit 491e66f into bdring:Devt Sep 6, 2022
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.

2 participants