C++ with Python Hello World#
Call the public C++ logging API through an example-local Python extension.
Metadata#
Stable ID:
hello_world.cpp_python.Example type: Standalone example.
Entry point:
main.py.Source directory:
source/examples/libraries/isaacsim_common/logging/hello_world/cpp_python.Languages: C++, Python.
APIs:
isaacsim.common.logging.Topics: logging.
Required distributions:
isaacsim_common.Required system capabilities:
cmake,cpp,python,python_development.
Run the example#
Linux:
source/examples/example.sh run hello_world.cpp_python
Windows (PowerShell):
.\source\examples\example.bat run hello_world.cpp_python
See Build and run examples for setup and runner options.
About this example#
main.py calls an example-local Python extension that reports a message through the public
isaacsim.common.logging C++ API.