-
I configured the DISPLAY environment variable to forward graphics to my local PC and used MobaXterm with X server enabled for graphical rendering. then I connect the workstation with ssh to run genesis demo. demo: import genesis as gs
gs.init(backend=gs.gpu)
scene = gs.Scene(
show_viewer=True,
show_FPS=True,
viewer_options=gs.options.ViewerOptions(
camera_pos=(3.5, 0.0, 2.5),
# camera_up=(0.0, 0.0, 1.0),
camera_lookat=(0.0, 0.0, 1.0),
camera_fov=40,
),
sim_options=gs.options.SimOptions(
dt=0.01,
gravity=(0, 0, -9.8),
),
)
plane = scene.add_entity(gs.morphs.Plane())
franka = scene.add_entity(
gs.morphs.MJCF(
file='xml/franka_emika_panda/panda.xml',
pos=(0.0, 0.0, 1.0),
euler=(0, 0, 0),
scale=1.0
),
)
scene.build()
while True:
scene.step() Ubuntu 22.04 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I tried VNC remote desktop(tigerVNC) but the issue still exists |
Beta Was this translation helpful? Give feedback.
-
Are you using the main branch of Genesis ? |
Beta Was this translation helpful? Give feedback.
Are you using the main branch of Genesis ?