#!/usr/bin/env python

import argparse

from pybullet_zmq.simulator import PyBulletZmqWrapper

if __name__ == "__main__":
    parser = argparse.ArgumentParser(description="Start PyBullet simulation with ZMQ interface.")
    parser.add_argument("-c", "--config-file", type=str, default="franka_config.yaml",
                        help="Configuration file for the simulation (default: franka_config.yaml)")
    args = parser.parse_args()

    wrapper = PyBulletZmqWrapper(args.config_file)
    wrapper.start_pybullet_zmq_wrapper()
