introlab / opentera-webrtc-teleop-frontend

OpenTera VUE3.js Frontend to be used with opentera-webrtc signaling server (local or on the Internet)
Apache License 2.0
4 stars 1 forks source link

Keyboard teleop publishing frequency slow for first message sent #25

Closed JeremieBourque1 closed 2 years ago

JeremieBourque1 commented 2 years ago

The first message sent when using the keyboard arrows to teleoperate the robot has a longer pause than the following messages. This causes an issue with the twist multiplexer because the delay is long enough to fall back to the zero twist publisher causing a jitter in the robots movement at the start. The problem also appears if we press a second arrow key while still pressing the first one.

We want the publishing rate to always be the same.

JeremieBourque1 commented 2 years ago

Fixed