mit-acl / deep_panther

BSD 3-Clause "New" or "Revised" License
52 stars 10 forks source link

Jannes #6

Closed janneshb closed 8 months ago

janneshb commented 11 months ago

This PR in the imitation repo is directly related to this PR

This PR introduces a new structure to some of the repositories features and also some new functionality. The original intention was to allow for the deep_panther expert (ExpertPolicy.py) to be used without the catkin build system.

For this reason, utility functions on the C++ side (panther/include and panther/src) were split into separate files ros_utils and ros_timer for specific ROS utilities and utils and timer for features not dependent on ROS. Includes were adjusted so that ROS specific functionalities are now only included when absolutely necessary.

The same was done on the Python side. Utilities were split into separate files to allow for more precise import statements and reduce overhead.

This now allows us to use the expert as a standalone library. An example on how this can be done can be found here.

New functionalities that were added are:

Also we switched from gym to gymnasium.