Pointers on how to implement Teleop interface

Typically: "How do I... ", "How can I... " questions
Post Reply
gregor_ws
Posts: 5
Joined: 21 Nov 2023, 16:41

Pointers on how to implement Teleop interface

Post 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.

fferri
Posts: 1230
Joined: 09 Sep 2013, 19:28

Re: Pointers on how to implement Teleop interface

Post 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.

gregor_ws
Posts: 5
Joined: 21 Nov 2023, 16:41

Re: Pointers on how to implement Teleop interface

Post 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

Post Reply