-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[gym] Fix 'step' observation not consistent with system state. (#230)
* [core] Add 'PRINT_WARNING' macro, to print debug message when compiling in debug mode only. * [core] Update sensors data at the end of 'step' for consistency with robot state. * [python] Replace 'BaseJiminyController' controller by 'BaseJiminyObserverController' to add dedicated observer support. * [gym] Controller/observer blocks must be fully configured at init. Block '_setup' is now called at 'reset'. * [gym] Fix observe/control update period computed at init instead of reset. * [gym] Take advantage of new dedicated observer. * [gym] 'get_observation' recursively shadow-copy observation before returning it to avoid altering original data structure. * [gym] Rename '*DictRecursive' in '*DictNested' for clarity. * [gym] Add frame stacking pipeline block and wrapper. * [gym] Rework pipeline builder to be more flexible. * [gym] Update '_action' buffer to match lastest 'compute_command' call. Co-authored-by: Alexis Duburcq <[email protected]>
- Loading branch information
Showing
21 changed files
with
764 additions
and
570 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.