Page 1 of 1

Pointers on how to implement Teleop interface

Posted: 29 Feb 2024, 17:36
by gregor_ws
Hi,
I'm currently trying to implement a teleop interface to integrate to RLBench. For the moment, I'm struggling to find a way to capture keyboard events and respond to them in the simulation. Is there an way to achieve this? For the moment I'm basically trying to use the directional keys to make a cube move in a scene and then build from there to the teleop thing. The approach that I find so far is to make a plugin and use SDL to capture keyboard events, similar to the simExtJoystick plugin.

Thanks in advance for your suggestions,
Wilbert.

Re: Pointers on how to implement Teleop interface

Posted: 29 Feb 2024, 18:13
by fferri
Hi,

have you seen this topic https://forum.coppeliarobotics.com/view ... hp?p=40053 ?

For a better control on keyboard events (or any other type of input events) you may want to write a plugin, e.g. using Qt, SDL, etc.

Re: Pointers on how to implement Teleop interface

Posted: 02 Mar 2024, 03:08
by gregor_ws
Hi fferri,

Thanks for your response. I did look at that post, and indeed it seems that I'll have to implement a plugin, similar to simExtJoystick.

Best,
Wilbert