Examples

Worked examples, from a first planned action to a tuning study. Three are pages in these docs. The rest are Jupyter notebooks in docs/examples/ of the repository. The docs build does not run notebooks, so they are linked on GitHub, which shows any outputs saved in them.

To run a notebook yourself, install the package from a checkout (see Installation) and open it with Jupyter:

pip install jupyter
jupyter notebook docs/examples/basic_usage.ipynb

Pages

Basic Usage Examples

Plan with POMCP on Tiger, run a full episode and then a batch with statistics, try other environments, compare planners, and draw an episode.

Planners Comparison Study

Compare POMCPOW and PFT-DPW on the Push and Light-Dark problems through the simulation API, with confidence intervals for each pair.

Hyperparameter Tuning

Search a planner’s parameters with Optuna: on one environment and on several, with the predefined search ranges, with risk-averse objectives and categorical parameters, and how to read the results.

Notebooks

basic_usage.ipynb

The plan, act, observe and update loop on Tiger, run_episode, continuous actions on Light-Dark, a visualization, and a minimal custom planner.

belief_representations.ipynb

The three belief types side by side: weighted particles, a Gaussian with linear, extended and unscented Kalman updates, and a Gaussian mixture. Shows what resampling does to the effective sample size.

custom_environment.ipynb

Builds a small Weather POMDP method by method, runs POMCP and PFT-DPW on it, and adds environment metrics. A companion to Create a custom environment.

tree_analysis_debugging.ipynb

Reads the search metrics every MCTS planner returns, prints and plots the search tree, and shows how n_simulations and exploration_constant change it. Ends with a table of common problems and their fixes.

advanced_optimization.ipynb

More tuning: finding the planners and metrics that fit an environment, optimizing several metrics at once, risk-averse objectives, and reading the results table.

planners_comparison.ipynb

The notebook version of Planners Comparison Study, with saved outputs.

isaac_state_and_observation.ipynb

How state and observation are defined for the Isaac Lab tasks, and why the simulator (the world) and the planner’s model are two separate environments. Runs without Isaac Sim. A companion to Realistic and experimental worlds.