robotlearn / pyrobolearn

PyRoboLearn: a Python framework for Robot Learning
Apache License 2.0
402 stars 62 forks source link

Difference between Pybullet and Pyrobolearn simulator #42

Closed deepakraina99 closed 4 years ago

deepakraina99 commented 4 years ago

I have recently started using PyRoboLearn. I used to load collision shape in Pybullet as:

import pybullet as p
p.createVisualShape(shape, radius=radius, length=length, rgbaColor=[0.8, 0.6, 0.4, 1], specularColor=specular_color, visualFramePosition=position_offset, visualFrameOrientation=orientation)

It has many arguments that are not available in PyRoboLearn. It only provides a few arguments.

sim = Bullet()
create_visual_shape(sim.GEOM_CAPSULE, radius=radius, length=height/2., rgba_color=color)

How can I use other arguments in PyRoboLearn which are available in PyBullet?