Skip to content

Commit

Permalink
Remove pybullet options whitespace (#44)
Browse files Browse the repository at this point in the history
Co-authored-by: Quentin GALLOUÉDEC <gallouedec.quentin@gmail.com>
  • Loading branch information
jonasreiher and qgallouedec authored Dec 7, 2022
1 parent eea437f commit c0cb4b0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions panda_gym/pybullet.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ class PyBullet:
def __init__(self, render: bool = False, n_substeps: int = 20, background_color: Optional[np.ndarray] = None) -> None:
background_color = background_color if background_color is not None else np.array([223.0, 54.0, 45.0])
self.background_color = background_color.astype(np.float32) / 255
options = "--background_color_red={} \
--background_color_green={} \
--background_color_blue={}".format(
options = "--background_color_red={} --background_color_green={} --background_color_blue={}".format(
*self.background_color
)
self.connection_mode = p.GUI if render else p.DIRECT
Expand Down

0 comments on commit c0cb4b0

Please sign in to comment.