Simulate a Cube over gRPC#

Author a cube locally and simulate it with a standalone OV SIM gRPC server.

Metadata#

  • Stable ID: falling_cube_ovsim.simulate_cube_grpc.

  • Example type: Sequence step.

  • Entry point: main.py.

  • Source directory: source/examples/series/falling_cube_ovsim/simulate_cube_grpc.

  • Languages: Python.

  • APIs: isaacsim.ovsim.api, isaacsim.ovsim.servers.grpc.

  • Topics: gRPC, physics, USD.

  • Required distributions: isaacsim_ovsim.

  • Series: Falling Cube (OV SIM API) (Sequence).

  • Level: intermediate.

  • Series position: 3.

  • Required system capabilities: python.

About this example#

This example authors a cube locally, sends the stage to an OV SIM gRPC server, and advances the remote simulation.

Run the example#

First, follow the server setup instructions to configure PATH and start the server. Keep that terminal open. In a second terminal, use the runner described in Build and run examples with these arguments:

run falling_cube_ovsim.simulate_cube_grpc -- --endpoint 127.0.0.1:50051

Stop the server with Ctrl+C when finished.

More in this sequence#

Previous: Simulate a Cube.