Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jannes #6

Merged
merged 32 commits into from
Jan 29, 2024
Merged

Jannes #6

merged 32 commits into from
Jan 29, 2024

Conversation

janneshb
Copy link

@janneshb janneshb commented Nov 17, 2023

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:

  • Introduced support for 2D and 3D by adjusting main.m and passing a dim kwarg to the ExpertPolicy constructor.
  • Returning the total_time of the expert trajectory
  • Returning the trajectory guesses obtained by octopus search

Also we switched from gym to gymnasium.

@janneshb janneshb marked this pull request as ready for review December 19, 2023 15:19
* added `additional_config` to `readPANTHERparams` and
  `getPANTHERparamsAsCppStruct` to support overwriting parameters loaded
  from `panther.yaml`
@jtorde jtorde changed the base branch from master to develop January 29, 2024 09:30
@jtorde jtorde changed the base branch from develop to master January 29, 2024 09:33
@jtorde jtorde changed the base branch from master to develop January 29, 2024 09:36
@jtorde jtorde merged commit 16d34eb into mit-acl:develop Jan 29, 2024
@jtorde jtorde mentioned this pull request Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants