Skip to content

Comments

Wallplotter feedrate logic#576

Merged
MitchBradley merged 3 commits intobdring:Devtfrom
forbin1ab:Devt
Sep 6, 2022
Merged

Wallplotter feedrate logic#576
MitchBradley merged 3 commits intobdring:Devtfrom
forbin1ab:Devt

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