open-dynamic-robot-initiative / robot_properties_solo

BSD 3-Clause "New" or "Revised" License
40 stars 20 forks source link

Solo12 wrapper: Make slider reading work when using p.DIRECT instead of p.GUI #39

Closed jviereck closed 3 years ago

jviereck commented 3 years ago

Turns out when running the bullet simulator without GUI, reading the slider values from the GUI yields an exception. As a workaround, I am listening for an exception and if one occurred, I just return a zero slider value.