pybullet を使ってみたので、その時のメモをここに残します。
pybullet
pybullet は、オープンソースの物理演算エンジンです。
pybullet を使えば、Pythonで深層強化学習やロボットシミュレーションが実現できます。
インストール
今回は以下の環境でセットアップを行いました。
% sw_vers ProductName: Mac OS X ProductVersion: 10.15.7 BuildVersion: 19H15 % python --version Python 3.11.4
以下のコマンドでインストールします。
$ pip install pybullet
セットアップ
$ git clone --depth 1 https://github.com/bulletphysics/bullet3 $ cd bullet3/examples/pybullet/examples
サンプル実行
humanoid_manual_control.py
$ python3 humanoid_manual_control.py