Servo tuning & keyboard repeat: a warning!
- TangentAudio
- Offline
- Senior Member
Less
More
- Posts: 74
- Thank you received: 19
19 May 2024 12:57 #300961
by TangentAudio
Servo tuning & keyboard repeat: a warning! was created by TangentAudio
Something to keep in mind when you think you're going to lose your mind!
I spent a number of hours yesterday working on servo tuning and I wasted time with something I didn't expect. I kept seeing glitching in my f-error that I couldn't explain. After checking for mechanical issues (belt slip, loose mounts, etc.), on a whim I happened to try some moves from the MDI - and surprise, no more random glitching!
Long story short, it turns out key repeat was causing problems. It's easy to 'fix' by issuing an xset -r command to disable key repeat. There are other approaches as well, a forum search will turn up a few threads.
Here's what I was seeing with key repeat enabled. You can see the spikes in the velocity command. It really wreaks havoc on the f-error.
And when it's disabled, no more random glitches. Terrible servo tuning, but no glitches!
I spent a number of hours yesterday working on servo tuning and I wasted time with something I didn't expect. I kept seeing glitching in my f-error that I couldn't explain. After checking for mechanical issues (belt slip, loose mounts, etc.), on a whim I happened to try some moves from the MDI - and surprise, no more random glitching!
Long story short, it turns out key repeat was causing problems. It's easy to 'fix' by issuing an xset -r command to disable key repeat. There are other approaches as well, a forum search will turn up a few threads.
Here's what I was seeing with key repeat enabled. You can see the spikes in the velocity command. It really wreaks havoc on the f-error.
And when it's disabled, no more random glitches. Terrible servo tuning, but no glitches!
Attachments:
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19196
- Thank you received: 6434
19 May 2024 23:00 #300976
by tommylight
Replied by tommylight on topic Servo tuning & keyboard repeat: a warning!
Seeing this i have to consider myself really lucky, even once i had this issue it was in my shop during some random testing!
Thank you for reporting this, have to keep in mind in case i ever see such f-error.
Thank you for reporting this, have to keep in mind in case i ever see such f-error.
The following user(s) said Thank You: TangentAudio
Please Log in or Create an account to join the conversation.
- TangentAudio
- Offline
- Senior Member
Less
More
- Posts: 74
- Thank you received: 19
19 May 2024 23:36 #300980
by TangentAudio
Think it's worth pinning or adding to one of the servo tuning guides on the wiki?
Replied by TangentAudio on topic Servo tuning & keyboard repeat: a warning!
Seeing this i have to consider myself really lucky, even once i had this issue it was in my shop during some random testing!
Thank you for reporting this, have to keep in mind in case i ever see such f-error.
Think it's worth pinning or adding to one of the servo tuning guides on the wiki?
Please Log in or Create an account to join the conversation.
Time to create page: 0.130 seconds