Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 22, 2025

  • Analyze current encoder handling in main.cpp
  • Add tracking of last encoder position and timestamp for speed calculation
  • Implement logarithmic speed multiplier based on Superfok's approach
  • Integrate variable speed into HandleHandController() function
  • Test the implementation (logic verified with test program)
  • Document the changes in README
  • Merge latest dev branch with ESP32Encoder library updates and API fixes
Original prompt

This section details on the original issue you should resolve

<issue_title>Variable speed</issue_title>
<issue_description>Migrate functionality from https://github.com/semenmiroshnichenko/Superfok in order to have a encoder:motor relation related on the speed of the encoder rotation (fast rotations->more steps per encoder step)</issue_description>

Comments on the Issue (you are @copilot in this section)

Fixes #5


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Migrate encoder motor relation functionality for variable speed Implement variable speed encoder control with logarithmic speed multiplier Oct 22, 2025
Copilot AI requested a review from simonachmueller October 22, 2025 15:08
@simonachmueller
Copy link
Owner

@copilot merge latest dev and try again

Copy link
Contributor Author

Copilot AI commented Oct 22, 2025

@copilot merge latest dev and try again

Merged latest dev branch successfully. The merge includes ESP32Encoder library update to v0.11.7 and API fix (puType::up). Commit: a9b2705

@simonachmueller
Copy link
Owner

Needs testing in hardware

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.

Variable speed

2 participants