# .5sec delay with URBasic RTDE library

**URL:** <https://forum.universal-robots.com/t/5sec-delay-with-urbasic-rtde-library/39001>\
**Category:** 3rd party tools\
**Created:** [March 12, 2025, 4:43pm UTC](https://forum.universal-robots.com/t/5sec-delay-with-urbasic-rtde-library/39001 "2025-03-12T16:43:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hh940](https://avatars.discourse-cdn.com/v4/letter/h/48db29/32.png) [@hh940](https://forum.universal-robots.com/u/hh940)\
**Post date:** [March 12, 2025, 4:43pm UTC](https://forum.universal-robots.com/t/5sec-delay-with-urbasic-rtde-library/39001/1 "2025-03-12T16:43:50Z")

</div>

Hi , I’m using the URBasic library ([GitHub - Mandelbr0t/UniversalRobot-Realtime-Control: A Fork of https://bitbucket.org/RopeRobotics/ur-interface/src. I reduced the code to the absolute minimum needed for executing commands and added an option for real-time Control of a UR Robot.](https://github.com/Mandelbr0t/UniversalRobot-Realtime-Control/tree/master)) to try and establish real time control of a UR5 robot. I want to be able to send a live stream of target TCP positions generated by a keyboard, or xbox controller, or VR controller. There is about a .5 second delay between my pressing a key or stopping pressing a key and the robot moving, and I’m stuck on trying to figure out why. Here is the python script that I’m running: [HRC\_WELDING/MRE.py at main · horatioh13/HRC\_WELDING · GitHub](https://github.com/horatioh13/HRC_WELDING/blob/main/MRE.py)  
I’m new to python and to robotics, and any help would be appriciated!
